LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Server
User Name
Password
Linux - Server This forum is for the discussion of Linux Software used in a server related context.

Notices

Reply
 
Search this Thread
Old 01-31-2008, 12:03 AM   #1
warnold
LQ Newbie
 
Registered: Jan 2008
Posts: 18

Rep: Reputation: 0
Unhappy getting 'error 525' when doing the rm command


We create datasets on various 'nfs' mounted raids. Creating directories
within directories. When the jobs finish, they remove these created files
and directories. It seems all files in directory are removed, but top
directory is not removed. Giving 'unknown error 525'. We have to click
many times to remove the one last dataset when doing the rm command manually. On the SGI systems that use Irix as its os, its ok, all is removed when jobs finish running. This problem is true with RedHat Enterprise WS
ver. 4 and Centos 4.5
If single directories are created with datasets, rm is no problem.


Thanks for your time,

Wayne
 
Old 01-31-2008, 03:57 AM   #2
Simon Bridge
Guru
 
Registered: Oct 2003
Location: Waiheke NZ
Distribution: Ubuntu
Posts: 9,211

Rep: Reputation: 197Reputation: 197
Quote:
We have to click many times to remove the one last dataset when doing the rm command manually.
One does not click at all when using a cli command "manually". I guess you mean, when you use the gui to remove the top directory?

Try a simple test:

mkdir foo
touch foo/bar
rm -rf foo

copy over entire instruction sequence plus any messages that are generated.
type "alias" to make sure rm has not been aliased.

However, there are indications that this can be a bug in the NFS server. This server
sometimes does not allow clients to rm directories recursively. If you have:

/foo/bar

A directory a with a file bar inside. When you issue rm -rf /foo, bar gets deleted
but /foo remains and one gets Unkown error 525.

eg. http://svn.haxx.se/users/archive-2005-06/1682.shtml
... but I haven't found an actual bug report.

Presumably the workaround is to add an extra rm after the first one, this time just "rmdir a". Alternatively, one can add an extra directory to the tree.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Error for command...read sector error? Help, please! woms14 Solaris / OpenSolaris 1 07-07-2007 03:36 AM
Genius Ergo 525 wzzrd Linux - Hardware 0 03-29-2006 02:13 AM
Video Card RAMDAC IBM 525 not supported Fedora Core 2 14awl Fedora 1 05-05-2005 12:35 AM
Ed command error hpaixao Programming 9 02-17-2005 02:26 PM
Error Using rm Command suchi_s Linux - General 15 05-29-2004 12:33 AM


All times are GMT -5. The time now is 05:31 AM.

Main Menu
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration