- Community Home
- >
- Servers and Operating Systems
- >
- Legacy
- >
- Operating System - Tru64 Unix
- >
- cannot delete file from advfs
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
тАО09-21-2004 02:12 AM
тАО09-21-2004 02:12 AM
cannot delete file from advfs
I am new to Tru64.
Just ran into this problem. By doing "ls" I can see two files in the directory, if I do "ls -al" got this message:
# ls
ora_18939.aud ora_19113.aud
# ls -al
./ora_18939.aud not found
./ora_19113.aud not found
total 24
drwxr-xr-x 2 oracle dba 16384 Sep 20 13:18 .
drwxr-xr-x 3 oracle dba 8192 Sep 20 13:18 ..
And when I tried to remove the files using rm -rf *., It did nothing. Anybody has idea about this? Thanks a lot.
Fred
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО09-21-2004 02:38 AM
тАО09-21-2004 02:38 AM
Re: cannot delete file from advfs
This looks like an NFS problem. Is this directory mounted thru NFS?.
The directory file has entries about the files mentioned, but they don't exist.
rgds,
blv
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО09-21-2004 04:47 AM
тАО09-21-2004 04:47 AM
Re: cannot delete file from advfs
It is mounted through advfs, not NFS.
Those files either not exist, or somehow system can not collect their file status with "ls -al" and other command( rm, du -k ).
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО09-21-2004 07:40 AM
тАО09-21-2004 07:40 AM
Re: cannot delete file from advfs
I would suggest to check the binary errorlog for hardware errors. You could also try
dd if=/devicefilesetison of=/dev/null bs=1024k
Then I would umount the fileset these files are on and run a verify to detect inconsistencies in the fileset.
Then you could delete and recreate the directory the files are in.
greetings,
Michael
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО09-21-2004 08:27 PM
тАО09-21-2004 08:27 PM
Re: cannot delete file from advfs
Maybe the files are still open by another process or advfs is out of sync with his quota file.
So use fuser to check if file is still in use or shutdown in single user mode using quotacheck to verify proper filesystem information.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО09-21-2004 10:09 PM
тАО09-21-2004 10:09 PM
Re: cannot delete file from advfs
when you use rm -f you will not get any error message. try rm only.
Ralf,
as first ls statement shows there are only two files in the dir, so no danger of "collateral damage" ;-)
greetings,
Michael
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО09-22-2004 12:10 AM
тАО09-22-2004 12:10 AM
Re: cannot delete file from advfs
And when all of the above fails, try /sbin/advfs/fixfdmn (if your running an up-to-date Tru64 version) or /sbin/advfs/verify (if you run a somewhat older Tru64 rev.) this in view of a possible AdvFS filedomain corruption.
_Johan_.
_JB_