[rhn-users] manipulating linux partitions
Brian T. Brunner
brian.t.brunner at gai-tronics.com
Tue Aug 24 17:18:11 UTC 2004
One solution is parted (man parted)
This does not look like an easy path since your root partition (hda7) is
between your var (hda6) and usr (hda8) partitions.
The easy way is to get a new hard drive as large as or larger than your
current drive, partition it, and copy the current drive partitions onto it.
Then your current drive becomes a backup (do you have another backup
mechanism? a spare hard drive is probably the fastest and cheapest
backup method on the market.)
Perhaps easier still is to move some of the larger directories on /var onto
/usr and put symlinks in /var pointing to /usr.
Brian Brunner
brian.t.brunner at gai-tronics.com
(610)796-5838
>>> mtran at opsec.usda.gov 08/24/04 12:16PM >>>
I have redhat enterprise WS installed on my computer partitioned as
shown below. How do i manipulate partitions and resize them? Example,
how do i reduce /usr and expand /var. Thanks in advance for any inputs.
Filesystem Size Used Avail Use% Mounted on
/dev/hda7 1012M 275M 686M 29% /
none 0 0 0 - /proc
none 0 0 0 - /dev/pts
usbdevfs 0 0 0 - /proc/bus/usb
/dev/hda1 1012M 38M 923M 4% /boot
/dev/hda2 20G 1.4G 17G 8% /home
none 503M 0 503M 0% /dev/shm
/dev/hda3 2.0G 61M 1.9G 4% /tmp
/dev/hda8 48G 2.5G 43G 6% /usr
/dev/hda6 1012M 313M 648M 33% /var
System Info:
redhat-release-3WS-7.2
Linux 2.4.21-15.EL i386 GNU/Linux
_______________________________________________
rhn-users mailing list
rhn-users at redhat.com
https://www.redhat.com/mailman/listinfo/rhn-users
*******************************************************************
This email and any files transmitted with it are confidential and
intended solely for the use of the individual or entity to whom they
are addressed. If you have received this email in error please notify
the system manager.
This footnote also confirms that this email message has been swept
for the presence of computer viruses.
www.hubbell.com - Hubbell Incorporated
More information about the rhn-users
mailing list