Return to BSD News archive
Path: euryale.cc.adfa.oz.au!newshost.carno.net.au!harbinger.cc.monash.edu.au!news.mel.connect.com.au!munnari.OZ.AU!news.Hawaii.Edu!news.uoregon.edu!hammer.uoregon.edu!news-peer.gsl.net!news.gsl.net!newspump.sol.net!ddsw1!news.mcs.net!in-news.erinet.com!bug.rahul.net!rahul.net!a2i!samba.rahul.net!rahul.net!a2i!news.vbc.net!vbcnet-west!news.mira.net.au!vic.news.telstra.net!sa.news.telstra.net!nsw1.news.telstra.net!kettle.magna.com.au!usenet
From: wardb@xplus.com.AU (Ward D. Britton)
Newsgroups: comp.unix.bsd.freebsd.misc
Subject: adding second ide hard disk to freebsd 2.0.5-RELEASE (FAQ doesnt seem to work!)
Date: 4 Nov 1996 05:30:47 GMT
Organization: X + Open Systems Pty. Ltd.
Lines: 74
Message-ID: <55jv27$brb@kettle.magna.com.au>
NNTP-Posting-Host: xrated.xplus.com.au
Mime-Version: 1.0
Content-Type: Text/Plain; charset=ISO-8859-1
X-Newsreader: WinVN 0.99.5
I have read and tried the FAQ instructions in respect to adding a second IDE
hard disk to our 2.0.5-RELEASE freebsd system, without success.
I have added hard disks to other UNIX operating systems with no problems, so
am fairly familiar with the concepts... eg. partition->divisions(or
slices)->partitions(or filesystems).... fdisk/disklabel/newfs
But this just doesnt seem to be happening for me, so I turn to the wisdom of
the Net once again...
I have done the following:-
ran /stand/sysinstall
selected the second drive
setup a partition
labelled the disk
installed the GNU info files on it
--> This all ran without error, sysinstall (apparently)did the FDISK and
disklabel and indicated that the parition (just a single one for the entire
disk) was wd1s4e.
sysinstall said "Install completed SUCCESSFULLY" but I cant see how it has,
because all that seemed to happen was a MAKEDEV which re-generated the *wd1*
entries and the *wd1s4? entries...
..
After which I cannot read the disk label.
disklabel -r wd1 produces the following error:-
Bad pack magic number (label is damaged, or pack is unlabeled
I created an /etc/disktab entry with the correct drive geometry and tried to
write a label to the drive with 'disklabel wd1 <entry_name>' which produces
the following error:-
disklabel: ioctl DIOCWDINFO: Label magic number or checksum is wrong!
(disklabel or kernel is out of date?)
I cannot mount or run newfs on this drive. (without a valid disk label I can
understand...)
When trying newfs on the wd1s4e partition, I get an 'Invalid argument' error
message.
I appear to be able to see the drive via FDISK, because it reports some valid
parameters... here is the output of 'fdisk /dev/rwd1'
parameters extracted from in-core disklabel are:
cylinders=1654 heads=32 sectors/track=1 (32 blks/cyl)
Figures below won't work with BIOS for partitions not in cyl 1
parameters to be used for BIOS calculations are:
cylinders=1654 heads=32 sectors/track=1 (32 blks/cyl)
Warning: BIOS sector numbering starts with sector 1
Information from DOS bootblock is:
The data for partition 0 is:
<UNUSED>
The data for partition 1 is:
<UNUSED>
The data for partition 2 is:
<UNUSED>
The data for partition 3 is:
sysid 165,(FreeBSD/NetBSD/386BSD)
start 1, size 1665153 (813 Meg), flag 80
beg: cyl 0/ sector 2/ head 0;
end: cyl 825/ sector 1/ head 31
We really need to get this second drive online because we are at ~75%
capacity now.
Any tips or assistance you may be able to provide will be certainly
appreciated.
Would you please email any responses to me (wardb@xplus.com.au)
If required, I can post a followup.
--
Ward D. Britton