mirror of
git://git.proxmox.com/git/pve-storage.git
synced 2025-02-10 13:57:38 +03:00
zfstest: use truncate instead of dd
Signed-off-by: Fabian Grünbichler <f.gruenbichler@proxmox.com>
This commit is contained in:
parent
b13cf56109
commit
ca276fcbc2
@ -2628,7 +2628,7 @@ sub setup_zpool {
|
||||
|
||||
unlink 'zpool.img';
|
||||
eval {
|
||||
run_command("dd if=/dev/zero of=zpool.img bs=1M count=8000 ");
|
||||
run_command("truncate -s 8G zpool.img");
|
||||
};
|
||||
if ($@) {
|
||||
clean_up_zpool();
|
||||
|
Loading…
x
Reference in New Issue
Block a user