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 Mike Lewis on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

SVM STMS 1

Status
Not open for further replies.

dj600stoxx

Technical User
Jun 26, 2010
2
EU
Hello Forumers,

any thoughts on this:

Assume someone took the disks / LUNs under control of SVM. STMS is not active therefore the boot volume might be called: /dev/(r)dsk/c1t0d0 and some FC attached LUN (2 paths) may appear as: /dev/(r)dsk/c2t5WWNNd0 and /dev/(r)dsk/c3t5WWNNd0.

The file /etc/vfstab would of course refer to objects such as /dev/md/(r)dsk/d20 or similar. Using command metastat would allow to show the association between /dev/md/(r)dsk/dN and /dev/(r)dsk/c1t0d0 and /dev/(r)dsk/c2t5WWNNd0 or /dev/(r)dsk/c3t5WWNNd0, respectively.

Now the admin would decide to enable STMS, so the boot volume might suddenly appear as: /dev/(r)dsk/c4t2000000....d0 and instead of two the two /dev/(r)dsk/c2t5WWNNd0 and /dev/(r)dsk/c3t5WWNNd0 (from above) one would only see a STMS metadevice , i.e. c4t6.....d0.

Would SVM recognize this modification automatically (as the respective device / metadevice association from above would cease to exist)? Or is there the need for explicit activity, and if so: what?

Thanks. Cheers dj600stoxx
 
If you are asking: if you are using SVM for your root devices, and then you enable stms, will the underlying devices change that make up the metadevice. The answer is yes.

example:

mirror d10
c0t0d0s0 d11
c0t1d0s0 d12

you run stmsboot -e (sparc only)
for x64/x86, you modify the file /kernel/drv/fp.conf, you don't use stmsboot command.

it will become:

mirror d10
WWNd0 d11
WWNd0 d12

You can after that fact (after you complete the stms reboot as required) run the following command to see the correlation between the need id and the old.

stmsboot -L



non-STMS device name STMS device name

----------------------------------------------------------------

/dev/rdsk/c0t0d0 /dev/rdsk/c4t500000E06745DEE0d0

/dev/rdsk/c0t1d0 /dev/rdsk/c4t500000E07868A070d0


 
Thank you so much djr111, you answered my question. Does this what you said also apply for non-boot disks that are under SVM control first and that are in addition taken under control of STMS afterwards?

Seems that with SAN 4.4 there is a need for special handling but maybe in Solaris 10 this is also done automatically?
 
Arrays are sometimes different, you may need to supply special information/configurations to get mpxio working. the only time this is probably not true is on sun arrays, they are configured to work already in solaris
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top