Simpler Navigation coming for Servers and Operating Systems
Coming soon: a much simpler Servers and Operating Systems section of the Community. We will combine many of the older boards, and you won't have to click through so many levels to get at the information you need. If you are looking for an older board and do not find it, check the consolidated boards, as the posts are still there.
Showing results for 
Search instead for 
Did you mean: 

vgcfgrestore confirmation

Sid Shapiro
Occasional Advisor

vgcfgrestore confirmation

Hi Admin ,
Iam getting little scared in doing some steps as this is my production system and needing your confirmation .

My vg00 mirror disk is not showing in /etc/lvmtab and the mirror extents are in stale state for all lv's.

However my /etc/lvmconf/vg00.conf.old file show the mirror disk as part of vg00 .

can i do like this while system is running .

- rename my vg00.conf.old vg00.conf
- pvcreate /dev/rdsk/c1t5d0
- vgcfgrestore -n /dev/vg00 /dev/dsk/c1t5d0
- /dev/vgsync /dev/vg00

or something else ??

pls. help

Deepak Seth
James R. Ferguson
Acclaimed Contributor

Re: vgcfgrestore confirmation

Hi Tom:

Try this first!

# ioscan -fnC disk #...make sure you can see the disk...
# vgsync /dev/vg00

Esteemed Contributor

Re: vgcfgrestore confirmation

if you can see disks from ioscan , addition steps is verify disk by
#diskinfo /dev/rdsk/....

does it report correct model and size.
if not , you got disk hardware problem , try to fix HW first.
enjoy any little thing in my life
Sid Shapiro
Occasional Advisor

Re: vgcfgrestore confirmation

thanx guys for your reply. i re-created the lvmtab file and the run sync command and it work just fine.
Deepak Seth