Commit Graph

8 Commits

Author SHA1 Message Date
Michael Hudson-Doyle 0141defa01 changes suggested in review 2019-11-08 09:47:34 +13:00
Michael Hudson-Doyle 65a961be1a do not run the 100T raid tests, mdadm fails with SIGPIPE 2019-11-08 09:31:51 +13:00
Michael Hudson-Doyle 5d8c983448 make raid-size-tests.py a tiny bit friendlier 2019-11-08 09:31:51 +13:00
Michael Hudson-Doyle fde1c53141 sort raid devices consistently when computing size and when serializing 2019-11-08 09:30:22 +13:00
Michael Hudson-Doyle 233965b376 fix raid size calculation when sizes of devices in array vary
It turns out mdadm computes the headroom based on the first device in
the array, which means that the order of the devices matters!
2019-11-08 09:22:59 +13:00
Michael Hudson-Doyle 6b5e7adcf6 add some explanation to raid-size-tests.py 2019-11-08 09:22:59 +13:00
Michael Hudson-Doyle 5da663fede raid-size-tests.py: run in tmpfs, clean up better
ext4 limits files to a measly 16TiB!
2019-11-08 09:22:59 +13:00
Michael Hudson-Doyle 679b611077 add tests of get_raid_size against reality 2019-11-08 09:22:59 +13:00