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
System Administration
cancel
Showing results for 
Search instead for 
Did you mean: 

replace a bad disk with new disk on the same vg .

 
SOLVED
Go to solution
fizan
Super Advisor

replace a bad disk with new disk on the same vg .

How to replace a bad disk with new disk on the same vg .

disk gone bad so replacing the bad disk with new disk in the same VG same position.only disk is going to be changed. steps plz.
8 REPLIES
madhuchakkaravarthy
Trusted Contributor

Re: replace a bad disk with new disk on the same vg .

hi

Is that disk gone bad is OS disk ar its been allocated from storage.

if OS disk you need to mirror it,but if its allocated from storage just unplug the failed disk and plug the new disk and move to the same diskgroup.

regards

MC


Matti_Kurkela
Honored Contributor

Re: replace a bad disk with new disk on the same vg .

Is it a system disk (= bootable, belongs to vg00) or a data-only disk?

Is the bad disk mirrored?

Is it on a hardware RAID controller?

Each of these will require a different set of steps.

Google for "HP-UX when good disks go bad": you'll find a HP document that has very detailed lists of steps for most common situations.

(I'd give a direct link, but the document seems to have moved... no matter, Google does find it.)

MK
MK
Bijeesh
Respected Contributor

Re: replace a bad disk with new disk on the same vg .

Hi,
Is the disk mirrored or not? Is it a root disk? Do you have the data backup?
Consider these kind of things before replacing it.
Also refer,attached file.
fizan
Super Advisor

Re: replace a bad disk with new disk on the same vg .

Is it a system disk (= bootable, belongs to vg00) or a data-only disk?

No data disk

Is the bad disk mirrored?
with mirrored.

Is it on a hardware RAID controller?
no raid builded

Each of these will require a different set of steps,

provide me the steps i can have it. for mirroed & non-mirrored also.
P Arumugavel
Respected Contributor

Re: replace a bad disk with new disk on the same vg .

Hi,

Please find the attached docs. Very useful docs, is better than any...

Rgds \ Vel
Bijeesh
Respected Contributor
Solution

Re: replace a bad disk with new disk on the same vg .

Hi,

Since the disk is mirrored,
You can connect the hard disk and do,
#ioscan -fnC disk
#vgcfgrestore -n vgXX /dev/rdsk/cXtXdx
#vgchange -a y /dev/vgXX
#vgsync /dev/vgXX
For non mirrored disks, you have to restore the data from the backup.
fizan
Super Advisor

Re: replace a bad disk with new disk on the same vg .

Thanks for your valuable answers.
fizan
Super Advisor

Re: replace a bad disk with new disk on the same vg .

valuable answers got it.