Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations strongm on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

disk array

Status
Not open for further replies.

johny2K

Technical User
Dec 19, 2001
184
CA
i got this problem of re-discovering the disk array from my solaris sparc box. initial solaris OS install was able to detect it, but - after i tried to break the "raid" config, i lost it totally.

i just want to re-connect my c3 (disk array). any feedback is appreciated. thanks.

# cfgadm -al
Ap_Id Type Receptacle Occupant Condition
c0 scsi-bus connected configured unknown
c0::dsk/c0t0d0 CD-ROM connected configured unknown
c1 scsi-bus connected configured unknown
c1::dsk/c1t0d0 disk connected configured unknown
c1::dsk/c1t1d0 disk connected configured unknown
c2 scsi-bus connected unconfigured unknown
c3 scsi-bus connected configured unknown
c3::es/ses0 ESI connected configured unknown
c4 scsi-bus connected unconfigured unknown
usb0/1 unknown empty unconfigured ok
usb0/2 unknown empty unconfigured ok

# format
Searching for disks...done


AVAILABLE DISK SELECTIONS:
0. c1t0d0 <SUN36G cyl 24620 alt 2 hd 27 sec 107>
/pci@1c,600000/scsi@2/sd@0,0
1. c1t1d0 <SUN36G cyl 24620 alt 2 hd 27 sec 107>
/pci@1c,600000/scsi@2/sd@1,0
Specify disk (enter its number):


# sccli
sccli: /dev/es/ses0: device reset detected
#

 
after i tried to break the "raid"

I wouldn't say you tried, I'd say you succeeded! Have you tried to rediscover the device using devfsadm -c disk ?

I want to be good, is that not enough?
 
lol, Ken.. yup..i think i totally broke it....

Here's what I got..

# devfsadm -c disk
# format
Searching for disks...done

AVAILABLE DISK SELECTIONS:
0. c1t0d0 <SUN36G cyl 24620 alt 2 hd 27 sec 107>
/pci@1c,600000/scsi@2/sd@0,0
1. c1t1d0 <SUN36G cyl 24620 alt 2 hd 27 sec 107>
/pci@1c,600000/scsi@2/s

# sccli -l
sccli: /dev/es/ses0: device reset detected
sccli: no manageable devices found
 
Can you see the disks via "probe-scsi-all" at the OK prompt? Might want to start at the lowest level and work your way back up the chain. If you can't see it there, then the OS definitely won't see it.

You also might want to reconfigure your path_to_inst file (after saving a copy of course). It might be looking for the same old stuff.

------------------------------------------------------------------------------------------------------------------
"Only two things are infinite, the universe and human stupidity, and I'm not sure about the former."
Albert Einstein
 
here's some system info:

# uname -a
SunOS ABCDE 5.10 Generic_118833-36 sun4u sparc SUNW,Sun-Fire-V240

