Re: is it safe to resize root, on an LVM system, online?

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]



On Mon, Jul 12, 2010 at 01:56:57PM -0700, Gordon Messmer wrote:
> On 07/12/2010 05:15 AM, Max Hetrick wrote:
> > There should be no issues doing it live.
> >
> > # lvextend -L+1G /dev/myvg/myvol
> > # resize2fs /dev/myvg/myvol
> >    
> 
> Though I'm late to the party, I'd like to note that "fsadm" can be used 
> as well:
> 
> fsadm -e -y resize /dev/myvg/myvol 4G

If I'm reading the man page correctly, -e will umount the filesystem
before resizing, which is not what the OP wants.  (It might work by
leaving out -e.)

--keith

-- 
kkeller@xxxxxxxxxxxxxxxxxxxxxxxxxx

Attachment: pgptqhcxDRA9I.pgp
Description: PGP signature

_______________________________________________
CentOS mailing list
CentOS@xxxxxxxxxx
http://lists.centos.org/mailman/listinfo/centos

[Index of Archives]     [CentOS]     [CentOS Announce]     [CentOS Development]     [CentOS ARM Devel]     [CentOS Docs]     [CentOS Virtualization]     [Carrier Grade Linux]     [Linux Media]     [Asterisk]     [DCCP]     [Netdev]     [Xorg]     [Linux USB]
  Powered by Linux