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

Mon Apr 1 19:23:36 UTC 2013
m.roth at 5-cent.us <m.roth at 5-cent.us>

Yves S. Garret wrote:
> Hi, thanks for your response.
>
> One more question.  Would I need to have logical volumes or can I get away
> with having one massive volume/partition and then have everything on
> that one partition?
>
> In the interim I'll have a directory in / that I can use to just dump
> stuff in and will rebuild my machine at a later date.
>
You can - in fact, that's what we do here at work... BUT: we have *all*
home directories NFS mounted, and we do online backups on mounted
filesystems that are NOT /. It's really ugly when /var/log fills up /

      mark

PS: please don't top post.

> On Mon, Apr 1, 2013 at 3:04 PM, Timo Schoeler
> <timo.schoeler at riscworks.net>wrote:
>
>> 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
>> _______________________________________________
>> CentOS mailing list
>> CentOS at centos.org
>> http://lists.centos.org/mailman/listinfo/centos
>>
> _______________________________________________
> CentOS mailing list
> CentOS at centos.org
> http://lists.centos.org/mailman/listinfo/centos
>