- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - Linux
- >
- Red Hat Linux - hp_fibreutils/scsi_info
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
Forums
Discussions
Discussions
Discussions
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
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
09-28-2005 02:27 AM
09-28-2005 02:27 AM
Red Hat Linux - hp_fibreutils/scsi_info
[root@newlin1 hp_fibreutils]# scsi_info /dev/sda
SCSI_ID="0,0,0"
MODEL="COMPAQ HSV110 (C)COMPAQ"
FW_REV="3020"
It does not show the WWN nor the LUN which is the information I am looking for. How can I get this information?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-28-2005 02:44 AM
09-28-2005 02:44 AM
Re: Red Hat Linux - hp_fibreutils/scsi_info
Regards,
Alex
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-28-2005 02:49 AM
09-28-2005 02:49 AM
Re: Red Hat Linux - hp_fibreutils/scsi_info
[root@newlin1 root]# fdisk /dev/sdb
Unable to read /dev/sdb
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-28-2005 02:53 AM
09-28-2005 02:53 AM
Re: Red Hat Linux - hp_fibreutils/scsi_info
Doesn't this mean: Adapter:0, Target:, LUN:0 ?
Looks like you are running Secure Path. In that case I'd use:
# spmgr display
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-28-2005 02:58 AM
09-28-2005 02:58 AM
Re: Red Hat Linux - hp_fibreutils/scsi_info
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-28-2005 07:23 PM
09-28-2005 07:23 PM
Re: Red Hat Linux - hp_fibreutils/scsi_info
I have already tried dmesg but it does not give me the information I am looking for - WWLUN_ID.
parted gives me the following:-
[root@newlin1 root]# parted /dev/sdb
GNU Parted 1.6.3
Copyright (C) 1998, 1999, 2000, 2001, 2002 Free Software Foundation, Inc.
This program is free software, covered by the GNU General Public License.
This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A
PARTICULAR PURPOSE. See the GNU General Public License for more details.
Using /dev/sdb
Error: Unable to open /dev/sdb - unrecognised disk label.
Information: The operating system thinks the geometry on /dev/sdb is 153600/64/32. Therefore, cylinder 1024 ends at 1023.999M.
This is why I am trying to identify which virtual disk it is in our EVA storage system.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-28-2005 07:25 PM
09-28-2005 07:25 PM
Re: Red Hat Linux - hp_fibreutils/scsi_info
You are right we are using Secure Path and spmgr does indeed give me the information I require.
Thanks
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-28-2005 10:03 PM
09-28-2005 10:03 PM
Re: Red Hat Linux - hp_fibreutils/scsi_info
You should see a list of all the disks from the EVA. Note that LUNS are mapped in order so LUN 1 will be /dev/sda, LUN 2 will be /dev/sdb etc.
What does your fstab look like?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-28-2005 10:17 PM
09-28-2005 10:17 PM
Re: Red Hat Linux - hp_fibreutils/scsi_info
LightPulse Common Utility for Linux. Version 1.6a10 (10/7/2004).
Copyright (c) 2004, Emulex Network Systems, Inc.
Emulex Fibre Channel Host Adapters Detected: 2
Host Adapter 0 (lpfc0) is an LP9K (Ready Mode)
Host Adapter 1 (lpfc1) is an LP9K (Ready Mode)
http://www.ncsa.uiuc.edu/~aloftus/FibreChannel/Emulex/emulex.html
-Arun
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-28-2005 10:18 PM
09-28-2005 10:18 PM
Re: Red Hat Linux - hp_fibreutils/scsi_info
# spmgr display
will show you the EVA and the adapter mapping.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-28-2005 11:57 PM
09-28-2005 11:57 PM
Re: Red Hat Linux - hp_fibreutils/scsi_info
Thanks for your input. The reason I am trying to identify the volume is because I am having problems with LVM due to a corruption in a logigal volume, which I have tried to remove, but only lead to problems (see below)
[root@newlin1 root]# pvdisplay
pvdisplay -- ERROR: VGDA in kernel and lvmtab are NOT consistent; please run vgscan
[root@newlin1 root]# man pvdisplay
[root@newlin1 root]# pvdisplay vg1
pvdisplay -- ERROR: VGDA in kernel and lvmtab are NOT consistent; please run vgscan
[root@newlin1 root]# vgdisplay
vgdisplay -- ERROR: VGDA in kernel and lvmtab are NOT consistent; please run vgscan
My real problem is how to resolve the VGDA and lvmtab inconsistency. Not sure if I have to start another thread.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-29-2005 03:50 AM
09-29-2005 03:50 AM
Re: Red Hat Linux - hp_fibreutils/scsi_info
A reboot solved the inconsistency between the VGDA and lvmtab. If only the users had allowed me to do this earlier. Sigh.
Thanks for your help