Re: Hard disk error

Go to solution
Santosh P Karpe
Frequent Advisor

Hard disk error

My porduction server(disk staion ) hdd C5t0d0 giving serious and criticle error attached
So i want to install new one PLs tell me Procedure
Error is attached
Server Model : 9000/800/rp3410

HDD in Vg002

Physical Device Path...: 0/4/1/1.0.0

Cluster on PRD

Pls Tell me steps to install new hdd in diskstation
Acclaimed Contributor

Re: Hard disk error

All the steps are here:

Hope this helps!

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!   
Devender Khatana
Honored Contributor

Re: Hard disk error


The document mentioned in the earlier post is complete withint itself. But still if you are founding it too much for looking for your solution then here are simple steps which should be used when application is not used much (Utilization on the data you are copying is less as it will badly impact performance when you copy the data across if you do it with application running)

Assumption - you have a free slot to host a new disk and you current disk is not mirrored.

Insert new disk of same or more size to the empty slot and check the OS detects it in ioscan. Create its device file with insf.

#ioscan -fnC disk

Let us say the new disk device file is /dev/dsk/cxtydz

#pvcreate /dev/rdsk/cxtydz
#vgextend /dev/vg002 /dev/dsk/cxtydz

Case -1
Now if you have mirror-Ux installed. Create a copy of the data on /dev/dsk/c5t0d0 onto new disk.

#lvextend -m 1 /dev/vg002/lvolxx /dev/dsk/cxtydz

#lvextend -m 1 /dev/vg002/lvolxy /dev/dsk/cxtydz

Repeat this for all the LVs in this faulty disk.

Once this is done reduce the copy from the faulty disk.

#lvreduce -m 0 /dev/vg002/lvolxx /dev/dsk/c5t0d0

Repeat for all the LVs in the faulty disk.

At last your faulty disk will have no LVs and you can reduce VG from this disk and can finally remove it.

#vgreduce /dev/vg002 /dev/dsk/c5t0d0

Case -2

Now if mirror-Ux is not installed, do a pvmove for all the LEs on faulty disk to new disk.

#pvmove /dev/dsk/c5t0d0 /dev/dsk/cxtydz

Caution - There is a potential risk of disk completely going bad in this so take a good backup prior to attempting both of these options.

Impossible itself mentions "I m possible"