02-01-2008
Quote:
Originally Posted by
jameszak
I have been ask to write a script to show what phyical disks are linked to what luns. By host name. I was hoping someone had some ideas on how to do this. I am from a linux background and am struggling a bit here...lol...I have been given one command to help me out....lsmap..Anyhelp would be nice...
That depends on what storage subsystem(s) you are using. There is no general solution to that. Starting points would be the "fget_config" command for FC-disks, the "maymap" command for SSA-disks. For SCSI-disks the task should be obvious.
I hope this helps.
bakunin
9 More Discussions You Might Find Interesting
1. UNIX for Dummies Questions & Answers
There is a "Map"? of Unix and all its varients somewhere on the net. I used to have the link , but can't find it now. Anyone out there have a clue????
A good magician never reveals his secret; the unbelievable trick
becomes simple and obvious once it is explained. So too with... (3 Replies)
Discussion started by: Bodhi
3 Replies
2. Red Hat
Hello,
I'm trying to help a guy out on a VMWARE server, running what looks like a cut down version of redhat? 2.4.9-vmnix2 ...
Bascially the box serves vm clients via allocating a LUN from a SAN.. to cut a long story short, I need to find out which SAN the luns are comming from (could be 1... (0 Replies)
Discussion started by: itsupplies
0 Replies
3. UNIX for Dummies Questions & Answers
hi:
I know its a dummy question
do you have any idea how i can get information about the HDs I have on my solaris server?? like how many disks and the size of each??
the prtdiag doesnt tell about disks.
Thanks (8 Replies)
Discussion started by: aladdin
8 Replies
4. Solaris
Hi,
I was just about to decommission a box when a weird question paused the operation. This box has veritas volume manager installed. I was umounting all the vx volumes and deleting the disk groups so that the storage admin can take back the LUNS. Now this is where i am stuck - i see a disk... (0 Replies)
Discussion started by: s4g3
0 Replies
5. Solaris
I have a list of LUN ID, my task is to find if disk has been added or not. How do I do that? I have been searching the forum and not able to find answer.
thanks (4 Replies)
Discussion started by: uuontario
4 Replies
6. Solaris
Hi,
I need the following information.
1. We have raw disks but how to identify raw disks. Is there any command to identify its type and size.
2. How to differentiate between disks which are used as file system and that are still available to be used as raw. I know we can use df -n to... (7 Replies)
Discussion started by: malikshahid85
7 Replies
7. Programming
Hello All,
I am having an issue of putting a Boolean value in the maps as the 3rd parameter. Something like the following :
int value;
std::map<String str, int x, bool bl>
where bool returns false if x>value else true.
All I see in the map examples is that I can add the... (2 Replies)
Discussion started by: mind@work
2 Replies
8. Solaris
So,
We have a Netapp storage solution. We have Sparc T4-4s running with LDOMS and client zones in the LDOMS, We are using FC for storage comms. So here's the basic setup
FC luns are exported to the primary on the Sparc box. using LDM they are then exported to the LDOM using vdisk. at the... (4 Replies)
Discussion started by: os2mac
4 Replies
9. Solaris
Greetings!
After block level migration using an external appliance, the luns are getting reported as DGC-RAID5 and these luns are infact from the new storage. I have a query on changing the device Vendor info from DGC-RAID5 to HP3par in the format o/p only.
AVAILABLE DISK SELECTIONS:
... (3 Replies)
Discussion started by: n_Bhaskar
3 Replies
SCSI(4) Kernel Interfaces Manual SCSI(4)
Name
SCSI - Small Computer System Interconnect
Description
The ULTRIX system interfaces to disk and tape devices through the Small Computer System Interconnect (SCSI). Initial ULTRIX SCSI support
is limited to the Digital-supplied mass storage devices. The following devices are fully supported on the ULTRIX system:
o Winchester disks: RZ22, RZ23, RZ23L, RZ24, RZ55, RZ56, RZ57, RX23, RX26, RX33
o Magnetic tapes: TZ30, TZK50, TLZ04, TSZ05, TKZ08, TZK10
o Optical disks: RRD40, RRD42
Under the ULTRIX operating system, a SCSI device is referred to by its logical name. Logical names take the following form:
nn#
The nn argument is the two-character name; the number sign (#) represents the unit number. The two character names for SCSI devices are:
rz - RZ22, RZ23, RZ23L, RZ24, RZ55, RZ56, RZ57, RX23, RX26, RX33, RRD40, RRD42 disks
tz - TZ30, TZK50, TLZ04, TSZ05, TKZ08, and TZK10 tapes
The unit number is a combination of the SCSI bus number, either 0, 1, ... and the device's target ID number. The unit number is eight
times the bus number plus the target ID. For example, an RZ23 disk at target ID 3 on bus 0 would be referred to as rz3; a TZK50 tape at
target ID 5 on the second SCSI bus would be referred to as 13.
The SCSI bus has eight possible target device IDs. By default, one is allocated to the system. This allows for a maximum of seven target
devices connected to a SCSI bus.
Restrictions
The ULTRIX SCSI device driver does not operate with optical disks, other than the Digital-supplied devices.
The SCSI driver attempts to support on a best effort basis, non-Digital-supplied winchester disks and magnetic tapes.
The following notes apply to the driver's handling of non-Digital-supplied disks:
o These disks are assigned a device type of RZxx, instead of RZ22, RZ23, RZ23L, RZ55, RZ56, RZ57, RX23, RX26, or RX33. The RZxx disks
follow the same logical device naming scheme as the Digital-supplied disks.
o During the autoconfigure phase of the system startup, the driver prints the contents of the SCSI vendor ID, product ID, and the
revision level fields of the inquiry data return by the SCSI device.
o RZxx disks are assigned a default partition table. The default table can be modified by editing the sz_rzxx_sizes[8] entry in the
file The utility can also be used to modify the partition table on a RZxx disk.
o The only logical unit number (LUN) supported for each target ID is 0.
See Also
rz(4), tz(4), chpt(8)
SCSI(4)