mirror of
git://sourceware.org/git/lvm2.git
synced 2024-12-21 13:34:40 +03:00
tests: used -n for fsck
This commit is contained in:
parent
3716e95354
commit
803f8ca714
@ -37,7 +37,7 @@ mkfs.ext4 $DM_DEV_DIR/$vg/$lv1
|
||||
# create thin snapshot of thin LV
|
||||
lvcreate -K -s $vg/$lv1 --name snap
|
||||
# check snapshot filesystem was properly frozen before snapping
|
||||
fsck -p $DM_DEV_DIR/$vg/snap
|
||||
fsck -n $DM_DEV_DIR/$vg/snap
|
||||
lvcreate -K -s $vg/$lv1 --name $lv2
|
||||
lvcreate -K -s $vg/$lv1 --name $vg/$lv3
|
||||
lvcreate --type snapshot $vg/$lv1
|
||||
@ -59,6 +59,6 @@ lvremove -ff $vg
|
||||
lvcreate -L10M --zero n -T $vg/pool -V10M --name $lv1
|
||||
mkfs.ext4 $DM_DEV_DIR/$vg/$lv1
|
||||
lvcreate -K -s $vg/$lv1 --name snap
|
||||
fsck -p $DM_DEV_DIR/$vg/snap
|
||||
fsck -n $DM_DEV_DIR/$vg/snap
|
||||
|
||||
vgremove -ff $vg
|
||||
|
@ -138,7 +138,7 @@ check vg_field $vg lv_count 0
|
||||
lvcreate -L10M -V10M -T $vg/pool --name lv1
|
||||
mkfs.ext4 $DM_DEV_DIR/$vg/lv1
|
||||
lvcreate -K -s $vg/lv1 --name snap_lv1
|
||||
fsck -p $DM_DEV_DIR/$vg/snap_lv1
|
||||
fsck -n $DM_DEV_DIR/$vg/snap_lv1
|
||||
lvcreate -s $vg/lv1 --name lv2
|
||||
lvcreate -s $vg/lv1 --name $vg/lv3
|
||||
lvcreate --type snapshot $vg/lv1 --name lv6
|
||||
|
Loading…
Reference in New Issue
Block a user