From owner-freebsd-questions Wed Dec 23 08:02:00 1998 Return-Path: Received: (from majordom@localhost) by hub.freebsd.org (8.8.8/8.8.8) id IAA03346 for freebsd-questions-outgoing; Wed, 23 Dec 1998 08:02:00 -0800 (PST) (envelope-from owner-freebsd-questions@FreeBSD.ORG) Received: from cc942873-a.ewndsr1.nj.home.com (cc942873-a.ewndsr1.nj.home.com [24.2.89.207]) by hub.freebsd.org (8.8.8/8.8.8) with ESMTP id IAA03321 for ; Wed, 23 Dec 1998 08:01:58 -0800 (PST) (envelope-from cjc@cc942873-a.ewndsr1.nj.home.com) Received: (from cjc@localhost) by cc942873-a.ewndsr1.nj.home.com (8.8.8/8.8.8) id LAA02844 for freebsd-questions@FreeBSD.ORG; Wed, 23 Dec 1998 11:02:34 -0500 (EST) (envelope-from cjc) From: "Crist J. Clark" Message-Id: <199812231602.LAA02844@cc942873-a.ewndsr1.nj.home.com> Subject: Formatting and Labeling Jaz Disk To: freebsd-questions@FreeBSD.ORG (FreeBSD Questions) Date: Wed, 23 Dec 1998 11:02:34 -0500 (EST) Reply-To: cjclark@home.com X-Mailer: ELM [version 2.4ME+ PL40 (25)] MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG I am trying to format a Jaz disk. From what I gather from the manpages, the first step is to label the disk. The 'disklabel' manpage says, For a virgin disk that is not known to disktab(5), disktype can be spec- ified as ``auto''. In this case, the driver is requested to produce a virgin label for the disk. This might or might not be successful, de- pending on whether the driver for the disk is able to get the required data without reading anything from the disk at all. It will likely suc- ceed for all SCSI disks, most IDE disks, and vnode devices. Writing a label to the disk is the only supported operation, and the disk itself must be provided as the canonical name, i.e. not as a full path name. Since my Jaz drive is a SCSI device, I try the following command and get the response below it, # disklabel -r sd0s4 auto disklabel: ioctl DIOCGDINFO: Invalid argument But the following pops up on the console, sd0(ahc0:4:0): UNIT ATTENTION asc:28,0 sd0(ahc0:4:0): Not ready to ready transition, medium may have changed sd0(ahc0:4:0): ILLEGAL REQUEST asc:24,0 Invalid field in CDB sd0 could not mode sense (4). Using fictitious geometry What am I doing incorrectly? The manpage says it should 'likely' succeed. Is this one of those other cases? Does anyone have a disktab entry for a Jaz drive in that case? Thanks for any help. -- Crist J. Clark cjclark@home.com To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message