[ILUG] Re: /usr partition full??

Colin Whittaker grimnar at redbrick.dcu.ie
Sat Jan 29 15:38:49 GMT 2000


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"  |
                    +=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=+




More information about the ILUG mailing list