Expanding raid0

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

 



All,

I have yet to find THE definitive word (via any search and forums) if
this is possible;  expanding a raid0 set by adding drives.  (Please, I
know there is no redundancy, and that is fine as these volumes are
really Amazon WS EBS volumes, so we only strip for speed improvements)



It seem this works:
  more /proc/diskstats
  mdadm --create /dev/md0 --chunk=256 --level=0 --raid-devices=2 /dev/sd[b-c]
  mdadm --detail /dev/md0
  mkfs.xfs /dev/md0
  mount /dev/md0 /mnt
  vi /mnt/test
  umount /dev/md0

  mdadm --grow /dev/md0 --level=0 --backup-file=/tmp/grow
--raid-devices=3 --add /dev/sdd   <= changes to raid4
  mdadm --detail /dev/md0
  mdadm --grow /dev/md0 --level=0 --backup-file=/tmp/grow  <== changes to raid0
  mdadm --detail /dev/md0

Can someone please confirm this correct and that raid0 can be
expanded, or is there a better means to expand an raid0 raid set?

Thanks!
--
To unsubscribe from this list: send the line "unsubscribe linux-raid" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
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