Operating System - HP-UX
1829767 Members
5604 Online
109992 Solutions
New Discussion

Disk removed accidently and back up path is unavailable

 
UnixT
Frequent Advisor

Disk removed accidently and back up path is unavailable

Hello Gurus,

I removed a disk from a vg using vgreduce but the alternate path for that disk was unavailable by that time which was not noticed. So the VG went down and I need the original removed disk path to be added for accessing the vg. I tried with vgcfgrestore to the removed path but could not succeed. We do have all the configuration backup avail with us. Can any one help me on this to come out...The details are below..

HP UX 11.23
Primary path : c2t2d2 (which was available and removed) -- This is to be readded to the VG
Alternate path : c3t3d3 (not available at all)
VGName : VGQA_SA

Regards.....
5 REPLIES 5
Anshumali
Esteemed Contributor

Re: Disk removed accidently and back up path is unavailable

1. vgcfgrestore VGQA_SA /dev/dsk/c2t2d2
2. vgchange -a y VGQA_SA

a. vgimport VGQA_SA /dev/dsk/c2t2d2
b. vgchange -a y VGQA_SA
Dreams are not which you see while sleeping, Dreams are which doesnt allow you to sleep while you are chasing for them!!
Deepak Kr
Respected Contributor

Re: Disk removed accidently and back up path is unavailable

Hi

Provide following output:

ll -rt /etc/lvmconf/VGQA_SA.conf*

vgcfgrestore -f /etc/lvmconf/VGQA_SA.conf(latest file) -l

vgcfgrestore -n /dev/VGQA_SA -l

Also:

You list the things with commands you did till now!!!

Regds,
Deepak

"There is always some scope for improvement"
Michael Steele_2
Honored Contributor

Re: Disk removed accidently and back up path is unavailable

also, strings /etc/lvmtab
Support Fatherhood - Stop Family Law
Torsten.
Acclaimed Contributor

Re: Disk removed accidently and back up path is unavailable

If you have vgreduced c2t2d2 from the VG it is also removed from /etc/lvmtab and the configuration backup.

So vgcfgrestpre can't help you, you need to vgextend the disk again.

Hope this helps!
Regards
Torsten.

__________________________________________________
There are only 10 types of people in the world -
those who understand binary, and those who don't.

__________________________________________________
No support by private messages. Please ask the forum!

If you feel this was helpful please click the KUDOS! thumb below!   
Sharma Sanjeev
Respected Contributor

Re: Disk removed accidently and back up path is unavailable

Hi

Do vgextend VGNAME /dev/dsk/c2t2d2 Again

Regards
Sanjeev
Everything is Possible as " IMPOSSIBLE" word itself says I M POSSIBLE