make reset multithreaded and shorter
parent
1d7656a8a3
commit
082c2205e6
@ -1,6 +1,9 @@
|
|||||||
#!/bin/bash
|
#!/bin/bash
|
||||||
|
|
||||||
for device in /dev/md* /dev/nvme* /dev/sd* /dev/vd*; do
|
for device in /dev/md* /dev/nvme* /dev/sd* /dev/vd*; do
|
||||||
dd if=/dev/zero of=$device bs=10M count=100
|
dd if=/dev/zero of=$device bs=10M count=10 &
|
||||||
done
|
done
|
||||||
sync
|
|
||||||
|
wait
|
||||||
|
|
||||||
|
sync
|
||||||
|
Loading…
Reference in New Issue