Re: problem while mounting an LVM

2010-10-04 Thread Serge E. Hallyn
Quoting Tapas Mishra (mightydre...@gmail.com): > On Mon, Oct 4, 2010 at 8:37 PM, Serge E. Hallyn > wrote: > snip. > > so fuseblk is what is actually returning -EBUSY. > >What kind of fs is actually on nintendo-backupos? > When I used cfdisk to create filesystem on it I created two partitio

Re: problem while mounting an LVM

2010-10-04 Thread Tapas Mishra
On Mon, Oct 4, 2010 at 8:37 PM, Serge E. Hallyn wrote: snip. > so fuseblk is what is actually returning -EBUSY. >What kind of fs is actually on nintendo-backupos? When I used cfdisk to create filesystem on it I created two partitions type 83 was big size and type 82 was swap space. >Are t

Re: problem while mounting an LVM

2010-10-04 Thread Serge E. Hallyn
Quoting Tapas Mishra (mightydre...@gmail.com): > 20525 stat("/sbin/mount.fuseblk", 0x7fff0dd22560) = -1 ENOENT (No such > file or directory) > 20525 mount("/dev/mapper/nintendo-backupos", "/mnt/backup/", > "fuseblk", MS_MGC_VAL, NULL) = -1 EBUSY (Device or resource busy) so fuseblk is what is actu

Re: problem while mounting an LVM

2010-10-04 Thread Tapas Mishra
On Mon, Oct 4, 2010 at 7:16 PM, Serge E. Hallyn wrote: > Hm, interesting.  How about the contents of outout after doing: > >        strace -f -ooutout mount /dev/mapper/nintendo-backupos /mnt/backup > I got on terminal mount: /dev/mapper/nintendo-backupos already mounted or /mnt/backup/ busy and

Re: problem while mounting an LVM

2010-10-04 Thread Tapas Mishra
On Mon, Oct 4, 2010 at 6:36 PM, Serge E. Hallyn wrote: > Well, it's possible that you have it mounted in another namespace. > Can you provide output of: > > 1. ls -l /mnt/backup ls -l /mnt/backup/ total 0 >        (make sure that directory exists :) > 2. ls -l /dev/mapper crw-rw 1 root ro

problem while mounting an LVM

2010-10-04 Thread Tapas Mishra
I am trying to mount an LVM mount /dev/nintendo/backupos /mnt/backup/ mount: /dev/mapper/nintendo-backupos already mounted or /mnt/backup/ busy where as if I do umount /mnt/backup then umount: /mnt/backup/: not mounted So what might be wrong? -- ubuntu-server mailing list ubuntu-server@lists.ubu

Re: problem while mounting an LVM

2010-10-04 Thread Serge E. Hallyn
Well, it's possible that you have it mounted in another namespace. Can you provide output of: 1. ls -l /mnt/backup (make sure that directory exists :) 2. ls -l /dev/mapper 3. cat /proc/self/mountinfo 4. cat /proc/self/mounts 5. cat /proc/1/mountinfo 6. cat /proc/1/mounts thanks, -serge Q

Re: problem while mounting an LVM

2010-10-04 Thread Tapas Mishra
mount output is /dev/sda1 on / type ext4 (rw,errors=remount-ro) proc on /proc type proc (rw,noexec,nosuid,nodev) none on /sys type sysfs (rw,noexec,nosuid,nodev) none on /sys/fs/fuse/connections type fusectl (rw) none on /sys/kernel/debug type debugfs (rw) none on /sys/kernel/security type security

Re: problem while mounting an LVM

2010-10-04 Thread Serge E. Hallyn
Quoting Tapas Mishra (mightydre...@gmail.com): > On Mon, Oct 4, 2010 at 6:36 PM, Serge E. Hallyn > wrote: > > Well, it's possible that you have it mounted in another namespace. > > Can you provide output of: Hm, interesting. How about the contents of outout after doing: strace -f -oouto