HPE GreenLake Administration
- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Cannot remove devices from HPUX 11.31 system
Operating System - HP-UX
1835251
Members
2350
Online
110078
Solutions
Forums
Categories
Company
Local Language
back
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
back
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
Blogs
Information
Community
Resources
Community Language
Language
Forums
Blogs
Topic Options
- 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
10-05-2009 11:48 AM
10-05-2009 11:48 AM
Cannot remove devices from HPUX 11.31 system
I am trying to remove devices from an HPUX 11.31 system after unmasking them from an EMC array. The unmasking caused the ioscan to give some NO_HW devices:
# ioscan -kfnNCdisk
.
.
.
disk 2284 64000/0xfa00/0x3f6 esdisk NO_HW DEVICE EMC SYMMETRIX
/dev/disk/disk2284 /dev/rdisk/disk2284
disk 2285 64000/0xfa00/0x3f7 esdisk NO_HW DEVICE EMC SYMMETRIX
/dev/rdisk/disk2285
disk 2286 64000/0xfa00/0x3f8 esdisk NO_HW DEVICE EMC SYMMETRIX
/dev/disk/disk2286 /dev/rdisk/disk2286
Now when I try to rmsf I get:
# rmsf -H 64000/0xfa00/0x3f8
Device at 64000/0xfa00/0x3f8 is busy. Cannot remove.
The only thing I can think of that would still be locking these devices would be VxVM. I've tried to reset VxVM and am still getting this error. Any ideas?
# ioscan -kfnNCdisk
.
.
.
disk 2284 64000/0xfa00/0x3f6 esdisk NO_HW DEVICE EMC SYMMETRIX
/dev/disk/disk2284 /dev/rdisk/disk2284
disk 2285 64000/0xfa00/0x3f7 esdisk NO_HW DEVICE EMC SYMMETRIX
/dev/rdisk/disk2285
disk 2286 64000/0xfa00/0x3f8 esdisk NO_HW DEVICE EMC SYMMETRIX
/dev/disk/disk2286 /dev/rdisk/disk2286
Now when I try to rmsf I get:
# rmsf -H 64000/0xfa00/0x3f8
Device at 64000/0xfa00/0x3f8 is busy. Cannot remove.
The only thing I can think of that would still be locking these devices would be VxVM. I've tried to reset VxVM and am still getting this error. Any ideas?
2 REPLIES 2
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-05-2009 01:11 PM
10-05-2009 01:11 PM
Re: Cannot remove devices from HPUX 11.31 system
when you issue the command "bdf" can you see this devices ? if yes , you probably need to umount first then delete with rmsf . .
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-05-2009 02:30 PM
10-05-2009 02:30 PM
Re: Cannot remove devices from HPUX 11.31 system
When you unmask or remove the definition of a disk LUN, you have ripped out a disk from the OS while it is running. This is fine as long as you have verified that the disk is not used by a database (especially in raw mode), not a swap area, not part of a volume group, not an alternate link or used by a path manager such as PowerPath or DynaPath, etc.
The disk is busy because something is still using the disk. You can try this:
# fuser /dev/*disk/disk228[456]
DO NOT use the -k option -- you may accidentally kill your database or some other critical program. Identify the program(s) and then shut them down in an orderly manner.
fuser is only 50% successful in finding open device files. Use lsof if fuser can't find anything. If you don't have lsof, be sure to download and install it.
Bill Hassell, sysadmin
The disk is busy because something is still using the disk. You can try this:
# fuser /dev/*disk/disk228[456]
DO NOT use the -k option -- you may accidentally kill your database or some other critical program. Identify the program(s) and then shut them down in an orderly manner.
fuser is only 50% successful in finding open device files. Use lsof if fuser can't find anything. If you don't have lsof, be sure to download and install it.
Bill Hassell, sysadmin
The opinions expressed above are the personal opinions of the authors, not of Hewlett Packard Enterprise. By using this site, you accept the Terms of Use and Rules of Participation.
Company
Events and news
Customer resources
© Copyright 2025 Hewlett Packard Enterprise Development LP