Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 9 Dec 2000 22:04:47 -0600
From:      "Rob McKinley" <mckinley@enteract.com>
To:        <questions@freebsd.org>
Subject:   fs problems with Mylex DAC960PD
Message-ID:  <000001c0625e$564b57c0$1400a8c0@robppp>

next in thread | raw e-mail | index | archive | help
I'm trying to set up a raid on my machine.  I've used the DOS utilities
to create a mirror'd pack, and initialize it.  I can partition & disklabel
it, but can't create a filesystem.  Can anyone point out where I've screwed
things up?  Things to look for? Thanks!

Rob

Here's what I've done:

The mlx driver sees the drive and I can get the config info via mlxcontrol:

  # mlxcontrol config mlx0
  # Controller <INSERT DETAILS HERE>
  #
  # Physical devices connected:
  # disk0001  (online)
  #    'WDIGTL  ' 'WDE18300 ULTRA2 ' '1.30' 17461MB  fast wide sync
tag-enabled
  # disk0002  (online)
  #    'WDIGTL  ' 'WDE18300 ULTRA2 ' '1.30' 17461MB  fast wide sync
tag-enabled
  # disk0003  (standby)
  #    'QUANTUM ' 'QM318000TD-SW   ' 'N491' 17366MB  fast wide sync
tag-enabled
  #
  # System Drives defined:
  drive00 RAID1 writeback
    span0 0x00000000-0x0221a800 17461MB on disk0001 disk0002

I've created the slice and labelled it:

  # disklabel -r /dev/mlxd0
  # /dev/mlxd0c:
  type: SCSI
  disk: mlxd0s1
  label:
  flags:
  bytes/sector: 512
  sectors/track: 32
  tracks/cylinder: 128
  sectors/cylinder: 4096
  cylinders: 8729
  sectors/unit: 35758048
  rpm: 7200
  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: 35758048        0    unused        0     0         # (Cyl.    0 -
8729*)
    e:   819200       32    4.2BSD     1024  8192    16   # (Cyl.    0*-
200)

But, when I try to newfs it, I get the following to the screen:

  # newfs /dev/mlxd0s1e
  /dev/mlxd0s1e:  819200 sectors in 200 cylinders of 1 tracks, 4096 sectors
          400.0MB in 13 cyl groups (16 c/g, 32.00MB/g, 7680 i/g)
  super-block backups (for fsck -b #) at:
  write error: 80
  newfs: wtfs - writecombine: Input/output error

and the following to the console & log:

  /kernel: mlxd0s1: type 0xa5, start 32, end = 35758079, size 35758048 : OK
  /kernel: bus_dmamap_load: Too many segs! buf_len = 0x5a0
  /kernel: mlx0: I/O error - attempt to write beyond end of drive

a dummy newfs (newfs -N) produces what I'd expect:

  # newfs -N /dev/mlxd0s1e
  /dev/mlxd0s1e:  819200 sectors in 200 cylinders of 1 tracks, 4096 sectors
          400.0MB in 13 cyl groups (16 c/g, 32.00MB/g, 7680 i/g)
  super-block backups (for fsck -b #) at:
   32, 65568, 131104, 196640, 262176, 327712, 393248, 458784, 524320,
589856,
   655392, 720928, 786464

BTW, a verbose boot gets the following info from the mlx driver:
# dmesg | grep mlx
mlx0: <Mylex version 3 RAID interface> port 0xe000-0xe07f mem
0xdb001000-0xdb000
mlx0: DAC960P/PD, 1 channel, firmware 3.52-0-02, 4MB RAM
mlx0:   Hardware ID                 0x03020101
mlx0:   Firmware ID                 0x30023403
mlx0:   Configured/Actual channels  1/1
mlx0:   Max Targets                 16
mlx0:   Max Tags                    2
mlx0:   Max System Drives           32
mlx0:   Max Arms                    8
mlx0:   Max Spans                   4
mlx0:   DRAM/cache/flash/NVRAM size 4194304/3014656/262144/8192
mlx0:   DRAM type                   0
mlx0:   Clock Speed                 40ns
mlx0:   Hardware Speed              280ns
mlx0:   Max Commands                63
mlx0:   Max SG Entries              17
mlx0:   Max DP                      256
mlx0:   Max IOD                     765
mlx0:   Max Comb                    304
mlx0:   Latency                     45s
mlx0:   SCSI Timeout                6s
mlx0:   Min Free Lines              32
mlx0:   Rate Constant               50
mlx0:   MAXBLK                      128
mlx0:   Blocking Factor             1 sectors
mlx0:   Cache Line Size             16 blocks
mlx0:   SCSI Capability             20MHz, 16 bit
mlx0:   Firmware Build Number       0
mlx0:   Fault Management Type       4
mlx0:   Features                    0
mlxd0: <Mylex System Drive> on mlx0
mlxd0: 17461MB (35760128 sectors) RAID 1 (online)
Creating DISK mlxd0




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?000001c0625e$564b57c0$1400a8c0>