From owner-freebsd-isp Fri Nov 29 12:31:16 1996 Return-Path: owner-isp Received: (from root@localhost) by freefall.freebsd.org (8.7.5/8.7.3) id MAA05299 for isp-outgoing; Fri, 29 Nov 1996 12:31:16 -0800 (PST) Received: from pinky.junction.net (pinky.junction.net [199.166.227.12]) by freefall.freebsd.org (8.7.5/8.7.3) with SMTP id MAA05294 for ; Fri, 29 Nov 1996 12:31:14 -0800 (PST) Received: from sidhe.memra.com (sidhe.memra.com [199.166.227.105]) by pinky.junction.net (8.6.12/8.6.12) with ESMTP id MAA28594 for ; Fri, 29 Nov 1996 12:47:18 -0800 Received: from localhost (michael@localhost) by sidhe.memra.com (8.6.12/8.6.12) with SMTP id MAA28026 for ; Fri, 29 Nov 1996 12:27:12 -0800 Date: Fri, 29 Nov 1996 12:27:11 -0800 (PST) From: Michael Dillon To: freebsd-isp@freebsd.org Subject: Re: Adding a disk In-Reply-To: <199611291921.LAA24766@orka.linkeasy.net> Message-ID: Organization: Memra Software Inc. - Internet consulting MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-isp@freebsd.org X-Loop: FreeBSD.org Precedence: bulk On Fri, 29 Nov 1996, Mike Parks wrote: > I just setup a news server. It has two disks now. > > /dev/hda1 /root 700Mb > /dev/hda2 /swap 40Mb > > /dev/sda1 /var/spool 1gig > > I want to put a 4 gig drive on and move /var/spool to it and remove the 1gig > scsi that is currently /var/spool. > > Do I just mount the 4 gig as /mnt then mv /var/spool over ? ctlinnd shutdown now mount /dev/sdb1 /mnt cd /var/spool tar cf - . |(cd /mnt;tar xf -) cd / umount /mnt umount /var/spool mount /dev/sdb1 /var/spool /etc/rc.news vi /etc/fstab # make sure to change the entry for /var/spool here Of course you should leave the old 1gig drive in place and move your history files to it. Also you should create a subdirectory on the one gig drive and change the overview in newsfeeds and expire to use this new overview partition. The IDE drive should do nothing but swap and root partition. Michael Dillon - ISP & Internet Consulting Memra Software Inc. - Fax: +1-604-546-3049 http://www.memra.com - E-mail: michael@memra.com