Sponsored Content
Operating Systems AIX Map lun info to phyical disks Post 302163538 by bakunin on Friday 1st of February 2008 09:55:40 AM
Old 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

Unix map?

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

How get more LUN info

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

how to get disks info in solaris9

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

LUN / Diskgroup info

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 LUN ID, how to find disk relate to that LUN ID?

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

Solaris raw disks info

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

Map Question C++

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

Restore of Netapp FC lun targets used as the disks for a zpool with exported zfs file systems

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

Solaris 10 Sparc. How to change Vendor info of SAN disks reported in "format" command?

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(7) 						 Miscellaneous Information Manual						   SCSI(7)

NAME
SCSI, RAID - Small Computer System Interface SYNOPSIS
dsk#, tape#_d#, cdrom# DESCRIPTION
The operating system interfaces to disk and tape devices through the Small Computer System Interface (SCSI). SCSI support is limited to the Compaq-supplied storage devices and certain third-party devices. To determine which named devices are supported in the default system, refer to the file /etc/ddr.dbase. For example, the following devices are listed therein: Winchester disks: RZ24L, RZ25, RZ25L, RZ25M, RZ28M, RZ29B, RZ55, RZ56, RZ58, RZ73, RZ74, RX23, RX26, RX33, IOMEGA ZIP, RAID (Redundant Arrays of Independent Disks) SCSI controllers: HSZ10, HSZ40, HSZ80 Magnetic tapes: TZ30, TZK11, TLZ06, TKZ09, TKZ60, DLT8000, SDT-10000 Media Changers: TL800, ESL9000 Optical disks: RRD42, RRD43, RRD44 Vendors can add their own devices to ddr.dbase. Refer to the Software Product Description (SPD) for a given release of the operating system for more information on processor-specific device support. Under the operating system, a SCSI device is referred to by a device identifier that is assigned by the operating system. This name has no relationship to the descriptive name of the device, although in previous releases of the operating system disks such as the RZ74 mapped to a system-assigned rz# logical name (where # was the instance number of that disk. Current logical names for SCSI disks and tapes take the forms specified in the rz(8) and tz(7) reference pages, such as dsk? and tape?. Refer to the dsfmgr(8) reference page for the naming conventions for disks, tapes and other devices, such as CD-ROM readers. Refer to the hwmgr(8) reference page for information on determining device names and other device data. SCSI Device Limits The number of possible target device IDs is determined by the controller type and method of connection, such as a multibus connection using fibre channel. Refer to the emx(7) reference page for an example of device addressing. Device Special Files The dsfmgr command creates device special files for all the devices that are attached to SCSI controllers. This event occurs automatically on system startup, and no administrative intervention is required unless an event requires that a device be renamed or its I/O be reas- signed. In such cases, you can use dsfmgr and hwmgr to manage SCSI devices and their associated device special files without the need to calculate values from their Bus, Target ID, and LUN data. RESTRICTIONS
The SCSI device driver is not warrantied to operate with optical disks other than the devices listed in /etc/ddr.dbase/. The SCSI driver attempts to support, on a best-effort basis, disks and magnetic tapes supplied by other vendors. The following notes apply to the driver's handling of disks from other vendors: These disks are identified using the following command: # hwmgr -get attribute -a name This command will return the device name SCSI-WWID (World-Wide Identifier) for all devices on the system, which includes the model name of the device. You can filter the output by specifying categories of devices. Disks are assigned a default partition table. The default table can be modified by editing the ccmn_rzxx_sizes[8] entry in the /usr/sys/data/cam_data.c file. The disklabel command can also be used to modify the partition table on an RZxx disk. RELATED INFORMATION
atapi_ide(7), dsfmgr(8), emx(7), hwmgr(8), rz(7), tz(7), disklabel(8), ddr.dbase(4) delim off SCSI(7)
All times are GMT -4. The time now is 02:44 PM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy