- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Re: Getting HW path & LUN paths from /dev/dsk/c*
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
тАО06-28-2010 02:46 AM
тАО06-28-2010 02:46 AM
associated with a device after deleting it. Is there any command with gives the lun & HW paths if we give the device as input(/dev/dsk/c*t*d*)?
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО06-28-2010 03:27 AM
тАО06-28-2010 03:27 AM
Re: Getting HW path & LUN paths from /dev/dsk/c*
#insf -eC disk
This will recreate the device files and the device files for the removed disks will get removed.
In case of a an EMC symmetrix LUN, you will have to run powermt commands to remove the dead paths
The sequence will be as follows,
#powermt check
#powermt config
#powermt save
#powermt display
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО06-28-2010 03:29 AM
тАО06-28-2010 03:29 AM
Re: Getting HW path & LUN paths from /dev/dsk/c*
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО06-28-2010 03:51 AM
тАО06-28-2010 03:51 AM
Re: Getting HW path & LUN paths from /dev/dsk/c*
1.rmsf -a /dev/dsk/c5t2d2
2.insf -eC disk
but i still see NO_HW HW & lun paths
# ioscan -fkNC disk | grep NO_HW
disk 36 64000/0xfa00/0x67b esdisk NO_HW DEVICE NETAPP LUN
# ioscan -fkNC lunpath | grep NO_HW
lunpath 32 64000/0x2/0x0.0x0.0x4012000000000000 eslpt NO_HW LUN_PATH LUN path for disk36
# uname -a
HP-UX hpux197- B.11.31 U ia64 1205803419 unlimited-user license
Am i missing anything?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО06-28-2010 03:53 AM
тАО06-28-2010 03:53 AM
Re: Getting HW path & LUN paths from /dev/dsk/c*
Which is your OS ?
#ioscan is the command which will give you device files and hardware mapping.
But
"I need to delete the HW path and LUN paths
associated with a device after deleting it.
"
==> what you mean by delete HW path???
Regards,
Sooraj
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО06-28-2010 03:56 AM
тАО06-28-2010 03:56 AM
Re: Getting HW path & LUN paths from /dev/dsk/c*
# ioscan -fkNC disk
Class I H/W Path Driver S/W State H/W Type Description
===================================================================
disk 3 64000/0xfa00/0x0 esdisk CLAIMED DEVICE HP 73.4GMAX3073NC
disk 4 64000/0xfa00/0x1 esdisk CLAIMED DEVICE HP 73.4GMAX3073NC
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО06-28-2010 04:09 AM
тАО06-28-2010 04:09 AM
Re: Getting HW path & LUN paths from /dev/dsk/c*
Simply run "rmsf -x" to instantly delete all disk devices, HW paths and lunpaths whose disk is no longer available.
MK
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО06-28-2010 04:21 AM
тАО06-28-2010 04:21 AM
Re: Getting HW path & LUN paths from /dev/dsk/c*
# rmsf -x
rmsf: Removing stale entry at 255/0/1.0 for iscsial
rmsf: Removing stale entry at 255/0/2.0.0.0 for sdisk
rmsf: Removing stale entry at 255/0/2.0.0.3 for sdisk
rmsf: Removing stale entry at 255/0/2.0.0.6 for sdisk
rmsf: Removing stale entry at 64000/0x2/0x0.0x1 for estp
rmsf: Removing stale entry at 64000/0x2/0x0.0x2.0x4000000000000000 for eslpt
rmsf: Removing stale entry at 64000/0x2/0x0.0x2.0x4003000000000000 for eslpt
rmsf: Removing stale entry at 64000/0x2/0x0.0x2.0x4006000000000000 for eslpt
rmsf: Removing stale entry at 64000/0xfa00/0x672 for esdisk
rmsf: Removing stale entry at 64000/0xfa00/0x673 for esdisk
rmsf: Removing stale entry at 64000/0xfa00/0x676 for esdisk
Removing stale block DSF /dev/dsk/c6t0d0
Removing stale block DSF /dev/dsk/c6t0d2
Removing stale block DSF /dev/dsk/c6t0d3
Removing stale block DSF /dev/dsk/c6t0d4
Removing stale block DSF /dev/dsk/c6t0d5
Removing stale block DSF /dev/dsk/c6t0d6
Removing stale block DSF /dev/dsk/c6t0d7
Removing stale block DSF /dev/disk/disk27
Removing stale block DSF /dev/disk/disk22
Removing stale block DSF /dev/disk/disk28
Removing stale character DSF /dev/isw
Removing stale character DSF /dev/rdsk/c6t0d0
Removing stale character DSF /dev/rdsk/c6t0d2
Removing stale character DSF /dev/rdsk/c6t0d3
Removing stale character DSF /dev/rdsk/c6t0d4
Removing stale character DSF /dev/rdsk/c6t0d5
Removing stale character DSF /dev/rdsk/c6t0d6
Removing stale character DSF /dev/rdsk/c6t0d7
Removing stale character DSF /dev/rdisk/disk27
Removing stale character DSF /dev/rdisk/disk22
Removing stale character DSF /dev/rdisk/disk28
# ioscan -fkNC disk | grep NO_HW
disk 36 64000/0xfa00/0x67b esdisk NO_HW DEVICE NETAPP LUN
# ioscan -fkNC lunpath | grep NO_HW
lunpath 32 64000/0x2/0x0.0x0.0x4012000000000000 eslpt NO_HW LUN_PATH LUN path for disk36
#
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО06-28-2010 04:28 AM
тАО06-28-2010 04:28 AM
Re: Getting HW path & LUN paths from /dev/dsk/c*
# rmsf -k -H ...
Hope this helps!
Regards
Torsten.
__________________________________________________
There are only 10 types of people in the world -
those who understand binary, and those who don't.
__________________________________________________
No support by private messages. Please ask the forum!
If you feel this was helpful please click the KUDOS! thumb below!
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО06-28-2010 04:28 AM
тАО06-28-2010 04:28 AM