Solved

solaris sd.conf lun

Posted on 2002-05-17
3
2,869 Views
Last Modified: 2013-12-21
Hi,
    I am confuse what is meant by a LUN beside that
it's  alogical number?  Can some please explain in
detail and example?  -thanks-

I have a three lines from sd.conf:
name="sd" parent="lpfc" target=0 lun=1;
name="sd" parent="lpfc" target=0 lun=2;
name="sd" parent="lpfc" target=0 lun=3;


Q2:  does this mean this mean there are 3 LUNs according
    to sd.conf?

LUN1 is c0t0
LUN2 is c2t0
LUN3 is c3t0


thanks in advance
0
Comment
Question by:siunix
  • 2
3 Comments
 
LVL 4

Expert Comment

by:besky
ID: 7018101
No is the answre to question 2.

lun:s are mostly refered to as disknumber in Solaris.

On a scsi system the Solaris naming convention is
c0t0d0s0 for one of its partitions.(Logical name)

c0 is controller 0  ( first conrtoller in system )

t0 is target 0 ( first target on this controller )
targetnumbers are sometimes refered to as SCSI-ID, 0-7
on SCSI-2 and 0-15 on SCSI-3

Target is sometimes an embedded controller in (on) a disk or tape BUT there some "intelligent" targetcontrollers
that can have more that one disk attached.
Disk arrays is an example, take the SSA, this box has six targetnumers internally, 0 - 5 where every target can control six disks 0-5. ( 36 disks in total on 1 controller with 6 targets)
These disks are refered to via the disknumber or as
you might call it Logical Unit Number, lun.

So d0 is disk 0 or LUN 0  ( the first disk on a target )

s0 is the first slice of 8  (or partition)

You can see the lun:s on your system in the message buffer from boot. Just type "dmesg" or check /var/adm/messages*

HTH

0
 
LVL 20

Expert Comment

by:tfewster
ID: 7021607
I'm not a Solaris specialist, so get someone else to confirm this...

A LUN can be a device presented to Solaris by a storage array, e.g. a 20Gb stripe across 3 72Gb disks in a RAID 5 set. As far as Solaris is concerned, it's a 20 Gb disk. The storage array looks after the RAID stuff, partitioning of the RAID set into LUNs and presenting them to the appropriate servers.

You may have alternate hardware paths to the same LUN for failover and load balancing, e.g. if you had multiple SCSI/Fibre Channel interface cards connected to the storage array. AFAIK, sd.conf lists the _controllers_ on the storage array, not all the LUNS on that controller (so you can add more LUNs "dynamically" without having to edit sd.conf)
0
 
LVL 4

Accepted Solution

by:
besky earned 50 total points
ID: 7021979
Sorry, little too quick there, didnt see the FC driver

But basicly its is the same for fibrechannel devices.
The driver default supports one LUN/target but can be configured to support 256 by adding to sd.conf ( can be diferent with different vendor boards)

And to answer your second question, yes there is one lun/hostadaptor. In your case three.
 There must be at least one lun or the driver will not load

RAID manager and other systempgms also has references to luns as tfewster wrote
0

Featured Post

Is Your Active Directory as Secure as You Think?

More than 75% of all records are compromised because of the loss or theft of a privileged credential. Experts have been exploring Active Directory infrastructure to identify key threats and establish best practices for keeping data safe. Attend this month’s webinar to learn more.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

Title # Comments Views Activity
IBM flash storage 840 15 58
unix scripting question 1 89
ftpcommand 2 56
SQUD PROXY SERVER, UNIX, SLL/HTTPS 5 73
When you do backups in the Solaris Operating System, the file system must be inactive. Otherwise, the output may be inconsistent. A file system is inactive when it's unmounted or it's write-locked by the operating system. Although the fssnap utility…
Installing FreeBSD… FreeBSD is a darling of an operating system. The stability and usability make it a clear choice for servers and desktops (for the cunning). Savvy?  The Ports collection makes available every popular FOSS application and packag…
Learn how to find files with the shell using the find and locate commands. Use locate to find a needle in a haystack.: With locate, check if the file still exists.: Use find to get the actual location of the file.:
Learn how to navigate the file tree with the shell. Use pwd to print the current working directory: Use ls to list a directory's contents: Use cd to change to a new directory: Use wildcards instead of typing out long directory names: Use ../ to move…

919 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

22 Experts available now in Live!

Get 1:1 Help Now