From owner-freebsd-questions  Sun Mar  9 13:11:59 1997
Return-Path: <owner-questions>
Received: (from root@localhost)
          by freefall.freebsd.org (8.8.5/8.8.5) id NAA12394
          for questions-outgoing; Sun, 9 Mar 1997 13:11:59 -0800 (PST)
Received: from proxy2.ba.best.com (root@proxy2.ba.best.com [206.184.139.13])
          by freefall.freebsd.org (8.8.5/8.8.5) with ESMTP id NAA12388
          for <questions@freebsd.org>; Sun, 9 Mar 1997 13:11:56 -0800 (PST)
Received: from shellx.best.com (shellx.best.com [206.86.0.11]) by proxy2.ba.best.com (8.8.5/8.8.3) with SMTP id NAA08926; Sun, 9 Mar 1997 13:10:55 -0800 (PST)
Date: Sun, 9 Mar 1997 13:10:55 -0800 (PST)
From: Burton Sampley <bsampley@best.com>
To: The Hermit Hacker <scrappy@hub.org>
cc: questions@freebsd.org
Subject: Re: disklabel problems
In-Reply-To: <Pine.BSF.3.95.970308223749.301A-100000@thelab.hub.org>
Message-ID: <Pine.SGI.3.95.970309130902.12940A-100000@shellx.best.com>
MIME-Version: 1.0
Content-Type: TEXT/PLAIN; charset=US-ASCII
Sender: owner-questions@freebsd.org
X-Loop: FreeBSD.org
Precedence: bulk

Check out FAQ 2.16 from http://www.freebsd.org
(http://www.freebsd.org/FAQ/FAQ37.html#37). This FAQ walks you through
adding a new hard drive to your system. 

Hope this helps.

Burton

On Sat, 8 Mar 1997, The Hermit Hacker wrote:

> 
> Hi...
> 
> 	I've just plugged in two newish drives into my machine, and can't
> get a label written to disk using disklabel.
> 
> 	The system has two NCR SCSI controllers in it, and I'm able to 
> edit the disklabel's on the previously existing drives, but I can't
> do a disklabel on either sd2 or sd6, which are the two new drives...
> 
> ncr0 <ncr 53c810 scsi> rev 2 int a irq 12 on pci0:11
> (ncr0:0:0): "SEAGATE ST32151N 0284" type 0 fixed SCSI 2
> sd0(ncr0:0:0): Direct-Access 
> sd0(ncr0:0:0): FAST SCSI-2 100ns (10 Mb/sec) offset 8.
> 2049MB (4197405 512 byte sectors)
> (ncr0:1:0): "CONNER CFP1060S 1.05GB 243F" type 0 fixed SCSI 2
> sd1(ncr0:1:0): Direct-Access 
> sd1(ncr0:1:0): FAST SCSI-2 100ns (10 Mb/sec) offset 8.
> 1013MB (2074880 512 byte sectors)
> (ncr0:2:0): "SEAGATE ST3390N 9571" type 0 fixed SCSI 2
> sd2(ncr0:2:0): Direct-Access 
> sd2(ncr0:2:0): FAST SCSI-2 100ns (10 Mb/sec) offset 8.
> 324MB (665154 512 byte sectors)
> ncr1 <ncr 53c810 scsi> rev 1 int a irq 11 on pci0:13
> (ncr1:0:0): "QUANTUM FIREBALL1280S 630C" type 0 fixed SCSI 2
> sd3(ncr1:0:0): Direct-Access 
> sd3(ncr1:0:0): FAST SCSI-2 100ns (10 Mb/sec) offset 8.
> 1222MB (2503872 512 byte sectors)
> (ncr1:1:0): "QUANTUM LPS340S 020B" type 0 fixed SCSI 2
> sd4(ncr1:1:0): Direct-Access 
> sd4(ncr1:1:0): FAST SCSI-2 100ns (10 Mb/sec) offset 8.
> 327MB (670506 512 byte sectors)
> (ncr1:2:0): "QUANTUM LP240S GM240S01X 4.6" type 0 fixed SCSI 2
> sd5(ncr1:2:0): Direct-Access 
> sd5(ncr1:2:0): FAST SCSI-2 100ns (10 Mb/sec) offset 8.
> 234MB (479350 512 byte sectors)
> (ncr1:6:0): "QUANTUM LP240S GM240S01X 6.4" type 0 fixed SCSI 2
> sd6(ncr1:6:0): Direct-Access 
> sd6(ncr1:6:0): FAST SCSI-2 100ns (10 Mb/sec) offset 8.
> 234MB (479350 512 byte sectors)
> 
> 
> 	I've read through the man pages, I *think* I have the right format
> for disklabel...and have tried the following on both of the drives:
> 
> hub# disklabel sd6
> disklabel: ioctl DIOCGDINFO: Invalid argument
> hub# disklabel -r sd6
> disklabel: /dev/rsd6c: Undefined error: 0
> hub# disklabel -w -r sd6 auto
> disklabel: /dev/rsd6c: Undefined error: 0
> 
> 	Since dmesg/bootup finds the drives, and is able to probe them,
> I'm assuming that I, in fact, am using the wrong format for disklabel...
> 
> 	Can anyone comment on this?  If it something I'm overlooking?
> 
> Thanks for any help...
> 
> 
>