Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 29 Nov 1996 12:27:11 -0800 (PST)
From:      Michael Dillon <michael@memra.com>
To:        freebsd-isp@freebsd.org
Subject:   Re: Adding a disk
Message-ID:  <Pine.BSI.3.93.961129122333.21831P-100000@sidhe.memra.com>
In-Reply-To: <199611291921.LAA24766@orka.linkeasy.net>

next in thread | previous in thread | raw e-mail | index | archive | help

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




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?Pine.BSI.3.93.961129122333.21831P-100000>