HPE Community read-only access December 15, 2018
This is a maintenance upgrade. You will be able to read articles and posts, but not post or reply.
Hours:
Dec 15, 4:00 am to 10:00 am UTC
Dec 14, 10:00 pm CST to Dec 15, 4:00 am CST
Dec 14, 8:00 pm PST to Dec 15, 2:00 am PST
cancel
Showing results for 
Search instead for 
Did you mean: 

DIsk Issue

 
Ashwani K
Occasional Visitor

DIsk Issue

Dear experts,

I have one doubt. Can I replace a bad disk(if disk is hot swappable) without removing it from vg(without doing vgreduce.

Regards,

Ashwani
5 REPLIES
Steven E. Protter
Exalted Contributor

Re: DIsk Issue

Shalom,

You can do so. There is a vgreduce -f function that will let you get dead disks out of the volume group.

if the disk is really dead there is sometimes no way to get it out of the volume group.

Check the man page, it is not for the light of heart.

SEP
Steven E Protter
Owner of ISN Corporation
http://isnamerica.com
http://hpuxconsulting.com
Sponsor: http://hpux.ws
Twitter: http://twitter.com/hpuxlinux
Founder http://newdatacloud.com
Raj Briden
Frequent Advisor

Re: DIsk Issue

* replace the disk

* verify the hardware path (it must be same )

* #vgcfgrestore( check man for details)

* #vgsync

check with vgdisplay
Kapil Jha
Honored Contributor

Re: DIsk Issue

vgrestore would work, without reducing the disk from vg.

For most of disk related queries please check
http://www.scribd.com/doc/19493230/When-Good-Disks-Go-Bad

or google When_Good_Disks_Go_Bad.pdf

BR,
Kapil+
I am in this small bowl, I wane see the real world......
Kranti Mahmud
Honored Contributor
Torsten.
Acclaimed Contributor

Re: DIsk Issue

No need to remove the disk from VG.


See

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


You simply deny LVM access to the disk, then swap the disk. (pvchange -a n ...).

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!