Re: live lock?

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

 



On Thu, Jun 30, 2005 at 05:42:27PM -0400, Ming Zhang wrote:
> i now met a PV that can not add or remove from a VG. i now do not know
> if it belongs to vg1 at all.
> 
> 
> [root@gs_lan root]# pvscan
> pvscan -- reading all physical volumes (this may take a while...)
> pvscan -- ACTIVE   PV "/dev/sda3" of VG "vg1" [102.64 GB / 60.28 GB
> free]
> pvscan -- inactive PV "/dev/sdb1" of VG "vg1" [137.78 GB / 129.97 GB
> free]
> pvscan -- total: 2 [240.44 GB] / in use: 2 [240.44 GB] / in no VG: 0 [0]
> 
> [root@gs_lan root]# vgreduce vg1 /dev/sdb1
> vgreduce -- physical volume "/dev/sdb1" doesn't belong to volume group
> "vg1"
> 
> [root@gs_lan root]# vgcreate vg2 /dev/sdb1
> vgcreate -- "/dev/sdb1" is not a new physical volume
> vgcreate -- physical volume "/dev/sdb1" already belongs to volume group
> "vg1"

Looks like you managed to get two VGs with the name vg1 on your system.  do a
vgrename and see if you can access the inactive one.  ('vgrename vg1 vg2')

-- 
AJ Lewis                                   Voice:  612-638-0500
Red Hat Inc.                               E-Mail: alewis@redhat.com
One Main Street SE, Suite 209
Minneapolis, MN 55414
   
Current GPG fingerprint = D9F8 EDCE 4242 855F A03D  9B63 F50C 54A8 578C 8715
Grab the key at: http://people.redhat.com/alewis/gpg.html or one of the
many keyservers out there...

Attachment: pgpbI01IVhPKS.pgp
Description: PGP signature

_______________________________________________
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