LVM2 ./WHATS_NEW scripts/fsadm.sh
CVSROOT: /cvs/lvm2
Module name: LVM2
Changes by: zkabelac at sourceware.org 2010-11-10 16:14:03
Modified files:
. : WHATS_NEW
scripts : fsadm.sh
Log message:
fsadm fix for downsize of unmounted fs
Fix for the last commit as $MOUNTED is not only used as bool flag, but also store mounted location for remount - so parsing output from mount differently then from /proc/mounts.
Prefix calls of 'tunefs' tools with LANG=C to be sure we always do get some nonlocalized strings.
Avoid using forced 'resize2fs' for cleanly unmounted filesystems and run regular fsck -f for this case as required by resize2fs.
'fsadm check' uses date difference for extX filesystems between the last mount and last check of 'fsck -f' execution and if the mount was later run 'fsck' with -f so resize2fs is happy and user does not need to pass '-f' flag.
Patches:
http://sourceware.org/cgi-bin/cvsweb.cgi/LVM2/WHATS_NEW.diff?cvsroot=lvm2&r1=1.1794&r2=1.1795
http://sourceware.org/cgi-bin/cvsweb.cgi/LVM2/scripts/fsadm.sh.diff?cvsroot=lvm2&r1=1.22&r2=1.23
WHATS_NEW +2 -1
@@ -1,6 +1,7 @@ Version 2.02.77 - =================================== - Fix regression in detection of mounted filesystem for older systems (2.0.75). + Fix fsadm need of using '-f' for downsize of unmounted filesystem. + Fix fsadm regression in detection of mounted filesystem for older systems (2.0.75). Extend cling allocation policy to recognise PV tags (cling_by_tags). Add allocation/cling_tag_list to lvm.conf. Regenerate configure with 'autoreconf' for --enable-ocf. (2.02.76)
scripts/fsadm.sh +52 -9
107 lines not on this page · raw message