# sccli
sccli: selected device /dev/es/ses1 [SUN StorEdge 3310 SN#005XXF]
sccli> show disks
Ch Id Size Speed LD Status IDs Rev
----------------------------------------------------------------------------
0 0 33.92GB 160MB NONE FRMT SEAGATE ST336607LSUN36G 0507
S/N 3JA6KPJA00007421
0 3 33.92GB 160MB NONE FRMT SEAGATE ST336607LSUN36G 0507
S/N 3JA6KFXF00007421
0 8 33.92GB 160MB NONE USED SEAGATE ST336607LSUN36G 0507
S/N 3JA6J6FG00007420
0 9 NONE Unknown SEAGATE ST336607LSUN36G 0507
S/N 3JA6L1KW00007421
0 11 33.92GB 160MB NONE FRMT SEAGATE ST336607LSUN36G 0507
S/N 3JA6J6DJ00007420
sccli> quit

But when checking it from the format command, I can only see the two (2) internal system hdisks, NONE in disk array.

# format
Searching for disks...done


AVAILABLE DISK SELECTIONS:
0. c1t0d0 <SUN36G cyl 24620 alt 2 hd 27 sec 107>
/pci@1c,600000/scsi@2/sd@0,0
1. c1t1d0 <SUN36G cyl 24620 alt 2 hd 27 sec 107>
/pci@1c,600000/scsi@2/sd@1,0
Specify disk (enter its number):

I think what I need now is to create/define/map it using SCCLI. But, the thing is: I'm NOT familiar with "sccli", and I don't have the desktop graphical interface to manage the SUN StorEdge 3310. Does someone, have experience in doing this? Guide/tips/help are welcome.
 
i got it running, but of raid setup ... i want individual disk to be recognized under "format"

# sccli /dev/es/ses1 create logical-drive raid0 0.0,0.3
# sccli /dev/es/ses1 create logical-drive raid0 0.8,0.11

# sccli /dev/es/ses1 show logical-drives
sccli: selected device /dev/es/ses1 [SUN StorEdge 3510 SN#005XXF]
LD LD-ID Size Assigned Type Disks Spare Failed Status
-------------------------------------------------------------------------
ld0 4227D9B2 67.47GB Primary RAID0 2 0 0 Good
ld1 20C727D1 67.47GB Primary RAID0 2 0 0 Good

It's showing now disk in the "format", but only one. I want at least two more disk from solaris os-side.

 
I finally got the answer I'm looking for and I thought it's worth sharing to whoever might need it (SE 3K disk array disk 0.9 is defective):

sccli> show disk
Ch Id Size Speed LD Status IDs Rev
----------------------------------------------------------------------------
0 0 33.92GB 160MB NONE FRMT SEAGATE ST336607LSUN36G 0507
S/N 3JA6KPJA00007421
0 3 33.92GB 160MB NONE FRMT SEAGATE ST336607LSUN36G 0507
S/N 3JA6KFXF00007421
0 8 33.92GB 160MB NONE FRMT SEAGATE ST336607LSUN36G 0507
S/N 3JA6J6FG00007420
0 9 NONE Unknown SEAGATE ST336607LSUN36G 0507
S/N 3JA6L1KW00007421
0 11 33.92GB 160MB NONE FRMT SEAGATE ST336607LSUN36G 0507
S/N 3JA6J6DJ00007420

sccli> show channel
Ch Type Media Speed Width PID / SID
--------------------------------------------
0 Drive SCSI 80M Wide 6 / 7
1 Host SCSI 80M Wide 0 / N/A
2 Drive SCSI ASYNC Narrow 6 / 7
3 Host SCSI ASYNC Narrow N/A / 1
6 RCCOM FC(L) ASYNC Narrow N/A / N/A
7 Host LAN N/A Serial N/A / N/A

sccli> create logical-drive nraid 0.0
sccli: created logical drive 406F1944
sccli> create logical-drive nraid 0.3
sccli: created logical drive 7F93B2DE
sccli> create logical-drive nraid 0.8
sccli: created logical drive 26FDA06C
sccli> create logical-drive nraid 0.11
sccli: created logical drive 61D96BFB

sccli> show ld
LD LD-ID Size Assigned Type Disks Spare Failed Status
------------------------------------------------------------------------
ld0 406F1944 33.67GB Primary NRAID 1 0 0 Good
ld1 7F93B2DE 33.67GB Primary NRAID 1 0 0 Good
ld2 26FDA06C 33.67GB Primary NRAID 1 0 0 Good
ld3 61D96BFB 33.67GB Primary NRAID 1 0 0 Good

sccli> map 406F1944 1.0.0
sccli: mapping ld 406F1944-00 to 1.0.0
sccli> map 7F93B2DE 1.0.1
sccli: mapping ld 7F93B2DE-00 to 1.0.1
sccli> map 26FDA06C 1.0.2
sccli: mapping ld 26FDA06C-00 to 1.0.2
sccli> map 61D96BFB 1.0.3
sccli: mapping ld 61D96BFB-00 to 1.0.3

sccli> show map
Ch Tgt LUN ld/lv ID-Partition Assigned Filter Map
---------------------------------------------------------------------
1 0 0 ld0 406F1944-00 Primary
1 0 1 ld1 7F93B2DE-00 Primary
1 0 2 ld2 26FDA06C-00 Primary
1 0 3 ld3 61D96BFB-00 Primary
sccli> exit

# sccli
sccli: selected device /dev/rdsk/c2t0d0s2 [SUN StorEdge 3310 SN#00580F]

sccli> show ld
LD LD-ID Size Assigned Type Disks Spare Failed Status
------------------------------------------------------------------------
ld0 406F1944 33.67GB Primary NRAID 1 0 0 Good
ld1 7F93B2DE 33.67GB Primary NRAID 1 0 0 Good
ld2 26FDA06C 33.67GB Primary NRAID 1 0 0 Good
ld3 61D96BFB 33.67GB Primary NRAID 1 0 0 Good

sccli> show map
Ch Tgt LUN ld/lv ID-Partition Assigned Filter Map
---------------------------------------------------------------------
1 0 0 ld0 406F1944-00 Primary
1 0 1 ld1 7F93B2DE-00 Primary
1 0 2 ld2 26FDA06C-00 Primary
1 0 3 ld3 61D96BFB-00 Primary

sccli> q

# reboot

# update_drv -f sd

# devfsadm

# format

Searching for disks...done

c2t0d0: configured with capacity of 33.67GB
c2t0d1: configured with capacity of 33.67GB
c2t0d2: configured with capacity of 33.67GB
c2t0d3: configured with capacity of 33.67GB

AVAILABLE DISK SELECTIONS:
0. c1t0d0 <SUN36G cyl 24620 alt 2 hd 27 sec 107>
/pci@1c,600000/scsi@2/sd@0,0
1. c1t1d0 <SUN36G cyl 24620 alt 2 hd 27 sec 107>
/pci@1c,600000/scsi@2/sd@1,0
2. c2t0d0 <SUN-StorEdge3310-0325 cyl 34474 alt 2 hd 64 sec 32>
/pci@1c,600000/scsi@2,1/sd@0,0
3. c2t0d1 <SUN-StorEdge3310-0325 cyl 34474 alt 2 hd 64 sec 32>
/pci@1c,600000/scsi@2,1/sd@0,1
4. c2t0d2 <SUN-StorEdge3310-0325 cyl 34474 alt 2 hd 64 sec 32>
/pci@1c,600000/scsi@2,1/sd@0,2
5. c2t0d3 <SUN-StorEdge3310-0325 cyl 34474 alt 2 hd 64 sec 32>
/pci@1c,600000/scsi@2,1/sd@0,3
Specify disk (enter its number):

 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top