- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Re: cannot remove files
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-30-2005 06:32 PM
08-30-2005 06:32 PM
cannot remove files
OS is HP-ux 11i.There are some files in a directory.Use ll command, it show
./file1 not found
./file2 not found
./file3 not found
total 0
When i use rm command, it show
rm: cannot stat file1: No such device or address
rm: cannot stat file2: No such device or address
rm: cannot stat file3: No such device or address
How can i remove these files?
Thanks.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-30-2005 06:53 PM
08-30-2005 06:53 PM
Re: cannot remove files
there seems to be a mismatch between the files referenced and what is actually present on the disk.
It may be remedied by a file system check - or perhaps even by recreating the files manually - but before that you should check for bad disks, e.g. execute ioscan, look into the syslog, as this could very well be the problem.
regards,
John K.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-30-2005 07:22 PM
08-30-2005 07:22 PM
Re: cannot remove files
The fsck must umount filesystem.May i remove or recreate these files in a mounted filesystem.
Thank you.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-30-2005 07:34 PM
08-30-2005 07:34 PM
Re: cannot remove files
# sync
# /usr/sbin/fsck
# echo $?
# sync
If it returns more than 33 file system is damaged severly.
hth.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-30-2005 07:38 PM
08-30-2005 07:38 PM
Re: cannot remove files
check first for missing disks, as this might be due to the powerfailure you mention. Try this command:
# ioscan -fnC disk
and look for NO_HW, (which I hope you do not see), but if you do, then check that power is available for the disks in question.
regards,
John K.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-30-2005 07:52 PM
08-30-2005 07:52 PM
Re: cannot remove files
this filesystem. And remove these files.
Thanks, everyone.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-30-2005 07:53 PM
08-30-2005 07:53 PM