Re: [linux-lvm] HELP: vgscan segfaults

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

 



listenmann@elrond.lohmann-services.de (Peter Lohmann) writes:

> root@tty1[/]# vgscan -v
> vgscan -- removing "/etc/lvmtab" and "/etc/lvmtab.d"
> vgscan -- creating empty "/etc/lvmtab" and "/etc/lvmtab.d" 
> vgscan -- reading all physical volumes (this may take a while...)
> vgscan -- scanning for all active volume group(s) first
> vgscan -- reading data of volume group "myvg" from physical volume(s)
> Segmentation fault

  I've seen this recently as well.  on my end there were some issues
  with a PV getting lost.  the problem in my end was that the
  partition table of a drive was lost somehow, and without a partition
  table you don't get any PVs.  :-)

  I recreated the partitontable (fdisk), recreated the PV on it
  (pvcreate) and added the PV to the appropriate VG (vgextend).  this
  happily enough didn't touch the data on the drive, so the LVs that
  resided on the readded drive where found and worked as normal
  afterwards.  

-- 
Terje

_______________________________________________
linux-lvm mailing list
linux-lvm@sistina.com
http://lists.sistina.com/mailman/listinfo/linux-lvm
read the LVM HOW-TO at http://tldp.org/HOWTO/LVM-HOWTO/

[Index of Archives]     [Gluster Users]     [Kernel Development]     [Linux Clusters]     [Device Mapper]     [Security]     [Bugtraq]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]

  Powered by Linux