Re: LVM

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



On 03/18/2012 10:34 AM, madunix@xxxxxxxxx wrote:
> I need to shrink /home(755G) to 150GB and use free space to add to the
> existing /(50G).
...
> Need to have the step, can this be done online or need to go offline
> (umount) the file systems.

To shink an ext3 filesystem, it'll have to be offline.

Start by identifying and terminating any applications with files open on 
/home using "fuser -vm /home/".

Once there are no open files, you can unmount the filesystem and use 
"fsadm resize /dev/mapper/vg_web-lv_home755G 150G" to shrink the filesystem.
_______________________________________________
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