Am 03.09.2010 01:05, schrieb Tim Nowaczyk:

> The logic of the amlvm-snapshot script is not lining up with your
> system.  Your mtab is the same as what lvdisplay shows, while my system
> has what the script is expecting; the lvdisplay entry is a symlink to
> the mtab entry.

lvdisplay:
/dev/VG02/amdle:VG02:3:1:-1:1:10485760:1280:-1:0:-1:253:7

mtab:
/dev/mapper/VG02-amdle /mnt/amdle xfs rw 0 0

# readlink /dev/mapper/VG02-amdle
../dm-7

# readlink /dev/VG02/amdle
../dm-7

As far as I got, the subroutine scan_mtab should return the
"real_device" the links point to, correct?

If it always works with the underlying device it should work everywhere.

Unfortunately I don't get that subroutine to return that correctly, oh
my, how bad I am with perl.

Still fiddling ...

S

Reply via email to