Cannot remove empty directory

Net Llama! netllama
Wed Jun 15 16:34:35 PDT 2005


On Wed, 15 Jun 2005, Michael Hipp wrote:

> Net Llama! wrote:
> > rm -rf apps
>
>    $ rm -rf apps
>    rm: cannot remove directory `apps': Directory not empty
>
> Note that I had already tried 'rm -drf'.
>
> > also, when's the last time you ran a fsck on this filesystem?
>
> Probably never. This server was put in operation about 6 months ago and
> has hardly been rebooted since.
>
> Is it possible to do 'xfs_check' while running or does it have to come
> down to RL1?

You can run an xfs_check on any *unmounted* filesystem.  Runlevel is
irrelevant.

-- 
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Lonni J Friedman                        netllama at linux-sxs.org
LlamaLand				http://netllama.linux-sxs.org


More information about the Linux-users mailing list