Date: Mon, 10 Feb 2003 23:52:13 -0500 (EST) From: Pete Toscano <pete-freebsd-pr@toscano.org> To: FreeBSD-gnats-submit@FreeBSD.org Subject: kern/48165: Problem accessing /dev/ar2 with disklabel Message-ID: <200302110452.h1B4qDZV012266@archive.toscano.org>
next in thread | raw e-mail | index | archive | help
>Number: 48165 >Category: kern >Synopsis: Problem accessing /dev/ar2 with disklabel >Confidential: no >Severity: non-critical >Priority: medium >Responsible: freebsd-bugs >State: open >Quarter: >Keywords: >Date-Required: >Class: sw-bug >Submitter-Id: current-users >Arrival-Date: Mon Feb 10 21:00:27 PST 2003 >Closed-Date: >Last-Modified: >Originator: Pete Toscano >Release: FreeBSD 4.7-STABLE i386 >Organization: >Environment: System: FreeBSD archive.toscano.org 4.7-STABLE FreeBSD 4.7-STABLE #8: Sat Jan 4 08:37:10 EST 2003 root@:/usr/obj/usr/src/sys/ARCHIVE i386 600MHz PIII Promise ATA100 controller Promise TX2 ATA133 controller 3 IBM 30G hard drives, identical models. >Description: 3 IBM hard drives, A, B, and C. A contains the OS info and MP3s and digital pictures. B and C are to be made into a Vinum mirrored RAID volume. In order to sent this up, I need to a) create one big slice on both B and C and b) change the fstype label to "vinum" with "disklebel -e". I created, formatted, and mounted the slices just fine, but when it comes to editing the fslabel on /dev/ar2, I get the following response upon saving and exiting vi: ==================== disklabel: Operation not supported by device ==================== Whenever I try to show the ar2 disklabel, this is what I get: ==================== # /dev/ar2: type: unknown disk: amnesiac label: fictitious flags: bytes/sector: 512 sectors/track: 63 tracks/cylinder: 255 sectors/cylinder: 16065 cylinders: 3737 sectors/unit: 60036417 rpm: 3600 interleave: 1 trackskew: 0 cylinderskew: 0 headswitch: 0 # milliseconds track-to-track seek: 0 # milliseconds drivedata: 0 8 partitions: # size offset fstype [fsize bsize bps/cpg] c: 60036417 0 unused 0 0 # (Cyl. 0 - 3737*) ==================== The strange thing is, I get the result no matter how B and C are connected or what order they are in. I could have A being the master on IDE1 (which it always is, so I'm not repeating this), B being the slave on IDE1, and C being the master on IDE2 on the ATA100 card. I could flip B and C. I could have C being the master on IDE2 with B being the slave. B could be master on IDE1 on the ATA133 card and C the master on IDE2 on the ATA133 card... Whatever the order, whatever the interface, whatever the card, whatever drive is the third to be enumerated by the OS (as /dev/ar2), that drive shows the above disklabel output. Whatever drive is enumerated second (i.e., /dev/ar1) works fine with disklabel. (FWIW, I've replaced cables with known good ones too.) >How-To-Repeat: disklabel [-e] ar2 >Fix: None >Release-Note: >Audit-Trail: >Unformatted: To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-bugs" in the body of the message
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200302110452.h1B4qDZV012266>