[CentOS] RAID?

Mon Jun 25 20:59:51 UTC 2012
John R Pierce <pierce at hogranch.com>

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

software raid in AIX is handled by the LVM layer, and if the LV is 
configured for mirroring ('copies=2'), then the resized LV will also be 

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 !

john r pierce                            N 37, W 122
santa cruz ca                         mid-left coast