From: "Rafa Grimán" <rafagriman@gmail.com>
To: xfs-oss <xfs@oss.sgi.com>
Subject: Empty dir can't be removed ... because it's not empty?
Date: Tue, 10 Jan 2012 21:26:35 +0100 [thread overview]
Message-ID: <201201102126.35268.rafagriman@gmail.com> (raw)
Hi all :)
My /home is on an XFS partition all to it's own. The other day the lights went
out and when I rebooted, there's an empty directory that can't be erased. This
directory is a subdirectory in ~/.kde4/
The funny thing about this is that I can rename the directory, but I can't
delete it:
[root@mine albumcovers]# ls
. .. cache
[root@mine albumcovers]# ls -lah cache/
total 0
drwx------ 1 rafa users 6 Jan 10 02:23 .
drwx------ 3 rafa users 18 Jan 10 02:23 ..
[root@mine albumcovers]# du -sh cache/
0 cache/
[root@mine albumcovers]# mount | grep -i home
/dev/sda3 on /home type xfs (rw,relatime,attr2,delaylog,noquota)
[root@mine albumcovers]# file cache/
cache/: directory
[root@mine albumcovers]# rm -Rf cache/
rm: cannot remove `cache': Directory not empty
[root@mine albumcovers]# mv cache other_dir_name
[root@mine albumcovers]# ls
. .. other_dir_name
[root@mine albumcovers]# rm -Rf other_dir_name/
rm: cannot remove `other_dir_name': Directory not empty
[root@mine albumcovers]# ls -lah other_dir_name/
total 0
drwx------ 1 rafa users 6 Jan 10 02:23 .
drwx------ 3 rafa users 27 Jan 10 21:14 ..
[root@mine albumcovers]# du -sh other_dir_name/
0 other_dir_name/
[root@mine albumcovers]#
Kernel version: 3.1.8-1-ARCH (Arch Linux)
XFS: xfsprogs 3.1.7-1
Any idea of what's going on?
Any tool I can use to understand what's happening?
TIA
Rafa
--
"We cannot treat computers as Humans. Computers need love."
_______________________________________________
xfs mailing list
xfs@oss.sgi.com
http://oss.sgi.com/mailman/listinfo/xfs
next reply other threads:[~2012-01-10 20:26 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2012-01-10 20:26 Rafa Grimán [this message]
2012-01-10 20:58 ` Empty dir can't be removed ... because it's not empty? Markus Trippelsdorf
2012-01-10 22:10 ` Dave Chinner
2012-01-11 18:28 ` Rafa Grimán
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=201201102126.35268.rafagriman@gmail.com \
--to=rafagriman@gmail.com \
--cc=xfs@oss.sgi.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.