Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 6 Oct 1996 11:04:31 +0200 (MET DST)
From:      Andreas Klemm <andreas@klemm.gtn.com>
To:        lray@aurora.liunet.edu
Cc:        QUESTIONS@FreeBSD.org
Subject:   Re: adding new hard drive
Message-ID:  <Pine.BSF.3.95.961006110019.12735K-100000@klemm.gtn.com>
In-Reply-To: <96100516243870@aurora.liunet.edu>

next in thread | previous in thread | raw e-mail | index | archive | help
On Sat, 5 Oct 1996 lray@aurora.liunet.edu wrote:

> Hi all.
> I've added a disk drive to my freebsd system I'm using as a news server.
> I need to add the 2-gig of new space to the /var file system.  Can anyone
> give me an Idea of how to extend te /var file system?

Read the FAQ and the handbook how to disklabel a new harddisk.

Boot single user mode

# swapon -a
# mount -at ufs

newfs the partition on the new drive and mount it to /mnt

# cd /var
# tar cf - . | ( cd /mnt ; tar xvf - )

# umount /var
# umount /mnt

edit fstab, to mount the new var partition to /var

# mount /var

look if it's ok....

# reboot

__
andreas@klemm.gtn.com         /\/\___      Wiechers & Partner Datentechnik GmbH
   Andreas Klemm          ___/\/\/         Support Unix -- andreas.klemm@wup.de
pgp p-key  http://www-swiss.ai.mit.edu/~bal/pks-toplev.html  >>> powered by <<<
ftp://sunsite.unc.edu/pub/Linux/system/Printing/aps-491.tgz  >>>    FreeBSD <<<




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?Pine.BSF.3.95.961006110019.12735K-100000>