LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Ubuntu
User Name
Password
Ubuntu This forum is for the discussion of Ubuntu Linux.

Notices


Reply
  Search this Thread
Old 10-26-2008, 07:24 AM   #1
BashTin
Member
 
Registered: May 2003
Location: West Midlands, United Kingdom.
Distribution: Slackware 14.1, Centos 7
Posts: 278

Rep: Reputation: 32
LoopO dev will not mount


Hi all.

this is beginning to get to me. What am I doing wrong, if anything?

root@TUXBOX:~#mkdir /mnt/backup
root@TUXBOX:~# mount /dev/loop0 /mnt/backup
returns...... "mount: you must specify the filesystem type"

ok then, how about
root@TUXBOX:~# mount -t reiserfs /dev/loop0 /mnt/backup
returns........
Code:
mount: wrong fs type, bad option, bad superblock on /dev/loop0,
       missing codepage or helper program, or other error
       (could this be the IDE device where you in fact use
       ide-scsi so that sr0 or sda or so is needed?)
       In some cases useful info is found in syslog - try
       dmesg | tail  or so
or this
Code:
losetup /dev/loop0
loop: can't get info on device /dev/loop0: No such device or address
interestingly ls -al shows....
Code:
root@TUXBOX:~# ls -al /dev/loop*
brw-rw---- 1 root disk 7, 0 2008-10-26 12:43 /dev/loop0
brw-rw---- 1 root disk 7, 1 2008-10-26 12:43 /dev/loop1
brw-rw---- 1 root disk 7, 2 2008-10-26 12:43 /dev/loop2
brw-rw---- 1 root disk 7, 3 2008-10-26 12:43 /dev/loop3
brw-rw---- 1 root disk 7, 4 2008-10-26 12:43 /dev/loop4
brw-rw---- 1 root disk 7, 5 2008-10-26 12:43 /dev/loop5
brw-rw---- 1 root disk 7, 6 2008-10-26 12:43 /dev/loop6
brw-rw---- 1 root disk 7, 7 2008-10-26 12:43 /dev/loop7
However loop does not show in /proc/filesystems
The loop module is loaded too.

I am using Ubuntu 7.10 Gutsy Gibbon
mount (util-linux-ng 2.13)

So is it me or is it 'it'??

Really appreciate any help, as always, BashTin.
 
Old 10-26-2008, 12:02 PM   #2
tredegar
LQ 5k Club
 
Registered: May 2003
Location: London, UK
Distribution: Fedora38
Posts: 6,147

Rep: Reputation: 435Reputation: 435Reputation: 435Reputation: 435Reputation: 435
What are you trying to do?
Why are you trying to mount /dev/loop at /mnt/backup ?
 
Old 10-26-2008, 05:41 PM   #3
BashTin
Member
 
Registered: May 2003
Location: West Midlands, United Kingdom.
Distribution: Slackware 14.1, Centos 7
Posts: 278

Original Poster
Rep: Reputation: 32
hi, I am trying to backup over a network. I wish to use the following commands in a scrip.

Code:
root# mount /dev/loop0 /mnt/backup
root# cd /mnt/backup
root# rm -rf OneBeforeLast
root# cp -al LastBackup OneBeforeLast
root# cd LastBackup
root# rsync -avz --delete root@hosting.machine.in.US:/ ./
Thankyou, BashTin.
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
mount /dev/hdc /dev/cdrom doesn't work ShrikesHarvest Linux - Newbie 10 02-21-2009 07:05 AM
xfe : mount point /dev/.static/dev is not responding frenchn00b Linux - Software 0 10-06-2008 06:12 PM
OpenSUSE x86_64 does not mount /dev/tape (or /dev/st0 or /dev/nst0) yankeeinga Linux - Newbie 6 08-21-2008 12:51 PM
mount /dev/hdc /dev/cdrom doesn't work amandaortega Linux - Hardware 6 12-01-2006 04:48 AM
Mount command says / is mounted from /dev/hda4, but I know its /dev/hda1 trewsfan Linux - Software 2 08-30-2006 10:01 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Ubuntu

All times are GMT -5. The time now is 04:19 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration