From owner-freebsd-questions Sun Oct 6 02:59:02 1996 Return-Path: owner-questions Received: (from root@localhost) by freefall.freebsd.org (8.7.5/8.7.3) id CAA29863 for questions-outgoing; Sun, 6 Oct 1996 02:59:02 -0700 (PDT) Received: from news1.gtn.com (news1.gtn.com [192.109.159.3]) by freefall.freebsd.org (8.7.5/8.7.3) with ESMTP id CAA29853 for ; Sun, 6 Oct 1996 02:58:59 -0700 (PDT) Received: (from uucp@localhost) by news1.gtn.com (8.7.2/8.7.2) with UUCP id LAA24601; Sun, 6 Oct 1996 11:45:30 +0100 (MET) Received: from localhost (localhost [127.0.0.1]) by klemm.gtn.com (8.7.6/8.7.3) with SMTP id LAA14378; Sun, 6 Oct 1996 11:04:31 +0200 (MET DST) Date: Sun, 6 Oct 1996 11:04:31 +0200 (MET DST) From: Andreas Klemm To: lray@aurora.liunet.edu cc: QUESTIONS@FreeBSD.org Subject: Re: adding new hard drive In-Reply-To: <96100516243870@aurora.liunet.edu> Message-ID: X-try-apsfilter: ftp://sunsite.unc.edu/pub/Linux/system/Printing/aps-491.tgz X-Fax: +49 2137 2018 X-Phone: +49 2137 2020 MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-questions@FreeBSD.org X-Loop: FreeBSD.org Precedence: bulk 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 <<<