mirror of
git://sourceware.org/git/lvm2.git
synced 2025-01-04 09:18:36 +03:00
tests: enforce full fs check
This commit is contained in:
parent
fba81cf3e9
commit
fac2e07333
@ -139,7 +139,7 @@ dd if=/dev/zero of="$mount_dir/zeros1" bs=1M count=10 oflag=direct
|
|||||||
df --output=size "$mount_dir" |tee df1
|
df --output=size "$mount_dir" |tee df1
|
||||||
# resize only the fs (to 256M), not the crypt dev or LV
|
# resize only the fs (to 256M), not the crypt dev or LV
|
||||||
umount "$mount_dir"
|
umount "$mount_dir"
|
||||||
fsck -n /dev/mapper/$cr
|
fsck -fn /dev/mapper/$cr
|
||||||
resize2fs /dev/mapper/$cr 262144k
|
resize2fs /dev/mapper/$cr 262144k
|
||||||
mount /dev/mapper/$cr "$mount_dir"
|
mount /dev/mapper/$cr "$mount_dir"
|
||||||
# this lvresize will not resize the fs (which is already reduced
|
# this lvresize will not resize the fs (which is already reduced
|
||||||
|
Loading…
Reference in New Issue
Block a user