mirror of
git://sourceware.org/git/lvm2.git
synced 2025-01-03 05:18:29 +03:00
test: Minimize data written by metadata-zero-space
The test is checking only 2 megabytes, but is rewriting much more. Bad for limited ramdisk.
This commit is contained in:
parent
53b97b146d
commit
df26b73b8e
@ -21,7 +21,8 @@ get_devs
|
||||
|
||||
# Fill with random data so if the space between metadata
|
||||
# copies are not zeroed the grep for zeros will fail.
|
||||
dd if=/dev/urandom of="$dev1" bs=1M || true
|
||||
dd if=/dev/urandom of="$dev1" bs=1M count=1 || true
|
||||
dd if=/dev/urandom of="$dev1" bs=1M skip=15 count=1 || true
|
||||
|
||||
pvcreate --pvmetadatacopies 2 "$dev1"
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user