*BSD News Article 46378


Return to BSD News archive

Path: sserve!newshost.anu.edu.au!harbinger.cc.monash.edu.au!simtel!daffy!uwvax!uwm.edu!lll-winken.llnl.gov!hookup!news.mathworks.com!gatech!news.uoregon.edu!news.u.washington.edu!NewsWatcher!user
From: kargl@apl.washington.edu (steve)
Newsgroups: comp.unix.bsd.freebsd.misc
Subject: Re: How do I add a drive?
Date: Mon, 03 Jul 1995 09:40:23 -0800
Organization: University of Washington
Lines: 35
Message-ID: <kargl-0307950940230001@128.95.97.183>
References: <3t0ncq$5o9@buffnet2.buffnet.net> <coveDB24AH.2Fs@netcom.com>
NNTP-Posting-Host: mac-pal.apl.washington.edu

In article <coveDB24AH.2Fs@netcom.com>, cove@netcom.com (Cove Schneider) wrote:

> Superuser (root@buffnet.net) wrote:
> 
> : I have an installed FreeBSD system that I would now like to add another 
> : scsi drive to.
> 
> : Can someone point me to where I can find out how to do this without 
> : trashing the partitions that are currently there?
> 
> : I cant find reference to this in the FAQ's.
> 
> : Any help is appreciated.
> 
> man 5 fstab

I think you forgot to point out that you need disklabel and newfs.   I
suggest you look
in chapter 12 of Nemeth, Synder and Seebass's book, "Unix System Administration 
Handbook."

(1) Install the scsi drive in the machine.  Make sure you get the
termination of the
scsi chain correct.

(2) Fdisk.  If you want multiple slices on the drive (for different OSs),
then use fdisk
to create the slices.

(3) Disklabel the FreeBSD slice.  This divides the slice into the  "usual
Un*x partitions".

(4) Newfs each of the individual partitions.

(5) If you want each partition mounted at boot, then you want to look at fstab.