Test making dd play nice
This commit is contained in:
parent
a51d922f00
commit
33e0220e34
@ -1,4 +1,4 @@
|
||||
- name: Zero-out disk
|
||||
ansible.builtin.shell:
|
||||
cmd: dd bs=1M count=$(df -m . | awk '/[0-9]%/{print $(NF-2)}') if=/dev/zero of=./zero; sync; sync; rm -f ./zero
|
||||
cmd: nice -n 10 dd bs=1M count=$(df -m . | awk '/[0-9]%/{print $(NF-2)}') if=/dev/zero of=./zero; sync; sync; rm -f ./zero
|
||||
chdir: /opt/metacluster
|
||||
|
Loading…
Reference in New Issue
Block a user