*BSD News Article 17680


Return to BSD News archive

Path: sserve!newshost.anu.edu.au!munnari.oz.au!constellation!osuunx.ucc.okstate.edu!moe.ksu.ksu.edu!ux1.cso.uiuc.edu!howland.reston.ans.net!math.ohio-state.edu!caen!malgudi.oar.net!news.ysu.edu!usenet.mcs.kent.edu!bsa3.kent.edu!GSPIEGEL
From: GSPIEGEL@bsa3.kent.edu (Greg Spiegelberg)
Newsgroups: comp.os.386bsd.questions
Subject: [NetBSD] Problem with disklabel'ing a 2nd drive
Date: Tue, 29 Jun 1993 16:19:00 GMT
Organization: Kent State University, School of Business Administration
Lines: 36
Distribution: world
Message-ID: <GSPIEGEL.81.741370739@bsa3.kent.edu>
NNTP-Posting-Host: bsabootp2.kent.edu
Summary: problems
Keywords: disklabel


I've been trying to get a second drive going on our machine here and
disklabel is giving me the worst time.

1) I let diskpart give me it's version of how it thinks the drive 
   should be partitioned and then add it to the /etc/disktab, so 
   there shouldn't be any problems there.

2) I cd /dev and do the 'disklabel -w wd1 maxtor7245'.  What I get
   back is this...

   disklabel: ioctl DIOCWDINFO: No disk label on disk;
   use 'disklabel -r' to install initial label

   This makes no sense. The -r option only reads the drive info.  
   Secondly, I have no idea what the error message means so I'm not 
   sure what it wants.

3) If I try to proceed from there doing the 'newfs rwd1a', the 1st 
   time it is done to a partition it gives me...

   newfs: ioctl (WDINFO): No such process
   newfs: /dev/rwd1a: can't rewrite disk label

   If I do it a second time it works just fine and I'm able to mount 
   the partition.  (I know I should add it to the /etc/fstab file & 
   reboot, but I'm afraid it won't come back up.)

Anyone have any ideas what's going on here?

-Greg

-----
gspiegel@bsa3.kent.edu
gspiegel@mcs.kent.edu
greg@dell.kent.edu