Home: www.packetnexus.com
-----Original Message----- From: Jason Lewis Sent: Monday, March 04, 2002 4:19 PM To: Ga (E-mail) Subject: Solaris#StorEDGE D1000 with DiskSuite RAID 5 StorEDGE D1000 with DiskSuite RAID 5 Here's my original question: ***** Hi. I desparately need help getting a StorEDGE D1000 up and working as a single RAID-5 disk. I need to get the Ultra10 to recognize the device, need to format the disks, learn to use DiskSuite, everything. Right now I'm at the point where I've physically attached the StorEDGE to the Ultra10, and I've installed the DiskSuite 4.1 packages, SUNWmd and SUNWmdg. This is very time-critical, and I would very much appreciate any assistance. I'm just at the point where I'm trying to get the system to recognize the StorEDGE device. I followed one of the manuals, which said to do: #drvconfig #disks then look for device files this way: #ls -l /dev/dsk/c1t4d0s* but I'm not getting back anything. I'm new to adding a disk, so help on even that would be very much appreciated. ***** ...and here's what I did to set up the RAID: I brought the Ultra10 down to the OK prompt by using: # init 0 then I searched for devices using: # show-disks and saw that there were several devices aside from the system disk. For reasons beyond my current understanding, the use of # probe-scsi-all causes a message, "bus error" to repeatedly echo to the standard output, due to the pci card on my Ultra10. So, using show-disks worked just as well to make sure that the cables were set up properly and the Ultra10 was "seeing" the D1000. I then booted the machine, with the "reconfigure" option: # boot -r Once the machine was up and I was logged in as root, I used the format utility to list off all of the disks. There were 9 disks listed, 0-8. 0 is the system disk, c0t0d0. For each of the other 8 disks, I ran the format command (e.g. format->c1t0d0->format, for the first disk on controller one) to clear the contents of the disk. Then, I ran the partition command for each of the eight disks, and made the following partitions: 0 0-7499 16.85GB (7500/0/0) ... 7 7500-7505 13.80MB (6/0/0) The slice 7 partition is for the metadb. I then ran format->label for each of the newly partitioned disks. I then ran the metadb command: (make sure that you've installed DiskSuite and that /usr/opt/SUNWmd/sbin is in your path) # metadb -f -a -c1 /dev/dsk/c1t0d0s7 # metadb -a -c1 /dev/dsk/c1t1d0s7 # metadb -a -c1 /dev/dsk/c1...d0s7 (one for each of the eight disks on which I allocated a slice 7) then I ran a test version of the command to make the RAID system: # metainit -n d1 -r /dev/dsk/c1t0d0s0 /dev/dsk... -i 2k (one /dev/dsk entry for each of the disks on which I allocated a slice 0 for use in the RAID system) After seeing that the value returned to standard output by this command was not an error message, I ran the real command: # metainit d1 -r /dev/dsk/c1t0d0s0 /dev/dsk... -i 2k Following this invocation of metainit, I followed the progress of the RAID build using: # metastat Once the build was complete, I had an entry, /dev/md/dsk/d1 which was recognized as a RAID system. I'm still in the process of setting this up, but that's fundamentally what I did to get the RAID up. Thanks a lot to everyone who replied. Mike Phelan Back to the Index