[ILUG] Re: /usr partition full??

From: Colin Whittaker (grimnar at domain redbrick.dcu.ie)
Date: Sat 29 Jan 2000 - 15:38:49 GMT


Dermot Gorman stated the following on Fri, Jan 28, 2000 at 07:30:37PM +0000 :
> What are my options when my /usr partition of ~800MB becomes full and i
> want increase the space by adding a new drive or partition, do i:
>
> a) backup entire /usr partition to a free drive/CD-R and add a new
> drive partition or
> b) Wipe everything and reinstall entire system with larger partitions??
>
> or is there another simpler method?

Install the new disk and make say a new larger partition for
/usr.
make the filesystem on it

from single user mode do the following (or somehting similar)

mkdir /a
mount /dev/{newusr} /a
( cd /usr && tar -cf - .) | (cd /a && tar -xf - )

then change the mount point for /usr in /etc/fstab to the new filesystem
you can then reboot or go to multiuser mode.

-- 
                    +=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=+
                    |  "Crystalline perfection is brittle"  |
                    +=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=+


This archive was generated by hypermail 2.1.6 : Thu 06 Feb 2003 - 13:05:18 GMT