Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 3 Feb 1999 16:43:23 +0000 (GMT)
From:      Mark Powell <M.S.Powell@ais.salford.ac.uk>
To:        freebsd-questions@FreeBSD.ORG
Subject:   What's DIOCWLABEL mean?
Message-ID:  <Pine.BSF.4.05.9902031636460.27828-100000@plato.salford.ac.uk>

next in thread | raw e-mail | index | archive | help
Trying to label the drives on a 3.0-STABLE box that has 7 drives connected
to 3 channels, on a DPT SmartRAID IV. All drives are identical with 2 on
each bus except bus 1 which has 3 drives.

------
da0 at dpt0 bus 0 target 0 lun 0
da0: <IBM OEM DFHSS4S 4141> Fixed Direct Access SCSI2 device 
da0: Tagged Queueing Enabled
da0: 4119MB (8436988 512 byte sectors: 255H 63S/T 525C)
da1 at dpt0 bus 0 target 1 lun 0
da1: <IBM OEM DFHSS4S 4141> Fixed Direct Access SCSI2 device 
da1: Tagged Queueing Enabled
da1: 4119MB (8436988 512 byte sectors: 255H 63S/T 525C)
da2 at dpt0 bus 1 target 0 lun 0
da2: <IBM OEM DFHSS4S 4141> Fixed Direct Access SCSI2 device 
da2: Tagged Queueing Enabled
da2: 4119MB (8436988 512 byte sectors: 255H 63S/T 525C)
da3 at dpt0 bus 1 target 1 lun 0
da3: <IBM OEM DFHSS4S 4141> Fixed Direct Access SCSI2 device 
da3: Tagged Queueing Enabled
da3: 4119MB (8436988 512 byte sectors: 255H 63S/T 525C)
da4 at dpt0 bus 1 target 3 lun 0
da4: <IBM OEM DFHSS4S 4141> Fixed Direct Access SCSI2 device 
da4: Tagged Queueing Enabled
da4: 4119MB (8436988 512 byte sectors: 255H 63S/T 525C)
da5 at dpt0 bus 2 target 0 lun 0
da5: <IBM OEM DFHSS4S 4141> Fixed Direct Access SCSI2 device 
da5: Tagged Queueing Enabled
da5: 4119MB (8436988 512 byte sectors: 255H 63S/T 525C)
da6 at dpt0 bus 2 target 1 lun 0
da6: <IBM OEM DFHSS4S 4141> Fixed Direct Access SCSI2 device 
da6: Tagged Queueing Enabled
da6: 4119MB (8436988 512 byte sectors: 255H 63S/T 525C)
------

However, I just can't put a label on da4 onwards.
da3 is no problem:

------
mimas:/ # disklabel -r da3
# /dev/rda3c:
type: SCSI
disk: da3s1
label: 
flags:
bytes/sector: 512
sectors/track: 63
tracks/cylinder: 255
sectors/cylinder: 16065
cylinders: 525
sectors/unit: 8436988
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]
  a:  8436988        0    4.2BSD     1024  8192    16   # (Cyl.    0 -
525*)
  c:  8436988        0    unused        0     0         # (Cyl.    0 -
525*)
------

But da4, is:

$ disklabel da3 > /tmp/label
$ disklabel -R -r da4 /tmp/label
disklabel: ioctl DIOCWLABEL: Operation not supported by device

Why can I not alter the labels on da4-6 ?
Many thanks.

Mark Powell - System Administrator (UNIX) - Clifford Whitworth Building
A.I.S., University of Salford, Salford, Manchester, UK.
Tel: +44 161 295 5936  Fax: +44 161 295 5888  www.pgp.com for PGP key
M.S.Powell@ais.salfrd.ac.uk (spell salford correctly to reply to me)


To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-questions" in the body of the message



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?Pine.BSF.4.05.9902031636460.27828-100000>