* [linux-lvm] live lock?
@ 2005-06-30 21:42 Ming Zhang
2005-07-01 14:12 ` AJ Lewis
0 siblings, 1 reply; 3+ messages in thread
From: Ming Zhang @ 2005-06-30 21:42 UTC (permalink / raw)
To: LVM general discussion and development
[-- Attachment #1: Type: text/plain, Size: 745 bytes --]
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"
Ming
[-- Attachment #2: This is a digitally signed message part --]
[-- Type: application/pgp-signature, Size: 189 bytes --]
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: [linux-lvm] live lock?
2005-06-30 21:42 [linux-lvm] live lock? Ming Zhang
@ 2005-07-01 14:12 ` AJ Lewis
2005-07-01 14:20 ` Ming Zhang
0 siblings, 1 reply; 3+ messages in thread
From: AJ Lewis @ 2005-07-01 14:12 UTC (permalink / raw)
To: mingz, LVM general discussion and development
[-- Attachment #1: Type: text/plain, Size: 1375 bytes --]
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 #2: Type: application/pgp-signature, Size: 189 bytes --]
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: [linux-lvm] live lock?
2005-07-01 14:12 ` AJ Lewis
@ 2005-07-01 14:20 ` Ming Zhang
0 siblings, 0 replies; 3+ messages in thread
From: Ming Zhang @ 2005-07-01 14:20 UTC (permalink / raw)
To: AJ Lewis; +Cc: LVM general discussion and development
[-- Attachment #1: Type: text/plain, Size: 415 bytes --]
On Fri, 2005-07-01 at 09:12 -0500, AJ Lewis wrote:
> On Thu, Jun 30, 2005 at 05:42:27PM -0400, Ming Zhang wrote:
> 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')
>
seems i am pretty cool. :P
i dare not to do this because this one running oracle database now. no
fix if not broken.
ming
[-- Attachment #2: This is a digitally signed message part --]
[-- Type: application/pgp-signature, Size: 189 bytes --]
^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2005-07-01 14:20 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2005-06-30 21:42 [linux-lvm] live lock? Ming Zhang
2005-07-01 14:12 ` AJ Lewis
2005-07-01 14:20 ` Ming Zhang
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).