Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 31 Aug 1999 09:53:07 -0600
From:      Wes Peters <wes@softweyr.com>
To:        questions@freebsd.org
Subject:   disklabel problems, I think
Message-ID:  <37CBFA62.636E44C5@softweyr.com>

next in thread | raw e-mail | index | archive | help
Dear FreeBSD helpers,

I've been trying to bring a couple of large SCSI disks online and am having
problems.  The disks are recognized at boot thusly:

da5 at ahc0 bus 0 target 5 lun 0
da5: <SEAGATE ST118273LW 5766> Fixed Direct Access SCSI-2 device 
da5: 40.000MB/s transfers (20.000MHz, offset 8, 16bit), Tagged Queueing Enabled
da5: 17366MB (35566480 512 byte sectors: 255H 63S/T 2213C)
da4 at ahc0 bus 0 target 4 lun 0
da4: <SEAGATE ST118273LW 5766> Fixed Direct Access SCSI-2 device 
da4: 40.000MB/s transfers (20.000MHz, offset 8, 16bit), Tagged Queueing Enabled
da4: 17366MB (35566480 512 byte sectors: 255H 63S/T 2213C)

I used sysinstall to label the disks and the on-disk label now shows:

% disklabel -r da4
# /dev/rda4:
type: SCSI
disk: SEAGATE 
label: ST118273LW      
flags:
bytes/sector: 512
sectors/track: 19
tracks/cylinder: 127
sectors/cylinder: 2413
cylinders: 14739
sectors/unit: 35566480
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: 35566480        0    unused        0     0         # (Cyl.    0 - 14739*)
  e: 35566480        0    unused        0     0         # (Cyl.    0 - 14739*)

The on-disk label for da5 is identical.  As you can see, the disk geometry in 
the label does not match what the boot probe finds.  Also, the in-core label 
doesn't match what is on the disk.  Attempts to use the disk, in particular 
from vinum, result in error messages:

vinum -> init stripe.p0
vinum[28526]: initializing subdisk /dev/vinum/rsd/stripe.p0.s0
vinum[28527]: initializing subdisk /dev/vinum/rsd/stripe.p0.s1
vinum[28527]: can't write subdisk /dev/vinum/rsd/stripe.p0.s1: Input/output error
vinum[28526]: can't write subdisk /dev/vinum/rsd/stripe.p0.s0: Input/output error
child 28527 exited with status 0x1
child 28526 exited with status 0x1

Somebody has walked off with my copy of The Complete FreeBSD and I'm stuck.  
Help! I'm attempting to create on partition that will cover the entire disk 
on both da4 and da5 and then to bring both of these partitions into a single 
large striped volume.  This system is a web spider and handles a LOT of data 
sequentially.

Please direct replies to me.  I will summarize the replies once I get the 
disks up. Thanks in advance for your help.

-- 
            "Where am I, and what am I doing in this handbasket?"

Wes Peters                                                         Softweyr LLC
http://softweyr.com/                                           wes@softweyr.com


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?37CBFA62.636E44C5>