Unix Technical Forum

Mapping SVM metadevices back to a specific StorEdge 3310 ( mirrored )

This is a discussion on Mapping SVM metadevices back to a specific StorEdge 3310 ( mirrored ) within the Sun Solaris Hardware forums, part of the Solaris Operating System category; --> I have 2 StorEdge 3310 arrays, mirrored using Solaris9 SVM disksets ( the arrays are also shared between 2 ...


Go Back   Unix Technical Forum > Unix Operating Systems > Solaris Operating System > Sun Solaris Hardware

FAQ Members List Calendar Search Today's Posts Mark Forums Read
  #1 (permalink)  
Old 01-16-2008, 03:34 PM
js
 
Posts: n/a
Default Mapping SVM metadevices back to a specific StorEdge 3310 ( mirrored )

I have 2 StorEdge 3310 arrays, mirrored using Solaris9 SVM disksets ( the
arrays are also shared between 2 hosts ).

I have a need to break the mirror and do some work on one array, and do the
same on the other array. During that time, the SVM mirrors will only have 1
submirror.

How can I be sure that the metadevices that I am de-attaching and removing
from the diskset is from the correct 3310 that I need to work on ( remote
location ) ?

Using sccli, I have:

# /opt/SUNWsscs/sbin/sccli
Available devices:

1. /dev/rdsk/c3t0d0s2 [SUN StorEdge 3310 SN#000202] (Primary)
2. /dev/rdsk/c4t0d0s2 [SUN StorEdge 3310 SN#00094F] (Primary)

Please enter selection:


.... and the metadevices are on the following disks:

# metastat -s shared3310 -p | grep c
shared3310/d51 1 1 c3t0d4s0
shared3310/d52 1 1 c4t0d4s0
shared3310/d21 1 1 c3t0d3s0
shared3310/d22 1 1 c4t0d3s0
shared3310/d41 1 1 c3t0d2s0
shared3310/d42 1 1 c4t0d2s0
shared3310/d31 1 1 c3t0d1s0
shared3310/d32 1 1 c4t0d1s0
shared3310/d1 1 1 c3t0d0s0
shared3310/d2 1 1 c4t0d0s0


It seems obvious, but I want to make sure:

Is it a correct assumption that disks c3t0dxs0 above are in the 3310 array:
1. /dev/rdsk/c3t0d0s2 [SUN StorEdge 3310 SN#000202] (Primary)

... and disks c4t0dxs0 above are in the 3310 array:
2. /dev/rdsk/c4t0d0s2 [SUN StorEdge 3310 SN#00094F] (Primary)

??

Checking the device path for the disk array themselves:

# ls -alt /dev/rdsk/c3t0d0s2
lrwxrwxrwx 1 root root 52 Mar 1 2005 /dev/rdsk/c3t0d0s2
-> ../../devices/pci@8,600000/pci@1/scsi@4/sd@0,0:c,raw

# ls -alt /dev/rdsk/c4t0d0s2
lrwxrwxrwx 1 root root 52 Apr 5 2005 /dev/rdsk/c4t0d0s2
-> ../../devices/pci@8,600000/pci@1/scsi@5/sd@0,0:c,raw



Now for the actual disks that Solaris sees:

# ls -alt /dev/rdsk/c3t0d4s0
lrwxrwxrwx 1 root root 52 Mar 4 2005 /dev/rdsk/c3t0d4s0
-> ../../devices/pci@8,600000/pci@1/scsi@4/sd@0,4:a,raw

# ls -alt /dev/rdsk/c4t0d4s0
lrwxrwxrwx 1 root root 52 Apr 5 2005 /dev/rdsk/c4t0d4s0
-> ../../devices/pci@8,600000/pci@1/scsi@5/sd@0,4:a,raw



So the actual disk's device path seems to match the array's device path,
which leads me to conclude that disks c3t0dxs0 above are in the 3310 array:
1. /dev/rdsk/c3t0d0s2 [SUN StorEdge 3310 SN#000202] (Primary)

... and disks c4t0dxs0 above are in the 3310 array:
2. /dev/rdsk/c4t0d0s2 [SUN StorEdge 3310 SN#00094F] (Primary)



Am I correct in my assumption ??


Thanks,

John
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #2 (permalink)  
Old 01-16-2008, 03:34 PM
js
 
Posts: n/a
Default Re: Mapping SVM metadevices back to a specific StorEdge 3310 ( mirrored )

js wrote:

>
> So the actual disk's device path seems to match the array's device path,
> which leads me to conclude that disks c3t0dxs0 above are in the 3310
> array:
> 1. /dev/rdsk/c3t0d0s2 [SUN StorEdge 3310 SN#000202] (Primary)
>
> .. and disks c4t0dxs0 above are in the 3310 array:
> 2. /dev/rdsk/c4t0d0s2 [SUN StorEdge 3310 SN#00094F] (Primary)
>
>
>
> Am I correct in my assumption ??
>
>
> Thanks,
>
> John


Jumped the gun ... it seems my assumption is correct.

Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Reply


Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On
Forum Jump


All times are GMT. The time now is 07:11 PM.


Powered by vBulletin® Version 3.6.5
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
SEO by vBSEO 3.2.0
www.UnixAdminTalk.com