Storage simple capacity test

From vpsget wiki
Revision as of 22:53, 21 October 2018 by Ndi (talk | contribs) (Created page with "*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=...")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
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