Sponsored Content
Operating Systems Solaris SPARC T4-1/Solaris 11/Add 2 new HDDs in RAID 0 configuration Post 302698957 by julumme on Monday 10th of September 2012 10:42:40 PM
Old 09-10-2012
Tools

Hi again,

So I inserted the disks to the machine, to next available slot in the each controller (HDD1 and HDD5).

Now, when booting, there is a complaint about "Corrupt label/wrong magic number", about both new disks, but apparently that's normal when disks have no labels..
So moving forward. I check with format, what it shows:

Code:
$ sudo format
Password:
Searching for disks...done

c0t5000CCA025A297C4d0: configured with capacity of 279.38GB
c0t5000CCA025A329E0d0: configured with capacity of 279.38GB


AVAILABLE DISK SELECTIONS:
       0. c0t5000CCA0259D2B78d0 <SUN300G cyl 46873 alt 2 hd 20 sec 625>  solaris
          /scsi_vhci/disk@g5000cca0259d2b78
          /dev/chassis//SYS/HDD0/disk
       1. c0t5000CCA025A297C4d0 <HITACHI-H106030SDSUN300G-A2B0 cyl 46873 alt 2 hd 20 sec 625>
          /scsi_vhci/disk@g5000cca025a297c4
          /dev/chassis//SYS/HDD1/disk
       2. c0t5000CCA0259C678Cd0 <SUN300G cyl 46873 alt 2 hd 20 sec 625>  solaris
          /scsi_vhci/disk@g5000cca0259c678c
          /dev/chassis//SYS/HDD4/disk
       3. c0t5000CCA025A329E0d0 <HITACHI-H106030SDSUN300G-A2B0 cyl 46873 alt 2 hd 20 sec 625>
          /scsi_vhci/disk@g5000cca025a329e0
          /dev/chassis//SYS/HDD5/disk

Seems all good here, so as per instructions (also found this: blog post), I see if I can create a zpool with the new drives (c0t5000CCA025A297C4d0 and c0t5000CCA025A329E0d0)

Code:
$ zpool create workarea c0t5000CCA025A297C4d0 c0t5000CCA025A329E0d0
cannot open 'c0t5000CCA025A297C4d0': no such device in /dev/dsk
must be a full path or shorthand device name

So, I go to the /dev/dsk to see what's going on. I check what the book disk (c0t5000CCA0259D2B78d0) looks like:

Code:
/dev/dsk$ ls -la | grep c0t5000CCA0259D2B78d0
lrwxrwxrwx   1 root     root          48 Aug  4 09:40 c0t5000CCA0259D2B78d0s0 -> ../../devices/scsi_vhci/disk@g5000cca0259d2b78:a
lrwxrwxrwx   1 root     root          48 Aug  4 09:40 c0t5000CCA0259D2B78d0s1 -> ../../devices/scsi_vhci/disk@g5000cca0259d2b78:b
lrwxrwxrwx   1 root     root          48 Aug  4 09:40 c0t5000CCA0259D2B78d0s2 -> ../../devices/scsi_vhci/disk@g5000cca0259d2b78:c
lrwxrwxrwx   1 root     root          48 Aug  4 09:40 c0t5000CCA0259D2B78d0s3 -> ../../devices/scsi_vhci/disk@g5000cca0259d2b78:d
lrwxrwxrwx   1 root     root          48 Aug  4 09:40 c0t5000CCA0259D2B78d0s4 -> ../../devices/scsi_vhci/disk@g5000cca0259d2b78:e
lrwxrwxrwx   1 root     root          48 Aug  4 09:40 c0t5000CCA0259D2B78d0s5 -> ../../devices/scsi_vhci/disk@g5000cca0259d2b78:f
lrwxrwxrwx   1 root     root          48 Aug  4 09:40 c0t5000CCA0259D2B78d0s6 -> ../../devices/scsi_vhci/disk@g5000cca0259d2b78:g
lrwxrwxrwx   1 root     root          48 Aug  4 09:40 c0t5000CCA0259D2B78d0s7 -> ../../devices/scsi_vhci/disk@g5000cca0259d2b78:h

What does those letters from a-h mean in the scsi part ? They seem to correspond to those last 2 digits sX (1-7)..
So, when creating the zpool, looks like I need to assign the drive with one of those sX numbers as well.. Can I just start from 0 ?
What are they for ?

Thanks again for your help!

---------- Post updated at 11:42 AM ---------- Previous update was at 10:50 AM ----------

D'oh, of course you have to be root to do that, so just "sudo" in front of the zpool command, and everything will go as in the movies Smilie

Last edited by julumme; 09-10-2012 at 10:52 PM.. Reason: adding a link to a blog post
 

8 More Discussions You Might Find Interesting

1. UNIX for Advanced & Expert Users

solaris 8 sparc kernel configuration guide

i've scoured the net and haven't found too many items. i found one at princeton and a few things at sun's site, however, i don't find them to my level. they seem to be written for someone who is very comfortable doing what they do. does anyone know of any good tutorial that is written similar... (1 Reply)
Discussion started by: xyyz
1 Replies

2. AIX

regd raid 0 configuration

Hey Alll Thanks for the help u give me yesterday,i need a help again from u all guys i have RS 6000 server with AIX 4.3.3 OS and with external storage (multipack) with 12 Hard disk drive which will be connected to RS 6000 scsi controller ,i dont have any raid card. now i have to... (0 Replies)
Discussion started by: solaris8in
0 Replies

3. Shell Programming and Scripting

A script for converting raid configuration log messages to ChangeLog files. ....

hi to all am new to shell scripting..itz very urgent. when i excuting the command metastat(raid configuration info) it will display some information. #metastat d1:submirror status: okey pass:1 d2:submirror staus:okey d3:submirror staus:error if staus is okey.no problem.once i... (0 Replies)
Discussion started by: arjunreddy3
0 Replies

4. Solaris

T5240 and Internal SAS RAID Configuration help

Dear Friends, I need to configure T5240 with Internal SAS RAID HBA(SG-XPCIESAS-R-INT-Z).. T5240 uses 8 hard disks... From the documents of RAID card I have found that I need to create a jump start server to include three packages SUNWaac, StorMan, SUNWgccruntime if Im using solaris10 5/08... ... (5 Replies)
Discussion started by: nicktrix
5 Replies

5. SCO

raid 1 configuration in sco open unix

Dear Team , how i can configure raid 1 (mirroring) using ide hdd in sco open unix 5 i have two 80gb identical hdd (same make/model) thanx (0 Replies)
Discussion started by: sudhir69
0 Replies

6. Red Hat

Software RAID configuration

We have configured software based RAID5 with LVM on our RHEL5 servers. Please let us know if its good to configure software RAID on live environment servers. What can be the disadvantages of software RAID against hardware RAID (4 Replies)
Discussion started by: mitchnelson
4 Replies

7. UNIX for Dummies Questions & Answers

can I emulate solaris/sparc on virtualbox? Or other emulator to run solaris for sparc in my win7 PC?

Hi Gurus can I emulate solaris/sparc on virtualbox? Or other emulator to run solaris for sparc in my win7 PC? regards, Israel. (9 Replies)
Discussion started by: iga3725
9 Replies

8. Red Hat

RAID Configuration for IBM Serveraid-7k SCSI RAID Controller

Hello, I want to delete a RAID configuration an old server has. Since i haven't the chance to work with the specific raid controller in the past can you please help me how to perform the configuraiton? I downloaded IBM ServeRAID Support CD but i wasn't able to configure the video card so i... (0 Replies)
Discussion started by: @dagio
0 Replies
All times are GMT -4. The time now is 05:48 PM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy