1845947 Members
3368 Online
110250 Solutions
New Discussion

Re: Missing VG

 
Yvonne Chan
Advisor

Missing VG

Hi, previous after a server crash, i had vg03 & vg04 was not recognized by my server while the rest can recognized.

previous /etc/lvmtab
strings lvmtab
/dev/vg00
/dev/dsk/c1t6d0
/dev/dsk/c2t6d0
/dev/vg02
/dev/dsk/c7t0d0
/dev/dsk/c12t0d0
/dev/vg03
/dev/dsk/c7t0d1
/dev/dsk/c12t0d1
/dev/vg05
/dev/dsk/c7t0d2
/dev/dsk/c12t0d2
/dev/vg04
/dev/dsk/c7t0d6
/dev/dsk/c12t0d6
Please advise.
5 REPLIES 5
Pete Randall
Outstanding Contributor

Re: Missing VG

mv /etc/lvmtab /etc/lvmtab.old
vgscan -a


Pete

Pete
Paula J Frazer-Campbell
Honored Contributor

Re: Missing VG

Hi

Have a look at dmesg to see what the problem was.

also try mount -a and not errors.

Paula
If you can spell SysAdmin then you is one - anon
Paula J Frazer-Campbell
Honored Contributor

Re: Missing VG

Hi

Have a look at dmesg to see what the problem was.

also try mount -a and note errors.

Paula
If you can spell SysAdmin then you is one - anon
James R. Ferguson
Acclaimed Contributor

Re: Missing VG

Hi:

Does:

# ioscan -fnC disk

...show the physical devices "CLAIMED"?

If so, were the volume groups activated?

# vgchange -a y vgNN

Do you get errors when mounting the associated filesystems? If so, do:

# fsck -F vxfs -y -o full /dev/vgNN/rlvolN

Regards!

...JRF...
Michael Steele_2
Honored Contributor

Re: Missing VG

Verify the disks or PV's of what use to be vg03 with this command:

vgcfgrestore -f /etc/lvmconf/vg03.map -l

Verify the directory and group file /dev/vg03 and /dev/vg03/group.

Retrieve vg03 this way:

vgexport -p -v -s -m /tmp/mapfile /dev/vg03 (* -p preview *)

vi /tmp/mapfile

Cross reference the contents of /tmp/mapfile with the report from vgcfgrestore, if ok them proceed:

vgexport -v -s -m /tmp/mapfile /dev/vg03 (* will delete /dev/vg03 and /dev/vg03/group *)

mkdir /dev/vg03
mknod /dev/vg03/group c 64 0x0000
vgimport -p -v -s -m /tmp/mapfile /dev/vg03 (* -p preview *)

When ready:

vgimport -v -s -m /tmp/mapfile /dev/vg03

Note: If other problems then please paste in the errors.
Support Fatherhood - Stop Family Law