* Empty directory can't be removed, "not empty"
@ 2014-10-05 13:12 Roman Mamedov
2014-10-05 21:15 ` Josef Bacik
0 siblings, 1 reply; 2+ messages in thread
From: Roman Mamedov @ 2014-10-05 13:12 UTC (permalink / raw)
To: linux-btrfs
[-- Attachment #1: Type: text/plain, Size: 484 bytes --]
Hello,
After an improper shutdown (power loss), I got one of these again:
# ls -la junk/
total 0
drwx------ 1 rm rm 4152 Oct 5 18:44 .
drwxr-xr-x 1 root root 72 Oct 5 19:10 ..
# rm -rvf junk/
rm: cannot remove `junk': Directory not empty
The kernel version is 3.4.18.
If this helps, initially it was a Chromium browser profile directory; and it
had nodatacow files in it (chattr +C).
How to actually remove this directory now?
--
With respect,
Roman
[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 198 bytes --]
^ permalink raw reply [flat|nested] 2+ messages in thread
* Re: Empty directory can't be removed, "not empty"
2014-10-05 13:12 Empty directory can't be removed, "not empty" Roman Mamedov
@ 2014-10-05 21:15 ` Josef Bacik
0 siblings, 0 replies; 2+ messages in thread
From: Josef Bacik @ 2014-10-05 21:15 UTC (permalink / raw)
To: Roman Mamedov; +Cc: linux-btrfs
Fsck will fix it, its a bug from way back when. Thanks,
Josef
Roman Mamedov <rm@romanrm.net> wrote:
Hello,
After an improper shutdown (power loss), I got one of these again:
# ls -la junk/
total 0
drwx------ 1 rm rm 4152 Oct 5 18:44 .
drwxr-xr-x 1 root root 72 Oct 5 19:10 ..
# rm -rvf junk/
rm: cannot remove `junk': Directory not empty
The kernel version is 3.4.18.
If this helps, initially it was a Chromium browser profile directory; and it
had nodatacow files in it (chattr +C).
How to actually remove this directory now?
--
With respect,
Roman
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2014-10-05 21:15 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2014-10-05 13:12 Empty directory can't be removed, "not empty" Roman Mamedov
2014-10-05 21:15 ` Josef Bacik
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox