1
0
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:
Zdenek Kabelac 2011-09-19 19:37:26 +00:00
parent 8f8c5580fd
commit bfcaa5a4ed

View File

@ -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