Re: Can't find physical volume / vgcfgrestore not helping

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

 



On Wed, Mar 16, 2005 at 10:30:42AM -0500, Bryan Ragon wrote:
> # fdisk -l /dev/hdb
> /dev/hdb1               1       14593   117218241   83  Linux
 
> (Is that a proper Id? Plus, looking at my media_vg backup, I don't believe
> there should be a partition because the hint is /dev/hdb, not /dev/hdb1)
 
>                         device = "/dev/hdb"     # Hint only

Chances are you didn't remove the partition table before using
the entire unpartitioned device as a physical volume,
or ran pvcreate on /dev/hdb when you intended to use hdb1.

(Recent lvm2 versions of pvcreate handle this better.)

Try removing the partition table.

[eg delete the partition with fdisk/parted, or write 512 zero bytes 
to the start of /dev/hdb - back it up first - and run blockdev --rereadpt]

Alasdair
-- 
agk@redhat.com

_______________________________________________
linux-lvm mailing list
linux-lvm@redhat.com
https://www.redhat.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