LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Ubuntu (https://www.linuxquestions.org/questions/ubuntu-63/)
-   -   LoopO dev will not mount (https://www.linuxquestions.org/questions/ubuntu-63/loopo-dev-will-not-mount-679136/)

BashTin 10-26-2008 07:24 AM

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.

tredegar 10-26-2008 12:02 PM

What are you trying to do?
Why are you trying to mount /dev/loop at /mnt/backup ?

BashTin 10-26-2008 05:41 PM

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.


All times are GMT -5. The time now is 11:00 AM.