[linux-lvm] vgchange segfault

Charles J. Fisher cfisher at rhadmin.org
Fri Dec 9 16:41:26 UTC 2005


I am running CentOS 4, and my lvm partition will no longer mount. I don't
have any backup files that I can use with a vgcfgrestore. Both vgchange
and vgscan terminate with a segmentation violation.

I can still see the contents of the lvm with explore2fs under Windows 
2000. It is on hda4.

I have attached the output of a vgscan below (it was run under rescue 
mode).

Any help is greatly appreciated.


File descriptor 3 left open
File descriptor 4 left open
File descriptor 6 left open
File descriptor 7 left open
File descriptor 8 left open
File descriptor 9 left open
File descriptor 10 left open
File descriptor 11 left open
File descriptor 13 left open
File descriptor 14 left open
File descriptor 17 left open
File descriptor 18 left open
File descriptor 19 left open
File descriptor 20 left open
File descriptor 21 left open
File descriptor 23 left open
#lvmcmdline.c:835 Processing: vgscan -vvvvvvvvv
#lvmcmdline.c:838 O_DIRECT will be used
#config/config.c:778 global/locking_type not found in config: defaulting to 1
#config/config.c:764 global/locking_dir not found in config: defaulting to /var/lock/lvm
#locking/locking.c:137 File-based locking enabled.
#vgscan.c:51 Wiping cache of LVM-capable devices
#device/dev-cache.c:343 /dev/adb: Not a block device
#device/dev-cache.c:343 /dev/agpgart: Not a block device
...
#device/dev-io.c:400 Closed /dev/loop3
#label/label.c:278 <backtrace>
#filters/filter-sysfs.c:250 /dev/md3: Skipping (sysfs)
#device/dev-io.c:369 Opened /dev/hda4 RO
#device/dev-io.c:400 Closed /dev/hda4
#device/dev-io.c:248 /dev/hda4: size is 7663005 sectors
#device/dev-io.c:369 Opened /dev/hda4 RO
#device/dev-io.c:134 /dev/hda4: block size is 512 bytes
#device/dev-io.c:400 Closed /dev/hda4
#filters/filter-composite.c:31 Using /dev/hda4
#device/dev-io.c:369 Opened /dev/hda4 RO
#device/dev-io.c:134 /dev/hda4: block size is 512 bytes
#label/label.c:168 /dev/hda4: lvm2 label detected
#device/dev-io.c:400 Closed /dev/hda4
Segmentation Violation

    ---------------------------------------------------------------------------
   / Charles J. Fisher   | I'm all in favor of keeping dangerous weapons out /
  /  cfisher at rhadmin.org |  of the hands of fools. Let's start with         /
 /   http://rhadmin.org  |  typewriters. --Frank Lloyd Wright              /
---------------------------------------------------------------------------




More information about the linux-lvm mailing list