*BSD News Article 30446


Return to BSD News archive

Newsgroups: comp.os.386bsd.questions
Path: sserve!newshost.anu.edu.au!harbinger.cc.monash.edu.au!bunyip.cc.uq.oz.au!munnari.oz.au!constellation!osuunx.ucc.okstate.edu!newsfeed.ksu.ksu.edu!moe.ksu.ksu.edu!hobbes.physics.uiowa.edu!math.ohio-state.edu!howland.reston.ans.net!pipex!bt!uknet!EU.net!uunet!world!mcgovern
From: mcgovern@world.std.com (Brian J McGovern)
Subject: Second disk...
Message-ID: <CppBt8.A4C@world.std.com>
Organization: The World Public Access UNIX, Brookline, MA
Date: Thu, 12 May 1994 18:10:19 GMT
Lines: 33

I'm sure that this is a fairly straight forward question, so I'll make it a
little more complex. I added a second drive - a duplicate of my primary
drive (ie - added a wd1 with the same specs as wd0). I did a 
disktab -r -w wd1 QUANTUM_LPS to label the disk (disktab information to 
follow). This set the drive up with several partions of various size (root,
swap, etc). However, /dev/wd1c and /dev/wd1d seemed to be the "whole drive" in
one partition, which is what I want to mount. I then do a 
"mount /dev/wd1c /usr2" to mount the disk... The problems I'm having are:

1.) Is it really "safe" to do this? I newfs'ed the drive, and it seems to
be working ok. Even test reads/writes work fine so far. I just don't want
to dump a bunch of data on there, and have it go bad.

2.) When I do a df to see how much space I have, I get slightly more than
100,000 1K "blocks" on the drive, 0 used (the drive is still empty, so this
number seems ok),, then 93,000 or so blocked free. Why is there the 7000 or
so difference? Just wondering...


BTW, heres the disktab entry.:

QUANTUM_LPS|FreeBSD installation generated:\
	:dt=ST506:ty=winchester:\
	:nc#901:ns#17:nt#15:\
	:se#512:\
	:pa#30600:oa#255:ta=4.2BSD:ba#4096:fa#512:\
	:pb#17850:ob#30855:tb=swap:\
	:pc#229500:oc#255:\
	:pe#181050:oe#48705:te=4.2BSD:be#4096:fe#512:\
	:pd#229755:od#0:

Modifications are always welcome.
	-Brian