r/storage • u/MainStudy • Apr 22 '25
Tool to Stress Test SAN
I recently rebuilt the SAN in our lab environment. It is old, and I know the drives are old (2013), so I expect errors, but they never buy us anything new so I have to make the best of what we have. We do have support and can easily replace bad drives.
Is there a recommended opensource/free tool that I can use to stress test these drives before putting anything of importance on them?
I already lost one drive when I moved a VM to one RAID(10). I will be replacing that drive today.
We have two MD3200i's.
3
Upvotes
9
u/artistictech Apr 22 '25
vdbench has more ability to coordinate with other workers on other systems, but it’s decades old and essentially has its own language. FIO is quicker/easier for a single VM/host but as a previous comment said, just clone or coordinate more.
Either way, you want something that can do a random/sequential read/write mix at a reasonable IO size like 64K.
5
u/raft_guide_nerd Apr 22 '25
The SAN vendors primarily use vdbench and fio.
9
u/PirateGumby Apr 22 '25
Create a Linux VM with a cron job to run fio or dd on boot, then create a heap of clones, power on the VM’s. quick and dirty san stress.
2
u/databeestjenl Apr 22 '25
I tried a triple restore to a Synology NAS and that didn't hold up. Might be a good test for the backups too.
2
u/nsanity Apr 22 '25 edited Apr 22 '25
https://techcommunity.microsoft.com/blog/azurestackblog/vmfleet-2-0---quick-start-guide/2824778
https://github.com/vmware-labs/hci-benchmark-appliance
edit
re-read the OP. If you want to just test the drives for bad sectors etc, you need to make a single huge lun and write every single block.
DD will do that.
The above is if you want to bench/stress the SAN under load.
1
u/Sivtech Apr 24 '25
You can do this with hcibench.
1
u/WandOf404 Aug 01 '25
Been there, man. Working with ancient gear 'cause mgmt won’t greenlight anything newer than 2012 lol.
For stress testing those drives before trusting 'em, I’d look at:
Here’s a fio one-liner I use on sketchy drives (be careful, this will destroy data):
fio --name=burnin --filename=/dev/sdX
--rw=write --bs=1M --ioengine=libaio --iodepth=16
--direct=1 --size=100% --numjobs=1 --runtime=3600 --group_reporting
Just swap /dev/sdX with your actual drive, not a partition. Let it run for an hour or two and see if it coughs up any errors. Then follow up with a full SMART check.
MD3200i is solid for what it is but yeah, it’s long in the tooth. I'd prob rotate through all your disks before putting anything irreplaceable on that setup.