mirror of
git://sourceware.org/git/lvm2.git
synced 2024-12-22 17:35:59 +03:00
Unmount works with -y
This commit is contained in:
parent
8f8c5580fd
commit
bfcaa5a4ed
@ -117,8 +117,9 @@ if check_missing reiserfs; then
|
|||||||
fscheck_reiserfs
|
fscheck_reiserfs
|
||||||
mount $dev_vg_lv $mount_dir
|
mount $dev_vg_lv $mount_dir
|
||||||
|
|
||||||
not fsadm -y --lvresize resize $vg_lv 20M
|
fsadm -y --lvresize resize $vg_lv 30M
|
||||||
umount $mount_dir
|
umount $mount_dir
|
||||||
|
fscheck_reiserfs
|
||||||
|
|
||||||
lvresize -f -L20M $vg_lv
|
lvresize -f -L20M $vg_lv
|
||||||
fi
|
fi
|
||||||
|
Loading…
Reference in New Issue
Block a user