- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Re: How to identify new EVA disk devices
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
тАО02-03-2009 12:31 AM
тАО02-03-2009 12:31 AM
Hi.
I have a question about how to identify new disks presented to the system. All I want is know all the device files (paths) for the new disk.
Currently I'm doing:
# ls тАУla /dev/rdsk/ | awk '{print $10}' | sort -u > disks_before
### Now I create and present disk in the EVA ####
# ioscan -fnC disk
# ls тАУla /dev/rdsk/ | awk '{print $10}' | sort -u > disks_after
# diff disks_before disks_after
12a13
> c2t0d1
16a18
> c3t0d1
20a23
> c4t0d1
24a28
> c5t0d1
28a33
> c6t0d1
32a38
> c7t0d1
36a43
> c8t0d1
40a48
> c9t0d1
So, my 8 paths for the disk are:
/dev/dsk/c2t0d1
/dev/dsk/c3t0d1
/dev/dsk/c4t0d1
/dev/dsk/c5t0d1
/dev/dsk/c6t0d1
/dev/dsk/c7t0d1
/dev/dsk/c8t0d1
/dev/dsk/c9t0d1
I make sure that none of the above paths belong to any working VG:
# for i in `diff disks_before disks_after | grep ">" | cut -f2 -d" "`; do \
vgdisplay -v | grep $i ; \
done
The above works, but my question is: what's the smart and right way of doing the above? I'm sure there is an HP-UX command available I don't know about...
Thanks :)
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО02-03-2009 12:38 AM
тАО02-03-2009 12:38 AM
Re: How to identify new EVA disk devices
comm -23 disks_before disks_after # only in before
comm -13 disks_before disks_after # only in after
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО02-03-2009 12:48 AM
тАО02-03-2009 12:48 AM
Re: How to identify new EVA disk devices
HTH
Duncan
I am an HPE Employee
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО02-03-2009 01:14 AM
тАО02-03-2009 01:14 AM
Re: How to identify new EVA disk devices
The easiest way to find the device file path is
#ioscan -fnC disk
Anything under 'description' column mentioning as 'HP HSV*' (* represents model of EVA controller) should be your newly added disks. In the next line, you have device file for the corresponding disk.
Regards,
Ram.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО02-03-2009 01:41 AM
тАО02-03-2009 01:41 AM
Re: How to identify new EVA disk devices
> The easiest way to find the device file path is
>
> #ioscan -fnC disk
>
> Anything under 'description' column
> mentioning as 'HP HSV*' (* represents model
> of EVA controller) should be your newly
> added disks. In the next line, you have
> device file for the corresponding disk.
But I have about 10-12 disks already exported from the EVA to the machine and they appear in ioscan as HP HSV200...
How do I distinguish then NEW devices (8 paths for the new device).
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО02-03-2009 01:45 AM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО02-03-2009 02:35 AM
тАО02-03-2009 02:35 AM
Re: How to identify new EVA disk devices
I only found this searching for EVAINFO:
http://h20000.www2.hp.com/bizsupport/TechSupport/SoftwareDescription.jsp?lang=en&cc=us&swItem=co-52750-1&jumpid=reg_R1002_USEN
Is for HP-UX 11.23 PARISC, and I have an Itanium machine ... IIRC it is backwards compatible, isn't it? Is it safe to execute parisc's evainfo under Itanium?
Thanks.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО02-03-2009 03:06 AM
тАО02-03-2009 03:06 AM
Re: How to identify new EVA disk devices
I answer myself: evainfo for PARISC works correctly under Itanium.
Thanks everybody for all the info given, I'll close the thread :)
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО02-03-2009 03:07 AM
тАО02-03-2009 03:07 AM
Re: How to identify new EVA disk devices
SOLUTION:
"evainfo -a" shows me the WWN of the disks, so I can locate and identify /dev/rdsk/ files to create the PV/VG/LV.