1755720 Members
3140 Online
108837 Solutions
New Discussion юеВ

Vg00 Disk Failed

 
SOLVED
Go to solution
MRSG
Frequent Advisor

Vg00 Disk Failed

Dear All,

One of our disk inside vg00 has failed, the volume group is not mirrored, what is the best strategy for replacing the disk?
Currently any LVM commands on vg00 hangs the system...
9 REPLIES 9
Pete Randall
Outstanding Contributor
Solution

Re: Vg00 Disk Failed

I would suggest following the steps outlined in this document:

http://docs.hp.com/en/5991-1236/When_Good_Disks_Go_Bad.pdf


Pete

Pete
Torsten.
Acclaimed Contributor

Re: Vg00 Disk Failed

recommended action:
replace the drive and restore your ignite backup.

HTH!

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!   
Luk Vandenbussche
Honored Contributor

Re: Vg00 Disk Failed

Hi,

I hope you have an ignite tape.

Replace the disk an restore the OS from the ignite tape.
Peter Godron
Honored Contributor

Re: Vg00 Disk Failed

Hi,
depends on what was on the faulty drive !
If it was critical system files the system would have probably chrashed by now. The best way forward would be:
1. Identify corrupted disk
2. Confirm corruption, might only be lvmtab
Then depending on whether you have a backup:
3. Replace disk and restore
or
3. You may have to rebuild.
Lesson: Always take backups or pay for mirrors.
Sivakumar TS
Honored Contributor

Re: Vg00 Disk Failed


Hi,

1.identifi the failed disk.
2.replace it with a good one.
3.do a #vfcfgrestore on the disk.
4.recreate the filesystem which was present in the failed disk
5.restore the backup

With Regards,

Siva.
Nothing is Impossible !
Hoang Chi Cong_1
Honored Contributor

Re: Vg00 Disk Failed

Do you have any ignite backup?
You have only one way to recover from backup tape.
Replace the bad one.
Boot from backup tape and recover!

I think mirror is very usefull for this case!VG00 should be mirror for safe.

Goodluck!
Hoang Chi Cong
Looking for a special chance.......
Rashid Hamid
Regular Advisor

Re: Vg00 Disk Failed

If you does not have mirror disk, the best way is to restore using ignite-ux
I'm Parit Madirono/Parit Betak Boyz
Devender Khatana
Honored Contributor

Re: Vg00 Disk Failed

Hi,

As you mentioned one of the vg00 disk failed, you should find out what are the LVOLs spread onto this disk. If these invlolves some of essentional file systems then it would be requiring a ignite recovery. But if there is some unused LVOLs across this disk then just replacing and restoring only those file systems shall be enough and complete recovery shall not be required.

Find out the disk usage by

#pvdisplay -v /dev/dsk/cxtydz

(Where /dev/dsk/cxtydz is the disk device file)

Also post output of

#bdf
&
#vgdisplay -v /dev/vg00

HTH,
Devender
Impossible itself mentions "I m possible"
Devender Khatana
Honored Contributor

Re: Vg00 Disk Failed

Hi,

Apart from this it also depends on what type of failure it is. Sometimes disk do not fail completely and start getting slow or giving random I/O error if this is the case you can still copy data and avoid ignite restoration.

In my opinion the ignite recovery shall be the last option as by doing so you will require to restore all LVOLs in vg00.

HTH,
Devender
Impossible itself mentions "I m possible"