On 2012-06-25, John R Pierce <pie...@hogranch.com> wrote: > On 06/25/12 1:10 PM, Alexander Dalloz wrote: >>> they really should be better integrated, like the way LVM and JFS are >>> >integrated on AIX. >>> > >>> > # chfs -a size=+2G /var >>> > >>> >adds 2GB to /var, online, automatically. grows the logical volume and >>> >resizes the file system, all at once. >> Don't know where software RAID comes into play on AIX, but what is the >> difference of that command above to this one on CentOS 6? >> >> # lvresize -L+2G -r VG_sys/LV_var > > does lvresize resize the file system while online? I didn't think it > did. the man page for fsadm (referenced in the lvresize man page) says > ext2/3/4 is unmounted before resizing. ooops. kind of hard to umount > /var !
My man page for fsadm (CentOS 6) implies that you need to provide -e in order for fsadm to umount an ext? filesystem before attempting the resize. So in theory if you don't give -e it should resize while mounted. --keith -- kkel...@wombat.san-francisco.ca.us _______________________________________________ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos