HPE GreenLake Administration
- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - Linux
- >
- rm: cannot remove `TGSmakeit': No such file or dir...
Operating System - Linux
1828227
Members
3336
Online
109975
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
01-22-2006 03:59 PM
01-22-2006 03:59 PM
rm: cannot remove `TGSmakeit': No such file or directory
Dear Experts,
We have an strange problem on Redhat EL 3.0 U4 WS ( 2.4.xxxx kernel).
While running build I get the following error:
gmake[4]: Leaving directory `/project/dvdrw2/users/dvdr_blr/build/C1_5/1303/software-build_c1_5/software/dev
/appl/comp/ola/test'
rm: cannot remove `TGSmakeit': No such file or directory
rm: cannot remove `TGSgenerate': No such file or directory
rm: cannot remove `TGSgenerate.c': No such file or directory
gmake[3]: *** [test] Error 1
The strange part is most of the time the build runs without any problem .. but some time it fails. I did few chek to see if the file exists before removing it .. and it does ..
The project area is on NFS mounted FS from and EMC NAS box ...
Any clue to where will the problem be ? Does it some thing to do with inode ? ( Just a wise guess)
Regards
We have an strange problem on Redhat EL 3.0 U4 WS ( 2.4.xxxx kernel).
While running build I get the following error:
gmake[4]: Leaving directory `/project/dvdrw2/users/dvdr_blr/build/C1_5/1303/software-build_c1_5/software/dev
/appl/comp/ola/test'
rm: cannot remove `TGSmakeit': No such file or directory
rm: cannot remove `TGSgenerate': No such file or directory
rm: cannot remove `TGSgenerate.c': No such file or directory
gmake[3]: *** [test] Error 1
The strange part is most of the time the build runs without any problem .. but some time it fails. I did few chek to see if the file exists before removing it .. and it does ..
The project area is on NFS mounted FS from and EMC NAS box ...
Any clue to where will the problem be ? Does it some thing to do with inode ? ( Just a wise guess)
Regards
Niraj.Verma@philips.com
2 REPLIES 2
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-22-2006 06:05 PM
01-22-2006 06:05 PM
Re: rm: cannot remove `TGSmakeit': No such file or directory
What NFS options have you set for the filesystem?
In particular, are you using NFS over TCP, and with what block/buffer sizes for read & write?
It looks as if it is making a file on the filesystem, but when it goes to read it back, the filesystem hasn't got it yet. As if the NAS is buffering the request to create the file, and hasn't actually done it yet.
What sort of buffering/caching options does the NAS have? Can you turn them off for testing?
In particular, are you using NFS over TCP, and with what block/buffer sizes for read & write?
It looks as if it is making a file on the filesystem, but when it goes to read it back, the filesystem hasn't got it yet. As if the NAS is buffering the request to create the file, and hasn't actually done it yet.
What sort of buffering/caching options does the NAS have? Can you turn them off for testing?
One long-haired git at your service...
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-05-2007 12:17 AM
02-05-2007 12:17 AM
Re: rm: cannot remove `TGSmakeit': No such file or directory
Hi, I have the exact same problem
EMC NAS clarion + with RH EL 3 up 4 2.4.21-32.ELsmp
/foo mounted by nfs
ls /foo
/foo
/foo/bar
In most cases it works, but
sometime rm says :
$ rm -r /foo
rm: cannot remove `/foo/bar': No such file or directory
/foo/bar is erased, but the message is wrong and rm exits with not 0.
I have a full encapsulated procedure which stops when rm fails. Very annoying problem
There is many levels of cache:
- nfs client rsize=32768 and wsize=4096
- nfs server attribute cache
- EMC disk cache
While my system Is in production it is pretty hard to turn off EMC or nfs server cache, cause it would dracstically impact performances.
EMC NAS clarion + with RH EL 3 up 4 2.4.21-32.ELsmp
/foo mounted by nfs
ls /foo
/foo
/foo/bar
In most cases it works, but
sometime rm says :
$ rm -r /foo
rm: cannot remove `/foo/bar': No such file or directory
/foo/bar is erased, but the message is wrong and rm exits with not 0.
I have a full encapsulated procedure which stops when rm fails. Very annoying problem
There is many levels of cache:
- nfs client rsize=32768 and wsize=4096
- nfs server attribute cache
- EMC disk cache
While my system Is in production it is pretty hard to turn off EMC or nfs server cache, cause it would dracstically impact performances.
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
Support
Events and news
Customer resources
© Copyright 2025 Hewlett Packard Enterprise Development LP