[nylug-talk] resizing a partition without reinstalling
David Rosenstrauch
darose at darose.net
Thu Sep 6 12:52:12 EDT 2007
Steven Lembark wrote:
> C Thala wrote:
>> I have an RHEL 4 (x86_64) server where everything is located in /.
>>
>> I would like to make separate /usr, /var, and /opt partitions.
>
> I normally create a rather small root, with /boot in it,
> and mount the stuff that grows (especially /usr, /home,
> /var) via LVM. If you use xfs then the filesystems can
> be resized while mounted (a lifesaver for /var).
Only problem I've run into here is that some distros need access to /usr
and/or /var at boot time. My distro (Arch) now provides hooks for
booting with LVM volumes, but they didn't always. So I have my box set
up to just put specific disk-hog sub-directories onto LVM (e.g.,
/var/cache, where my package manager places stuff) instead of the entire
/var. Seems to work fine.
DR
More information about the nylug-talk
mailing list