Return to BSD News archive
Path: euryale.cc.adfa.oz.au!newshost.anu.edu.au!harbinger.cc.monash.edu.au!simtel!news.kei.com!news.mathworks.com!newsfeed.internetmci.com!news.dacom.co.kr!news.kreonet.re.kr!overload.lbl.gov!gracie.lbl.gov!jin From: jin@gracie.lbl.gov (Jin Guojun[ITG]) Newsgroups: comp.unix.bsd.freebsd.misc Subject: help on labeling non-labeled new scsi disk Date: 17 Oct 1995 22:49:32 GMT Organization: Lawrence Berkeley Laboratory Lines: 55 Message-ID: <461btt$34q@overload.lbl.gov> NNTP-Posting-Host: gracie.lbl.gov I had problems using disklabel to label some brand new SCSI disks. I am using 2.1-951005-SNAP. I have not tried it on 2.0.5-RELEASE. # disklabel -r sd2c disklabel: /dev/rsd2c: No such file or directory FreeBSD# disklabel -r sd2 disklabel: /dev/rsd2c: Undefined error: 0 FreeBSD# disklabel -W sd2 FreeBSD# disklabel -r sd2 disklabel: /dev/rsd2c: Undefined error: 0 FreeBSD# disklabel -w sd2 ST15230N disklabel: ioctl DIOCWDINFO: No disk label on disk; use "disklabel -r" to install initial label FreeBSD# disklabel -w -r sd2 ST15230N disklabel: /dev/rsd2c: No such file or directory FreeBSD# dmesg ... ncr0 <ncr 53c810 scsi> rev 2 int a irq 10 on pci0:10 ncr0: restart (scsi reset). ncr0 scanning for targets 0..6 (V2 pl22 95/07/07) ncr0 waiting for scsi devices to settle (ncr0:0:0): "SEAGATE ST15230N 0298" type 0 fixed SCSI 2 sd0(ncr0:0:0): Direct-Access sd0(ncr0:0:0): FAST SCSI-2 100ns (10 Mb/sec) offset 8. 4095MB (8386733 512 byte sectors) (ncr0:1:0): "SEAGATE ST15230N 0298" type 0 fixed SCSI 2 sd1(ncr0:1:0): Direct-Access sd1(ncr0:1:0): FAST SCSI-2 100ns (10 Mb/sec) offset 8. 4095MB (8386733 512 byte sectors) ncr1 <ncr 53c810 scsi> rev 2 int a irq 11 on pci0:12 ncr1: restart (scsi reset). ncr1 scanning for targets 0..6 (V2 pl22 95/07/07) ncr1 waiting for scsi devices to settle (ncr1:0:0): "SEAGATE ST15230N 0298" type 0 fixed SCSI 2 sd2(ncr1:0:0): Direct-Access sd2(ncr1:0:0): FAST SCSI-2 100ns (10 Mb/sec) offset 8. 4095MB (8386733 512 byte sectors) (ncr1:1:0): "SEAGATE ST15230N 0298" type 0 fixed SCSI 2 sd3(ncr1:1:0): Direct-Access sd3(ncr1:1:0): FAST SCSI-2 100ns (10 Mb/sec) offset 8. 4095MB (8386733 512 byte sectors) There are two disk are labeled at installation time; so they can be recognized. There are other two disks not labeled, and won't be labeled after installation at all. Is there any way to label these new disks under FreeBSD? Thanks for any advice. -- /-------------- Jin Guojun ------------ v ---- Internet: g_jin@lbl.gov ----\ | Imaging & Distributed Computing | Usenet: ucbvax!g_jin@lbl.gov | | Lawrence Berkeley Laboratory | Bitnet: -- | | 50B-2239, Berkeley, CA 94720 - jin%george.lbl.gov@Csa3.LBL.Gov |