Storage simple capacity test

From vpsget wiki
Jump to: navigation, search
  • DRAFT*

If you need to fill out the storage with files you may use the next script for example:

Fill the storage on ~500GB with 1GB files:

for i in {1..500}; do
 dd conv=notrunc if=/dev/zero of=testfile.$i bs=1024 count=1024000  
 echo $i;
done

Fill the storage on ~10Tb with 10Gb files:

for i in {1..1000}; do
 dd conv=notrunc if=/dev/zero of=testfile.$i bs=1024 count=10224000  
 echo $i;
done