OK if rebuild changes my raid set name???

Asked by Brian Spisak

I'm trying to rebuild a 4 disk RAID5 array with a single failed drive. I've replaced the drive, but when I run the following, I'm reluctant to say "YES" as I want to know if this will preserve existing data on the disk?

I can't run a simple 'dmraid -R' due to a bug. (See Bug #1221967 )

Any help would be appreciated! Thanks.

# dmraid -f isw -S isw_chifcdfhf -M /dev/sdc
ERROR: isw: reading /dev/dm-0[Input/output error]
ERROR: isw: reading /dev/dm-0[Input/output error]
ERROR: isw: reading /dev/dm-0[Input/output error]
ERROR: isw: wrong number of devices in RAID set "isw_chifcdfhf_RAID5" [3/4] on /dev/sdd
ERROR: isw: wrong number of devices in RAID set "isw_chifcdfhf_RAID5" [3/4] on /dev/sde
ERROR: isw: wrong number of devices in RAID set "isw_chifcdfhf_RAID5" [3/4] on /dev/sdf

     Create a SPARE DISK with ISW metadata format

DISK: /dev/sdc

About to create a RAID set with the above settings. Name <isw_chifcdfhf> will lost. Continue ? [y/n] :n

Question information

Language:
English Edit question
Status:
Solved
For:
Ubuntu dmraid Edit question
Assignee:
No assignee Edit question
Solved by:
Phillip Susi
Solved:
Last query:
Last reply:
Revision history for this message
Brian Spisak (bspisak) said :
#1

Ps. The array has both ext4 and ntfs partitions.

Revision history for this message
Best Phillip Susi (psusi) said :
#2

The name change may cause problems if you specify the name instead of the UUID in /etc/fstab or /boot/grub/grub.cfg, but that shouldn't be too difficult to work around. More importantly, dmraid isn't very well supported so if you don't have to use it to dual boot with Windows, it is best to avoid it and stick to Linux software raid.

Revision history for this message
Brian Spisak (bspisak) said :
#3

Thanks! That shouldn't be a problem. And, unfortunately yes, I am dual boot. Although, if I can't get this to work, I may just bite the bullet and go with a VM for Windows. I was worried about performance for things like photoshop, but honestly, I haven't benched it so not sure exactly what I'm loosing if anything.

Revision history for this message
Brian Spisak (bspisak) said :
#4

Thanks Phillip Susi, that solved my question.

Revision history for this message
Phillip Susi (psusi) said :
#5

Since you are dual booting with Windows, why not boot into Windows and let it handle the rebuild? It's probably more tested than dmraid.