FAQ Search Today's Posts Mark Forums Read
» Video Reviews

» Linux Archive

Linux-archive is a website aiming to archive linux email lists and to make them easily accessible for linux users/developers.


» Sponsor

» Partners

» Sponsor

Go Back   Linux Archive > Redhat > Red Hat Linux

 
 
LinkBack Thread Tools
 
Old 08-22-2008, 06:38 PM
"unix syzadmin"
 
Default Couldn't find all physical volumes for volume group appvg.

Hi,

This is a RHEL4 U4 x64 server.

# more /etc/redhat-release
Red Hat Enterprise Linux AS release 4 (Nahant Update 4)


We are getting the below error for "vgs" command.
However we are able to access the filesystems created in the volume group
"appvg".

Please suggest.


# vgs
Couldn't find device with uuid 'Z4xoNI-TSvQ-iNZm-acHi-EPMZ-yJR3-qZUOCT'.
Couldn't find all physical volumes for volume group appvg.
Couldn't find device with uuid 'Z4xoNI-TSvQ-iNZm-acHi-EPMZ-yJR3-qZUOCT'.
Couldn't find all physical volumes for volume group appvg.
Couldn't find device with uuid 'Z4xoNI-TSvQ-iNZm-acHi-EPMZ-yJR3-qZUOCT'.
Couldn't find all physical volumes for volume group appvg.
Couldn't find device with uuid 'Z4xoNI-TSvQ-iNZm-acHi-EPMZ-yJR3-qZUOCT'.
Couldn't find all physical volumes for volume group appvg.
Couldn't find device with uuid 'Z4xoNI-TSvQ-iNZm-acHi-EPMZ-yJR3-qZUOCT'.
Couldn't find all physical volumes for volume group appvg.
Couldn't find device with uuid 'Z4xoNI-TSvQ-iNZm-acHi-EPMZ-yJR3-qZUOCT'.
Couldn't find all physical volumes for volume group appvg.
Couldn't find device with uuid 'Z4xoNI-TSvQ-iNZm-acHi-EPMZ-yJR3-qZUOCT'.
Couldn't find all physical volumes for volume group appvg.
Couldn't find device with uuid 'Z4xoNI-TSvQ-iNZm-acHi-EPMZ-yJR3-qZUOCT'.
Couldn't find all physical volumes for volume group appvg.
Couldn't find device with uuid 'Z4xoNI-TSvQ-iNZm-acHi-EPMZ-yJR3-qZUOCT'.
Couldn't find all physical volumes for volume group appvg.
Couldn't find device with uuid 'Z4xoNI-TSvQ-iNZm-acHi-EPMZ-yJR3-qZUOCT'.
*Couldn't find all physical volumes for volume group appvg.
Volume group "appvg" not found*


# pvdisplay
Couldn't find device with uuid 'Z4xoNI-TSvQ-iNZm-acHi-EPMZ-yJR3-qZUOCT'.
Couldn't find device with uuid 'Z4xoNI-TSvQ-iNZm-acHi-EPMZ-yJR3-qZUOCT'.
Couldn't find device with uuid 'Z4xoNI-TSvQ-iNZm-acHi-EPMZ-yJR3-qZUOCT'.
Couldn't find device with uuid 'Z4xoNI-TSvQ-iNZm-acHi-EPMZ-yJR3-qZUOCT'.
Couldn't find device with uuid 'Z4xoNI-TSvQ-iNZm-acHi-EPMZ-yJR3-qZUOCT'.
Couldn't find device with uuid 'Z4xoNI-TSvQ-iNZm-acHi-EPMZ-yJR3-qZUOCT'.
Couldn't find device with uuid 'Z4xoNI-TSvQ-iNZm-acHi-EPMZ-yJR3-qZUOCT'.
Couldn't find device with uuid 'Z4xoNI-TSvQ-iNZm-acHi-EPMZ-yJR3-qZUOCT'.
Couldn't find device with uuid 'Z4xoNI-TSvQ-iNZm-acHi-EPMZ-yJR3-qZUOCT'.
Couldn't find device with uuid 'Z4xoNI-TSvQ-iNZm-acHi-EPMZ-yJR3-qZUOCT'.
--- Physical volume ---
PV Name /dev/mapper/mpath1
VG Name appvg
PV Size 600.00 GB / not usable 0
Allocatable yes (but full)
PE Size (KByte) 4096
Total PE 153599
Free PE 0
Allocated PE 153599
PV UUID vQzBoN-c313-Hvzg-Grqj-QxzC-VP6T-zk3Jhp

