1833779 Members
1901 Online
110063 Solutions
New Discussion

Striped disk failed

 
bhargavi
Advisor

Striped disk failed

We have a lv striped across 5 disks, out of which one disk failed. I need to replace the disk and copy the content to the new disk. Kindly suggest.
4 REPLIES 4
Tim Nelson
Honored Contributor

Re: Striped disk failed

Maybe a little more info please....

What type of disk ?

If just jbod with LVM stripe and no protection then replace disk and rebuild content from backup.

If jbod in LVM Distributed stripe with mirror protection ( 0+1 ) then once the disk is replaced properly then it will auto re-sync or a vgsync/lvsync will kick it off.

If array based storage then the same questions, was it protected ? if not data would need to come back from tape. if so then it will auto resync.

More info will get you more specifics.
Michael Steele_2
Honored Contributor

Re: Striped disk failed

Hi

raid0?

I assume this is not a disk array on a SAN but SCSI disks in a JBOD using LVM to create striped logical volumes?

If you were using stripes for all LV's across all three disks, you will need to get your backup tapes, as I don't you will mount anything. Your best bet would to recreate the VG/LV's and restore from tape.

This is the LVM raid 0 draw back and why it's rarely used.

Are you sure you're not using firmware raid?

What is the name of your disk array?
Support Fatherhood - Stop Family Law
mvpel
Trusted Contributor

Re: Striped disk failed

Unless the LV-striped volume was also mirrored, the other four disks in the volume won't do you any good. With the disk failure you have lost 20% of all the data that was stored on that five-disk stripe set, and you can't recover it without a mirror or a backup tape.
AVV
Super Advisor

Re: Striped disk failed

Hi,

A VG with LV that striped to 5 disks !!

Ohh. I assume it is definitely mirrored. Mostly on hardware level. Please check lvdisplay o/p (I think it gives the out even if disk failure are there)

#lvdisplay /dev/vgxx/lvolxx | grep "Mirror copies"

If it shows as 1 or more, you are lucky.