- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- how to determine if two device file is pointing to...
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
тАО05-27-2003 02:17 PM
тАО05-27-2003 02:17 PM
Thanks,
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО05-27-2003 02:54 PM
тАО05-27-2003 02:54 PM
Re: how to determine if two device file is pointing to same disk?
dd if=/dev/rdsk/c?t?d? of =/dev/null bs=2048k
Pete
Pete
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО05-27-2003 05:19 PM
тАО05-27-2003 05:19 PM
Re: how to determine if two device file is pointing to same disk?
regards
mB
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО05-27-2003 06:20 PM
тАО05-27-2003 06:20 PM
Re: how to determine if two device file is pointing to same disk?
Rgds...Geoff
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО05-27-2003 07:03 PM
тАО05-27-2003 07:03 PM
Re: how to determine if two device file is pointing to same disk?
I too am using dd for this and it works fine provided I am able to see the disk LED.
Some high end disk array like XP512 etc... We cannot see the disk/lun.
Here we need to run the utility which comes with the Disk Array. Like xpinfo for xp512 and check the Ldev number. Same disk will have two device files but the same LDEV number and hence we can say that they are the same disk/lun.
Thanks,
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО05-27-2003 08:24 PM
тАО05-27-2003 08:24 PM
Re: how to determine if two device file is pointing to same disk?
Are these disks from EMC Symmetrix ?.. if so, you can install "syminq" or "inq" utility from EMC on the server. By executing the "inq" command, you can make out whether two device files are pointing to same disk or not. In EMC symmetrix there is a qnique number by which each disk is identified. The inq o/p would show you those details.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО05-27-2003 10:46 PM
тАО05-27-2003 10:46 PM
Re: how to determine if two device file is pointing to same disk?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО05-27-2003 11:20 PM
тАО05-27-2003 11:20 PM
Solutionhere is my favorite trick:
read the PVID.
What is PVID ?
Is a unique identifier given by the kernel when you initialize it (aka pvcreate)
How do I find the PVID ?
echo 0x2008?2X | adb /dev/dsk/cxtxdx | expand | tr -d " " | sed "s/2008:/PVID /"
if two PVID are the same, then the disks are the same.
HTH,
Massimo
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО05-27-2003 11:31 PM
тАО05-27-2003 11:31 PM
Re: how to determine if two device file is pointing to same disk?
Best regards...
Dietmar.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО05-27-2003 11:42 PM
тАО05-27-2003 11:42 PM
Re: how to determine if two device file is pointing to same disk?
if the disk is configured in a VG, u can get the info using pvdisplay
Regards