--- Physical volume ---
PV Name /dev/mapper/mpath2
VG Name appvg
PV Size 600.00 GB / not usable 0
Allocatable yes (but full)
PE Size (KByte) 4096
Total PE 153599
Free PE 0
Allocated PE 153599
PV UUID 3Z846t-2IDP-BiQ9-anxC-bIKT-3bBx-Ij1qbz

--- Physical volume ---
PV Name /dev/mapper/mpath3
VG Name appvg
PV Size 200.00 GB / not usable 0
Allocatable yes
PE Size (KByte) 4096
Total PE 51199
Free PE 3
Allocated PE 51196
PV UUID 2EhdEr-arCB-wdGm-yJPQ-u30f-Xyj7-UWGA35

--- Physical volume ---
PV Name /dev/dm-23
VG Name appvg
PV Size 75.00 GB / not usable 0
Allocatable yes
PE Size (KByte) 4096
Total PE 19199
Free PE 1
Allocated PE 19198
PV UUID 6vDy1t-4u0o-nEAc-2F6k-H4gp-2mE5-reFH6M

--- Physical volume ---
PV Name /dev/dm-26
VG Name appvg
PV Size 100.00 GB / not usable 0
Allocatable yes
PE Size (KByte) 4096
Total PE 25599
Free PE 1
Allocated PE 25598
PV UUID c0FbdV-WYy4-WPd5-cBdX-rbBV-uqOk-5psW9l

--- Physical volume ---
PV Name unknown device
VG Name appvg
PV Size 300.00 GB / not usable 0
Allocatable yes
PE Size (KByte) 4096
Total PE 76799
Free PE 1
Allocated PE 76798
PV UUID Z4xoNI-TSvQ-iNZm-acHi-EPMZ-yJR3-qZUOCT

--- Physical volume ---
PV Name /dev/sda2
VG Name sysvg
PV Size 135.84 GB / not usable 0
Allocatable yes (but full)
PE Size (KByte) 32768
Total PE 4347
Free PE 0
Allocated PE 4347
PV UUID XQ6Hzt-3Ixj-mziK-345f-dazv-cY1t-oL0xFO
--
redhat-list mailing list
unsubscribe mailto:redhat-list-request@redhat.com?subject=unsubscribe
https://www.redhat.com/mailman/listinfo/redhat-list
 
Old 08-25-2008, 12:15 PM
George Magklaras
 
Default Couldn't find all physical volumes for volume group appvg.

Your pvdisplay suggests that this PV is somehow problematic (the PV UUID
reported at the beginning matches this one below, so something is
wrong with either that hard drive or with the lvm metadata). It seems to
me that the 300 Gig drive is buggered, but at your own risk, the best
course of action is to do a:


vgdisplay --partial -vvv

This might be able to fish out the PV name for that failed drive. If
that is the case, go and do a:


pvcreate --restorefile /etc/lvm/backup/appvg
--uuid Z4xoNI-TSvQ-iNZm-acHi-EPMZ-yJR3-qZUOCT [insert recovered PV name
here]


If that is successful, you can attempt to restore the VG by doing a:

vgcfgrestore --file /etc/lvm/backup/appvg appvg

If all goes well and the drive is in a suitable condition, you should
really see a message like:

"Restore volume group appvg"

Then you can attempt to read the data or PVmove this part to another
good drive.


GM

--
--
George Magklaras

Senior Computer Systems Engineer/UNIX Systems Administrator
EMBnet Technical Management Board
The Biotechnology Centre of Oslo,
University of Oslo
http://folk.uio.no/georgios



unix syzadmin wrote:


--- Physical volume ---
PV Name unknown device
VG Name appvg
PV Size 300.00 GB / not usable 0
Allocatable yes
PE Size (KByte) 4096
Total PE 76799
Free PE 1
Allocated PE 76798
PV UUID Z4xoNI-TSvQ-iNZm-acHi-EPMZ-yJR3-qZUOCT






--
redhat-list mailing list
unsubscribe mailto:redhat-list-request@redhat.com?subject=unsubscribe
https://www.redhat.com/mailman/listinfo/redhat-list
 

Thread Tools




All times are GMT. The time now is 06:57 PM.

VBulletin, Copyright ©2000 - 2014, Jelsoft Enterprises Ltd.
Content Relevant URLs by vBSEO ©2007, Crawlability, Inc.
Copyright 2007 - 2008, www.linux-archive.org