Re: RAID5 reconfig

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

 



Well, raidreconfig worked wonderfully for me, however I screwed up
afterwards. I fscked before resize2fs, but forgot to do it again afterwards
and mounted the filesystem and used it. That caused it enough damage that I
damaged it and rebuilt it from backups. Raidreconfig worked excellently. It
handled unequal partition sizes just fine, though running it with the --test
flag returned an error that one partition was too small (0kb).

One feature request:

Go from 4 40gb disks in RAID 5 to 3 80gb devices in RAID 5: 1 80 gb disk and
the 4 40gb drives in RAID 0.


Old raidtab:

raiddev                        /dev/md0
raid-level                     0
nr-raid-disks                2
chunk-size                    64k
persistent-superblock   1
nr-spare-disks              0
    device                      /dev/hda4
    raid-disk                  0
    device                      /dev/hdc1
    raid-disk                 1

New raidtab:

raiddev                        /dev/md0
raid-level                      5
nr-raid-disks                4
chunk-size                   128k
persistent-superblock       1
parity-algorithm            left-symmetric
nr-spare-disks              0
    device          /dev/hda4
    raid-disk     0
    device          /dev/hdb1
    raid-disk     1
    device          /dev/hdc1
    raid-disk     2
    device          /dev/hdd1
    raid-disk     3

-
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