Download your favorite Linux distribution at LQ ISO.
Go Back > Forums > Linux Forums > Linux - Server
User Name
Linux - Server This forum is for the discussion of Linux Software used in a server related context.


  Search this Thread
Old 01-31-2008, 01:03 AM   #1
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,

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

Rep: Reputation: 198Reputation: 198
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:


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.

... 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.


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 sector error? Help, please! woms14 Solaris / OpenSolaris 1 07-07-2007 04:36 AM
Genius Ergo 525 wzzrd Linux - Hardware 0 03-29-2006 03:13 AM
Video Card RAMDAC IBM 525 not supported Fedora Core 2 14awl Fedora 1 05-05-2005 01:35 AM
Ed command error hpaixao Programming 9 02-17-2005 03:26 PM
Error Using rm Command suchi_s Linux - General 15 05-29-2004 01:33 AM > Forums > Linux Forums > Linux - Server

All times are GMT -5. The time now is 12:35 AM.

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