*BSD News Article 90013


Return to BSD News archive

Path: euryale.cc.adfa.oz.au!newshost.carno.net.au!harbinger.cc.monash.edu.au!news.mira.net.au!news.netspace.net.au!news.mel.connect.com.au!munnari.OZ.AU!news.ecn.uoknor.edu!feed1.news.erols.com!news.maxwell.syr.edu!news.mathworks.com!fu-berlin.de!irz401!orion.sax.de!uriah.heep!news
From: j@uriah.heep.sax.de (J Wunsch)
Newsgroups: comp.unix.bsd.freebsd.misc
Subject: Re: problem with adding new filesystems
Date: 23 Feb 1997 01:58:24 GMT
Organization: Private BSD site, Dresden
Lines: 31
Message-ID: <5eo880$9p@uriah.heep.sax.de>
References: <330D559B.41C67EA6@genesis4.sps.mot.com>
Reply-To: joerg_wunsch@uriah.heep.sax.de (Joerg Wunsch)
NNTP-Posting-Host: localhost.heep.sax.de
Mime-Version: 1.0
Content-Type: text/plain; charset=ISO-8859-1
Content-Transfer-Encoding: 8bit
X-Newsreader: knews 0.9.6
X-Phone: +49-351-2012 669
X-PGP-Fingerprint: DC 47 E6 E4 FF A6 E9 8F  93 21 E0 7D F9 12 D6 4E
Xref: euryale.cc.adfa.oz.au comp.unix.bsd.freebsd.misc:36036

hai nguyen <hai@genesis4.sps.mot.com> wrote:

>  I am currently running FBSD 3.0-970209-SNAP and would like to add a new
> disk. I installed my new 1Gb IDE drive as a master drive on the second
> IDE controller. Using the sysinstall utility program as suggested by the
> FBSD FAQ, I created 4 partions ( 400M as DOSFS, 250M, 350M and 40M as
> ufs ). Again using the sysinstall utility, I created 1 filesystem on
> partition number 2, 2 filesystems on partition 3 and the last partition
> is used as a swap filesystem.

Well, that's a fairly unusual setup, btw.  Most people seem to prefer
the BSD partitioning, i.e. create just a single slice for DOS, and
another one for BSD.  Subpartition the latter then.

> accordingly ( wd2s2e, wd2s3e, wd2s3f and wd2s4b ). However when i tried
> to mount any of these filesystem i got an error saying 
> "Incorrect super block."

As somebody else already mentioned: newfs you filesystems first:

	newfs -d0 /dev/rwd2s2e

(The -d0 most likely gives the best performance for a modern disk, but
you might experiment for the best figure.)

-- 
cheers, J"org

joerg_wunsch@uriah.heep.sax.de -- http://www.sax.de/~joerg/ -- NIC: JW11-RIPE
Never trust an operating system you don't have sources for. ;-)