Date: Sun, 30 Apr 2000 11:05:34 -0600 From: Chris Fedde <chris@fedde.littleton.co.us> To: "Noor Dawod" <noor@comrax.com> Cc: questions@FreeBSD.ORG Subject: Re: Partitions? Message-ID: <200004301705.e3UH5Yb42639@fedde.littleton.co.us> In-Reply-To: <AJEKICLEDNDCBKDJGHGFIEMNCHAA.noor@comrax.com>
next in thread | previous in thread | raw e-mail | index | archive | help
On Sun, 30 Apr 2000 10:57:16 +0200 "Noor Dawod" wrote:
+------------------
| Hello,
|
| How can I create new partitions on a living system? I have a 4.0-STABLE
| system.
| (sysinstall says there are no disks, thus I cannot use it)
|
| Noor
+------------------
You can't create a new partition on a disk that is fully used. To
split up an existing partition you have to first back up everything
on it. Then repartition and newfs the new partitions then update
/etc/fstab to know about the new partitions then recover the data
from backup.
If you simply need to free up some space on a near full partition,
and you have plenty of space on a different partition. Then you
can move less critical hierarchies to the other partition and
making a symbolic link to the new place. Say for example that
/usr/ports was huge and you had a /home partition that has plenty
of space. Here is a command sequence that I would use to do this.
mkdir /home/usr.ports
cd /usr/ports
pax -rwvpe * /home/usr.ports
mv /usr/ports /usr/ports-
ln -s /home/usr.ports /usr/ports
rm -r /usr/ports
Some other thoughts: Your boot drive should always have the following
hierarchies on it: dev, bin, root, boot, sbin, etc, stand, modules.
Good luck
chris
--
Chris Fedde
303 773 9134
To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-questions" in the body of the message
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200004301705.e3UH5Yb42639>
