PDA

View Full Version : VG Disappear



andyleigood
21-Apr-2014, 04:53
df -h
/dev/mapper/datavg-redoa_lv
10G 5.0G 5.1G 50% /oracleser/oradata/dsmdb/redo_a
/dev/mapper/datavg-redob_lv
10G 5.0G 5.1G 50% /oracleser/oradata/dsmdb/redo_b
/dev/mapper/datavg-arch_lv
60G 21G 40G 34% /oracleser/oradata/dsmdb/arch
/dev/mapper/datavg-data_lv
220G 202G 19G 92% /oracleser/oradata/dsmdb/dat

# vgs
Couldn't find device with uuid 'YHWDz4-2UdG-S35b-MNdn-XUim-XHy6-fgBqHS'.
Couldn't find all physical volumes for volume group datavg.
Couldn't find device with uuid 'YHWDz4-2UdG-S35b-MNdn-XUim-XHy6-fgBqHS'.
Couldn't find all physical volumes for volume group datavg.
Couldn't find device with uuid 'YHWDz4-2UdG-S35b-MNdn-XUim-XHy6-fgBqHS'.
Couldn't find all physical volumes for volume group datavg.
Couldn't find device with uuid 'YHWDz4-2UdG-S35b-MNdn-XUim-XHy6-fgBqHS'.
Couldn't find all physical volumes for volume group datavg.
Couldn't find device with uuid 'YHWDz4-2UdG-S35b-MNdn-XUim-XHy6-fgBqHS'.
Couldn't find all physical volumes for volume group datavg.
Couldn't find device with uuid 'YHWDz4-2UdG-S35b-MNdn-XUim-XHy6-fgBqHS'.
Couldn't find all physical volumes for volume group datavg.
Volume group "datavg" not found
VG #PV #LV #SN Attr VSize VFree
dbmsvg 2 1 0 wz--n- 74.41G 24.41G
system 1 8 0 wz--n- 409.59G 292.59G

As shown above, datavg the VG system is mounted in the LV was also in use, but should not see vgs in vg

jmozdzen
22-Apr-2014, 14:14
Hi andyleigood,

> As shown above, datavg the VG system is mounted in the LV was also in use, but should not see vgs in vg

to be more precise, the *physical volume* could not be found (judging from your output, VG "datavg" resides on a single PV), therefore "datavg" is unavailable.

I have to admit that your question is not really clear to me, because of the wording. I don't understand why you mention VG "system" in the context of "datavg" - those are two separate VGs, according to your output. Neither do I understand what you're after when asking "but should not see vgs in vg". May I ask you to tell again what actually puzzles you?

Regards,
Jens

andyleigood
24-Apr-2014, 03:41
As you see:
df -hP
/dev/mapper/datavg-redoa_lv 10G 5.0G 5.1G 50% /oracleser/oradata/dsmdb/redo_a

"redoa_lv" is belong to "datavg", and is using now.
But use "vgs" command cannot show "datavg".
It's mean "datavg" disappeared.

I want to know why?
How to solve it?

jmozdzen
24-Apr-2014, 10:25
As you see:
df -hP
/dev/mapper/datavg-redoa_lv 10G 5.0G 5.1G 50% /oracleser/oradata/dsmdb/redo_a

"redoa_lv" is belong to "datavg", and is using now.
But use "vgs" command cannot show "datavg".
It's mean "datavg" disappeared.

I want to know why?
How to solve it?


# vgs
Couldn't find device with uuid 'YHWDz4-2UdG-S35b-MNdn-XUim-XHy6-fgBqHS'.
Couldn't find all physical volumes for volume group datavg.
Couldn't find device with uuid 'YHWDz4-2UdG-S35b-MNdn-XUim-XHy6-fgBqHS'.
Couldn't find all physical volumes for volume group datavg.
Couldn't find device with uuid 'YHWDz4-2UdG-S35b-MNdn-XUim-XHy6-fgBqHS'.
Couldn't find all physical volumes for volume group datavg.
Couldn't find device with uuid 'YHWDz4-2UdG-S35b-MNdn-XUim-XHy6-fgBqHS'.
Couldn't find all physical volumes for volume group datavg.
Couldn't find device with uuid 'YHWDz4-2UdG-S35b-MNdn-XUim-XHy6-fgBqHS'.
Couldn't find all physical volumes for volume group datavg.
Couldn't find device with uuid 'YHWDz4-2UdG-S35b-MNdn-XUim-XHy6-fgBqHS'.
Couldn't find all physical volumes for volume group datavg.
Volume group "datavg" not found

see my earlier reply - the physical volume could not be found, did you remove it? Probably a non-local disk (SAN device that went down? Or a dynamically attached USB disk? :D ), You might be able to identify the physical device by looking at the output of "vgdisplay -v datavg", look for the "--- Physical volumes ---" section.

Regards,
Jens

andyleigood
28-Apr-2014, 08:34
Thank you Jens.
I'll try it.