Re: Problem converting raid-5 array from 2.2.17 into 2.4.22

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



# mdtab entry for /dev/md0
/dev/md0 raid5,128k,0,93fa4522 /dev/hda3 /dev/hdb1 /dev/hdc1 /dev/hdd1


# /etc/raidtab:
raiddev /dev/md0
       raid-level      5
       nr-raid-disks   4
       nr-spare-disks  0
       persistent-superblock   1
       parity-algorithm        left-symmetric
       chunk-size      32
[...]
This one was copied straight from Software-RAID HOWTO, unfortunately I noticed only afterwards that the chunk-size was different than it was before.

I also reproduced the situation on a different machine and different disks, with this time the right chunk-size (128 kb). And it didn't work either!

So it seems that "mkraid --upgrade" will *always* break a raid5 setup, at least
if it's me doing the conversion :)


This sounds pretty alarming.

I hope there is some way to reconstruct the superblocks or change their
checksums or something. Next I'm going to spend a few hours investigating if
mdadm and newer raidtools have options for doing this.

-J

_________________________________________________________________
Get MSN 8 and help protect your children with advanced parental controls. http://join.msn.com/?page=features/parental


-
To unsubscribe from this list: send the line "unsubscribe linux-raid" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html

[Index of Archives]     [Linux RAID Wiki]     [ATA RAID]     [Linux SCSI Target Infrastructure]     [Linux Block]     [Linux IDE]     [Linux SCSI]     [Linux Hams]     [Device Mapper]     [Device Mapper Cryptographics]     [Kernel]     [Linux Admin]     [Linux Net]     [GFS]     [RPM]     [git]     [Yosemite Forum]


  Powered by Linux