- Community Home
- >
- Storage
- >
- Entry Storage Systems
- >
- Disk Enclosures
- >
- Re: Is there any command to see LUN's info togethe...
Categories
Company
Local Language
Forums
Discussions
Forums
- Data Protection and Retention
- Entry Storage Systems
- Legacy
- Midrange and Enterprise Storage
- Storage Networking
- HPE Nimble Storage
Discussions
Discussions
Discussions
Forums
Forums
Discussions
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
- BladeSystem Infrastructure and Application Solutions
- Appliance Servers
- Alpha Servers
- BackOffice Products
- Internet Products
- HPE 9000 and HPE e3000 Servers
- Networking
- Netservers
- Secure OS Software for Linux
- Server Management (Insight Manager 7)
- Windows Server 2003
- Operating System - Tru64 Unix
- ProLiant Deployment and Provisioning
- Linux-Based Community / Regional
- Microsoft System Center Integration
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Community
Resources
Forums
Blogs
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО11-04-2001 09:48 PM
тАО11-04-2001 09:48 PM
Is there any command to see LUN's info together with HW path and device names?
armtopology can't tell HW_PATH and LUN's size and ioscan can't tell LUN's number. armdsp can't tell which device name. When I use SAM->disk drives, the info is quite complete except device names. I need a command line which can generate the output similar to SAM's. Anybody has idea?
Thanks in advance,
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО11-05-2001 12:39 AM
тАО11-05-2001 12:39 AM
Re: Is there any command to see LUN's info together with HW path and device names?
as regards hardware path doing an ioscan -fnkC disk should give you all the disk device files you have. Check those which have HP C5447A as description. those are your luns.
now as a rule of thumb the device file has the form cxtydz. in the case of Autoraid luns your cxty's should be the same and only the tz should change.
so assuming you have your autoraid on 8/12 you device files should look c1t1d0 , c1t1d1 , c1t1d2. the c1t1 is always the same and only the dz changes were z is the lun number....
good luck
stefan
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО11-05-2001 12:44 AM
тАО11-05-2001 12:44 AM
Re: Is there any command to see LUN's info together with HW path and device names?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО11-05-2001 01:07 AM
тАО11-05-2001 01:07 AM
Re: Is there any command to see LUN's info together with HW path and device names?
Have you tried stm. That is xstm in graphical, cstm in command mode and mstm in menu mode. Run and info and infolog if you are running stm. This will hopefully provide you with the info you are looking for. You should have OnlineDiags installed on your system for STM to run. Check with "swlist" if you have stm.
Hope this helps.
Regds
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО11-05-2001 01:03 PM
тАО11-05-2001 01:03 PM
Re: Is there any command to see LUN's info together with HW path and device names?
The ioscan -funCdisk DOES display the LUN number. It's the last 4 numbers - you need to convert from decimal to Base 8 (there's only 8 targets/SCSI address)
disk 26 1/10/0/0.1.16.0.0.1.0 sdisk CLAIMED DEVICE HP A6189A
/dev/dsk/c21t1d0 /dev/rdsk/c21t1d0
For example, this disk (c21t1d0) is octal LUN 0010 - or LUN 9.
disk 41 1/10/0/0.1.16.0.0.3.7 sdisk CLAIMED DEVICE HP A6189A
/dev/dsk/c21t3d7 /dev/rdsk/c21t3d7
This disk, c21t3d7 is octal lun 37 - or LUN 31.
Hope this helps. Let me know if this doesn't help.
Aaron
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО11-13-2001 12:12 AM
тАО11-13-2001 12:12 AM
Re: Is there any command to see LUN's info together with HW path and device names?
I believe you havn't got what I want. Basically I can get all this info together at one go with sam but it is quite tedious. I have to manually start SAM-->disks and file systems-->disk devices. I would rather have a script to run and get all this info and save the output into a file. Here is a sample or you may check the attachment.
Hardware Number Volume Total
Path of Paths Use Group Mbytes Description
0/0/2/0.6.0 1 LVM vg00 34732 SEAGATE ST336704LC
0/0/2/1.6.0 1 LVM vg00 34732 SEAGATE ST336704LC
0/4/0/0.1.20.0 4 -- -- -- HP SureStore Virtual Array Controller
0/4/0/0.1.20.0.0.0.0 4 Unused -- 10 HP SureStore Virtual Array 7405 LUN 0
0/4/0/0.1.20.0.0.10.1 4 LVM vgprz27 25 HP SureStore Virtual Array 7405 LUN 81
0/4/0/0.1.20.0.0.10.3 4 LVM vgprz17 25 HP SureStore Virtual Array 7405 LUN 83
0/4/0/0.1.20.0.0.10.5 4 LVM vgprz12 25 HP SureStore Virtual Array 7405 LUN 85
0/4/0/0.1.20.0.0.10.7 4 LVM vgprz22 25 HP SureStore Virtual Array 7405 LUN 87
0/4/0/0.1.20.0.0.11.1 4 LVM vgprz29 25 HP SureStore Virtual Array 7405 LUN 89
0/4/0/0.1.20.0.0.11.3 4 LVM vgprz19 25 HP SureStore Virtual Array 7405 LUN 91