[CentOS] Don't understand how to re-partition this setup or why it was made like this

Timo Schoeler timo.schoeler at riscworks.net
Mon Apr 1 19:04:06 UTC 2013


On 04/01/2013 09:00 PM, Yves S. Garret wrote:
> Hello,
> 
> I did df -h on my CentOS 6.4 machine.
> 
> $ df -h Filesystem            Size  Used Avail Use% Mounted on 
> /dev/mapper/vg_ysg-lv_root 47G  8.8G   36G  20% / tmpfs
> 948M  372K  947M   1% /dev/shm /dev/sda1             485M   62M  398M
> 14% /boot /dev/mapper/vg_ysg-lv_home 4.6G  2.7G  1.7G  63% /home
> 
> What I don't understand is why is /home so tiny and how can I
> re-partition this without having to nuke and rebuild my machine?

You'd have to resize the logical volumes your FS lives on (here:
vg_ysg-lv_root and vg_ysg-lv_home) and resize the FS as well.

Can be done booting off a rescue medium w/o any problems. Make sure you
do have a complete backup, though.

HTH,

Timo



More information about the CentOS mailing list