*BSD News Article 50544


Return to BSD News archive

Path: euryale.cc.adfa.oz.au!newshost.anu.edu.au!harbinger.cc.monash.edu.au!simtel!news.kei.com!news.mathworks.com!gatech!howland.reston.ans.net!vixen.cso.uiuc.edu!sdd.hp.com!hplabs!unix.sri.com!csl.sri.com!news!gilham
From: gilham@lily.csl.sri.com (Fred Gilham)
Newsgroups: comp.unix.bsd.freebsd.misc
Subject: Adding second disk drive
Date: 30 Aug 1995 01:08:29 GMT
Organization: Computer Science Lab, SRI International
Lines: 33
Message-ID: <GILHAM.95Aug29180829@lily.csl.sri.com>
NNTP-Posting-Host: lily.csl.sri.com


Hello,

I'm setting up a `net server' FreeBSD box (I hope to be followed by a
couple more for use as file servers) and I need to add multiple disks.

I`ve added a Seagate 4gb hawk drive to the system and struggled with
it this afternoon to get it labeled so I could newfs it.  I get
various error messages, such as 

Aug 29 17:40:03 phlox /kernel: sd1: raw partition size != slice size
Aug 29 17:40:03 phlox /kernel: sd1: start 32, end 8385898, size 8385867
Aug 29 17:40:03 phlox /kernel: sd1c: start 32, end 8380931, size 8380900

and an error from newfs about the calculated sectors/cylender not
matching the disk label.  But things seem to work.

However, this all makes me nervous.  Is there a step-by-step
description of how to add a new disk?  I've gone from dos fdisk to
FreeBSD fdisk to disklabel and back again trying to get everything to
work, and the process doesn't seem real clean.  There is nothing in
the FreeBSD FAQ or handbook or anywhere else that I can find.

What I'd like is a description of the process of getting from a
pristine disk, untouched by DOS or anything else, to a disk that
FreeBSD can mount.

Thanks,
-- 
Fred Gilham                                             gilham@csl.sri.com
King Christ, this world is all aleak, / And life preservers there are none,
And waves that only He may walk / Who dared to call Himself a man.
-- e. e. cummings, from Jehovah Buried, Satan Dead