Re: Resize /usr partition without resinstall

2004-12-06 Thread Malcolm Kay
On Mon, 6 Dec 2004 02:38 am, Trey Sizemore wrote:
 I've got an 80GB drive partitioned as follows:

 salamander# df -h
 Filesystem SizeUsed   Avail Capacity  Mounted on
 /dev/ad0s1a496M 35M421M 8%/
 devfs  1.0K1.0K  0B   100%/dev
 /dev/ad0s1g 64G262M 58G 0%/home
 /dev/ad0s1d496M 54K456M 0%/tmp
 /dev/ad0s1e3.9G3.0G559M85%/usr
 /dev/ad0s1f4.8G114M4.3G 2%/var


This does not show how the drive or even the slice is partitioned
It only shows what is in the partitions.

How it is partitioned is shown by disklabel or bsdlabel.

 Is it possible to get more space for /usr by either allocating space
 from /home or by providing a symlink to a partition on home?

Worthwhile suggestions for re-configuring need disklabel output.
But you can easily move some parts some parts (trees) of /usr elswhere
and symlink back to the normal position in /usr. In particular the 
/usr/ports and /usr/src trees come to mind 

Or of course you can rebuild any configuration you want in a virgin system
and then restore from your backup ;)

Malcolm

 Thanks.

 ___
 [EMAIL PROTECTED] mailing list
 http://lists.freebsd.org/mailman/listinfo/freebsd-questions
 To unsubscribe, send any mail to
 [EMAIL PROTECTED]

___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Resize /usr partition without resinstall

2004-12-05 Thread Trey Sizemore
I've got an 80GB drive partitioned as follows:

salamander# df -h
Filesystem SizeUsed   Avail Capacity  Mounted on
/dev/ad0s1a496M 35M421M 8%/
devfs  1.0K1.0K  0B   100%/dev
/dev/ad0s1g 64G262M 58G 0%/home
/dev/ad0s1d496M 54K456M 0%/tmp
/dev/ad0s1e3.9G3.0G559M85%/usr
/dev/ad0s1f4.8G114M4.3G 2%/var

Is it possible to get more space for /usr by either allocating space
from /home or by providing a symlink to a partition on home?

Thanks.

___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]