1. This forum section is a read-only archive which contains old newsgroup posts. If you wish to post a query, please do so in one of our main forum sections (here). This way you will get a faster, better response from the members on Motherboard Point.

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

Discussion in 'Sun Hardware' started by js, Oct 13, 2005.

  1. js

    js Guest

    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/[email protected],600000/[email protected]/[email protected]/[email protected],0:c,raw

    # ls -alt /dev/rdsk/c4t0d0s2
    lrwxrwxrwx 1 root root 52 Apr 5 2005 /dev/rdsk/c4t0d0s2
    -> ../../devices/[email protected],600000/[email protected]/[email protected]/[email protected],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/[email protected],600000/[email protected]/[email protected]/[email protected],4:a,raw

    # ls -alt /dev/rdsk/c4t0d4s0
    lrwxrwxrwx 1 root root 52 Apr 5 2005 /dev/rdsk/c4t0d4s0
    -> ../../devices/[email protected],600000/[email protected]/[email protected]/[email protected],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
     
    js, Oct 13, 2005
    #1
    1. Advertisements

  2. js

    js Guest

    Jumped the gun ... it seems my assumption is correct.
     
    js, Oct 13, 2005
    #2
    1. Advertisements

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments (here). After that, you can post your question and our members will help you out.