From owner-freebsd-questions@FreeBSD.ORG Wed Mar 2 09:42:48 2005 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 7C3B416A4CE for ; Wed, 2 Mar 2005 09:42:48 +0000 (GMT) Received: from fed1rmmtao11.cox.net (fed1rmmtao11.cox.net [68.230.241.28]) by mx1.FreeBSD.org (Postfix) with ESMTP id 0F59E43D5A for ; Wed, 2 Mar 2005 09:42:48 +0000 (GMT) (envelope-from glightsey1@cox.net) Received: from geraldligh ([68.7.148.88]) by fed1rmmtao11.cox.net (InterMail vM.6.01.04.00 201-2131-118-20041027) with ESMTP id <20050302094248.RZTA22013.fed1rmmtao11.cox.net@geraldligh>; Wed, 2 Mar 2005 04:42:48 -0500 From: "Gerald Lightsey" To: "'Nathan Kinkade'" Date: Wed, 2 Mar 2005 01:42:40 -0800 MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit X-Mailer: Microsoft Office Outlook, Build 11.0.6353 In-Reply-To: <20050228180409.GR10499@gentoo-npk.bmp.ub> X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2900.2527 Thread-Index: AcUdv+lM3mXdGPCdRZqgDaVrEjwHKgBSpdQw Message-Id: <20050302094248.RZTA22013.fed1rmmtao11.cox.net@geraldligh> cc: freebsd-questions@freebsd.org Subject: RE: What am I doing wrong with MOUNT? X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 02 Mar 2005 09:42:48 -0000 Nathan Kinkade said... > Here is quick rundown on how you could achieve your goal: > > 1) Mount the new disk at at /mnt with something like: > # mount /dev/ad1s1a /mnt > 2) Copy everything from your original /var partition to the new one: > # cd /var && tar cf - ./ | (cd /mnt && tar xvpf -) > 3) Edit /etc/fstab from something like: > /dev/ad0s1e /var ufs defaults 1 2 > to: > /dev/ad1s1a /var ufs defaults 1 2 > 4) Unmount old partition from /var and mount new one at /var: > # umount /var && mount /var > > Also, you may want to reallocate the partition formerly mounted at /var for something else? Your advice was right on thank you very much. Actually step #4 was automatically handled by step #3. Regarding reallocation of space formerly occupied by /var on /dev/ad0s2d, is there a way to reallocate it back to one of the other existing partitions or do you mean only to use it as is for something else? Gerald