Ok, forgive me I am fairly new to LV's, it was part of the RHCE test but I have never really had to use them until I started using a SAN and Xen. No more losetup! [root@wdcxen1 ~]# mount -t xfs -o loop,ro,noatime,nodev,nofsck ~/wdcdns1.img /mnt/tmp/ mount: wrong fs type, bad option, bad superblock on /dev/loop0, missing codepage or other error In some cases useful info is found in syslog - try dmesg | tail or so tail /var/log/messages Nov 14 10:44:50 wdcxen1 kernel: XFS: unknown mount option [nofsck]. [root@wdcxen1 ~]# modprobe -l | grep xfs /lib/modules/2.6.18-92.1.13.el5xen/kernel/fs/freevxfs/freevxfs.ko /lib/modules/2.6.18-92.1.13.el5xen/extra/xfs/xfs.ko --- Chris Edwards > -----Original Message----- > From: linux-lvm-bounces@redhat.com [mailto:linux-lvm- > bounces@redhat.com] On Behalf Of Jonathan Brassow > Sent: Friday, November 14, 2008 11:37 AM > To: LVM general discussion and development > Subject: Re: Moving Xen LV to image and mounting the image. > > > On Nov 14, 2008, at 10:02 AM, Chris Edwards wrote: > > > installed the xfs module with yum and then deleted all the loopback > > devices with losetup -d and started over again... > > > > [root@wdcxen1 ~]# losetup -a > > [root@wdcxen1 ~]# losetup /dev/loop0 /root/wdcdns1.img > > [root@wdcxen1 ~]# losetup -a > > /dev/loop0: [0807]:14876937 (/root/wdcdns1.img) > > [root@wdcxen1 ~]# mount -t xfs -o loop,ro,noatime,nodev,nofsck ~/ > > wdcdns1.img /mnt/tmp/ > > Stop doing that! :) When you run 'mount' with '-o loop' it sets up > the loop device for you. There is no reason to create the loop device > ahead of time. > > > mount: wrong fs type, bad option, bad superblock on /dev/loop1, > > missing codepage or other error > > In some cases useful info is found in syslog - try > > dmesg | tail or so > > Did you try checking syslog? > > Also, if you are trying to mount the original device and the loop back > device at the same time, xfs will complain about conflicting UUIDs. > If that's what syslog says is going on, and you really want to mount > the same file system (one from the original device and one from the > loopback), then you will need to use the mount option 'nouuid'. > > brassow > > _______________________________________________ > linux-lvm mailing list > linux-lvm@redhat.com > https://www.redhat.com/mailman/listinfo/linux-lvm > read the LVM HOW-TO at http://tldp.org/HOWTO/LVM-HOWTO/ _______________________________________________ linux-lvm mailing list linux-lvm@redhat.com https://www.redhat.com/mailman/listinfo/linux-lvm read the LVM HOW-TO at http://tldp.org/HOWTO/LVM-HOWTO/