- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- How to delete a device file created with mknod ?
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
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
тАО03-01-2006 04:18 AM
тАО03-01-2006 04:18 AM
For testing, I have mounted a VDisk on a HP-UX11.23 Server with mknod > vgcreate > newfs > mount ...
I want now to delete them.
I see it only if I start a ioscan -fnC disk :
disk 8 255/255/0/0.6 sdisk NO_HW DEVICE HSV100 HP
/dev/dsk/c11t0d6 /dev/rdsk/c11t0d6
Can I just delete the node-files with rm ?
Thanks you
Thierry
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО03-01-2006 04:20 AM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО03-01-2006 04:22 AM
тАО03-01-2006 04:22 AM
Re: How to delete a device file created with mknod ?
Jeff Traigle
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО03-01-2006 04:23 AM
тАО03-01-2006 04:23 AM
Re: How to delete a device file created with mknod ?
I think you have already exported the VG .
In that case do rm -fR /dev/VGName .
To remove device file use rmsf .
Thanks .
bl.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО03-01-2006 04:32 AM
тАО03-01-2006 04:32 AM
Re: How to delete a device file created with mknod ?
I removed the device files with rsmf, but the H/W Path appears always in the ioscan.
I tried without success
rmsf -H 255/255/0/0.6
Any idea?
Thierry
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО03-01-2006 05:01 AM
тАО03-01-2006 05:01 AM
Re: How to delete a device file created with mknod ?
If the hardware has truly been removed, then when you reboot it will vanish from 'ioscan'.
Regards!
...JRF...
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО03-01-2006 06:01 AM
тАО03-01-2006 06:01 AM
Re: How to delete a device file created with mknod ?
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
тАО03-01-2006 12:59 PM
тАО03-01-2006 12:59 PM
Re: How to delete a device file created with mknod ?
#rmsf -H 255/255/0/0.6
and
#ioscan -fnC disk
to check it
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО03-01-2006 06:37 PM
тАО03-01-2006 06:37 PM
Re: How to delete a device file created with mknod ?
I do that exactly, but without success, my device appears always in the ioscan !?
Regards
Thierry
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО03-02-2006 12:47 AM
тАО03-02-2006 12:47 AM
Re: How to delete a device file created with mknod ?
rmsf -k -H
-tjh
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО03-02-2006 02:36 AM
тАО03-02-2006 02:36 AM
Re: How to delete a device file created with mknod ?
With the -k is not better. The first time I saw again the device files !
sapdev //#>ioscan -fnC disk
...
disk 8 255/255/0/0.6 sdisk NO_HW DEVICE HSV100 HP
sapdev //#>rmsf -k -H 255/255/0/0.6
sapdev //#>ioscan -fnC disk
Class I H/W Path Driver S/W State H/W Type Description
============================================================================
...disk 8 255/255/0/0.6 sdisk NO_HW DEVICE HSV100 HP
/dev/dsk/c11t0d6 /dev/rdsk/c11t0d6
sapdev //#>rmsf -H 255/255/0/0.6
sapdev //#>ioscan -fnC disk
Class I H/W Path Driver S/W State H/W Type Description
============================================================================
disk 8 255/255/0/0.6 sdisk NO_HW DEVICE HSV100 HP
Perhaps a reboot, but the server boot if a disk is marked "NO_HW" ?
Thanks you
Thierry
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО03-02-2006 02:42 AM
тАО03-02-2006 02:42 AM
Re: How to delete a device file created with mknod ?
Yes - follow JRF's advice & it'll go away.
And no, it'll boot just fine as I assume that's not a boot disk.
Rgds,
Jeff