[linux-lvm] LVM 1: Snapshot causes seg fault of lvdisplay and crashes system

Ken Fuchs kfuchs at winternet.com
Sat Feb 14 01:05:00 UTC 2004


I did the following to create a snapshot of an active filesystem to try
to make a consistent copy of it:

# lvcreate --extents 30 --snapshot --name home2snap /dev/sys/home2gb
...
lvcreate -- INFO: using default snapshot chunk size of 64 KB for "/dev/sys/home\
2snap"
lvcreate -- doing automatic backup of "sys"
lvcreate -- logical volume "/dev/sys/home2snap" successfully created

# lvdisplay /dev/sys/home2gb
--- Logical volume ---
LV Name                /dev/sys/home2gb
VG Name                sys
LV Write Access        read/write
LV snapshot status     source of
                       /dev/sys/home2snap [active]
Segmentation fault
# lvdisplay /dev/sys/home2gb
--- Logical volume ---
LV Name                /dev/sys/home2gb
VG Name                sys
LV Write Access        read/write
LV snapshot status     source of
                       /dev/sys/home2snap [active]
Segmentation fault
ecstasy:/#

<At this point I lost my remote connection to the machine and presume it
crashed; it probably didn't reboot, since subsequent attempts to
reconnect via ssh failed and ping failed as well.>

The kernel is probably 1.0.3 (Debian SPARC sun4u 2.4.21 up) and the lvm
tools are 1.0.8.

Any suggestions for avoiding these seg faults and the system crash?

Sincerely,

Ken Fuchs <kfuchs at winternet.com>




More information about the linux-lvm mailing list