- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- cannot seem to remove some device files using rmsf
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
Forums
Discussions
Discussions
Discussions
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
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
08-27-2001 01:15 PM
08-27-2001 01:15 PM
below is the output when trying to remove the block device files (system has 2 host bus adapters going to the array)
igniter:[/dev/dsk]# ll *3
brw-r----- 1 bin sys 28 0x006300 Jul 13 02:32 c0t6d3
brw-r----- 1 bin sys 28 0x016300 Aug 23 10:05 c1t6d3
igniter:[/dev/dsk]# rmsf -a *3
rmsf: c0t6d3: No such file or directory
rmsf: c1t6d3: No such file or directory
igniter:[/dev/dsk]# ll *3
brw-r----- 1 bin sys 28 0x006300 Jul 13 02:32 c0t6d3
brw-r----- 1 bin sys 28 0x016300 Aug 23 10:05 c1t6d3
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-27-2001 02:00 PM
08-27-2001 02:00 PM
Re: cannot seem to remove some device files using rmsf
Try with rmsf -H option specifying the full path.
-Sri
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-27-2001 02:25 PM
08-27-2001 02:25 PM
SolutionIf you are certain that the LUN is no longer being used then you could do
rmsf /dev/*dsk/c0t6d3
rmsf /dev/*dsk/c1t6d3
rmsf doesn't like it if you don't specify the full path.
-HTH
Ramesh
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-28-2001 10:13 AM
08-28-2001 10:13 AM
Re: cannot seem to remove some device files using rmsf
thx, but i forgot to mention that using -H gave the same disappointing results.
why do rmsf before removing the LUN on the array?
ramesh
thx, using the full path worked!
fyi, i did not need to use the full device file path with rmsf when removing device files for tape drives ...but seem to have to here!?!
what is the big deal about rmsf anyway? why can't i just use rm?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-28-2001 10:19 AM
08-28-2001 10:19 AM
Re: cannot seem to remove some device files using rmsf
For the cleanup on removed luns my approach is
lssf /dev/dsk/* |grep "???"
rm (or rmsf -av)
Also remove them from /dev/rdsk
Thanks.
Prashant