[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

[Woody] Mounting LVM-snapshots with ext3 + ACL + user_xattr-Patch



Dear all,


I am using a Woody system, running a Vanilla 2.4.23 kernel from 
ftp.kernel.org and the ACL+XATTR-Patch vom acl.bestbits.at.

Working with ext3 and ACLs on a logical volume works fine, fast and
stable. But I have some troubles mounting a snapshot of a live lvm-
volume named /dev/RAID5/TEMP:

fsb01:~# mount | grep TEMP
/dev/RAID5/TEMP on /mnt/berlin/TEMP type ext3 (rw,acl,user_xattr)

To create a snapshot I used:

fsb01:~# lvcreate --size 250m --snapshot --name TEMP1500 /dev/RAID5/TEMP
[... snipped ...]
lvcreate -- logical volume "/dev/RAID5/TEMP1500" successfully created

The special device has been successfully created:

fsb01:~# ls -la /dev/RAID5/TEMP1500
brw-rw----    1 root     disk      58,   9 Jan  5 15:20 /dev/RAID5/TEMP1500

However, mounting this snapshot fails:

fsb01:~# mount -o ro /dev/RAID5/TEMP1500 /mnt/berlin/Snapshots/TEMP
mount: wrong fs type, bad option, bad superblock on /dev/RAID5/TEMP1500,
       or too many mounted file systems

Followed the discussion on RedHat Bugzilla
(https://bugzilla.redhat.com/bugzilla/show_bug.cgi?id=88115)
I tried to specify a superblock using the mount-options

  -o ro,sb=32768 and
  -o ro,sb=819200

but failed also. Both superblock copies are identical to /dev/RAID5/TEMP.
An additional "-t ext3" failed also.

Any help for snapshoting and mounting of a live LVM-systems together
with ACLs are highly welcome.

Thanks, Oliver
--
pro|business Berlin AG                  oschade@probusiness.de
Potsdamer Platz 11                      http://www.probusiness.de/
10785 Berlin                            Tel: +49 030 259 378-0
Germany                                 Fax: +49 030 259 378-22



Reply to: