Subject: Re: disklabel problems.
To: David Brownlee <abs@netbsd.org>
From: Can Altineller <altine@ee.fit.edu>
List: port-vax
Date: 02/05/2000 22:11:41
yes. I see:

sd0 at scsibus0 targ 2 lun 0: (SEAGATE. ST32430N, 0510) SCSI2 0/direct fixed
sd0 drive offline.

then it starts to spin...

thanks.

-C.A.

> 	What devices are reported by dmesg - do you see an 'sd0'?
> 
> 		David/absolute
> 
> On Fri, 4 Feb 2000, Can Altineller wrote:
> 
> > 
> > 
> > 	Hello;
> > 
> > 	When I run disklabel sd0 I get:
> > 
> > disklabel: ioctl DIOCGDINFO: Operation not supported by device
> > 
> > 	what does this mean? I put in a 2 gig SCSI HD from a sparc machine
> > that was running linux, so it is not a clean drive.
> > 
> > 	Thanks a bunch.
> > 
> > 	-C.A.
> > 	
> > > On Fri, 4 Feb 2000 jkunz@unixag-kl.fh-kl.de wrote:
> > > > On  3 Feb, Can Altineller wrote:
> > > 
> > > > > 	Can someone give me hints please? I understand there must be a
> > > > > edlabel program, or some stuff that comes with the miniroot, but I dont
> > > > > have those. 
> > > 
> > > > Boot the box over the net. Put a disklabel(8) on the disk, newfs(8) the
> > > > patitions, mount(8) them under /mnt.
> > > > [...]
> > > >
> > > > BTW: The easyest way to disklabel a new disk is:
> > > > disklabel sd0 > dl
> > > > vi dl
> > > > disklabel -rR sd0 dl 
> > > > Remember to put partition boundarys on cyliner boundarys.  
> > > 
> > > I'm partial to the "disklabel -i sd0" command.  Of course if you're new to
> > > dealing with BSD disklabels, you'll probably be confused.
> > > 
> > > -brian.
> > > --- Brian Chase | bdc@world.std.com | http://world.std.com/~bdc/ -----
> > > I've said it before, and I'll say it again.  You can diagnose people 
> > > based on where they sit on the bus.  -- K.
> > > 
> > > 
> > 
> 
>