Beta
×

Welcome to the Slashdot Beta site -- learn more here. Use the link in the footer or click here to return to the Classic version of Slashdot.

Thank you!

Before you choose to head back to the Classic look of the site, we'd appreciate it if you share your thoughts on the Beta; your feedback is what drives our ongoing development.

Beta is different and we value you taking the time to try it out. Please take a look at the changes we've made in Beta and  learn more about it. Thanks for reading, and for making the site better!

WTF?

Tet (2721) writes | about 8 months ago

User Journal 1

leto:/stuff% mkdir mp3
mkdir: cannot create directory `mp3': No space left on device
leto:/stuff% mkdir qwe
leto:/stuff% mv qwe mp3
leto:/stuff% ls -ld mp3
drwxrwxr-x. 2 tet tet 4096 Dec 22 20:53 mp3
leto:/stuff% df -h .
Filesystem Size Used Avail Use% Mounted on
/dev/mapper/leto-stuff 30G 9.9G 19G 35% /stuff
leto:/stuff% df -hi .
Filesystem Inodes IUsed IFree IUse% Mounted on

leto:/stuff% mkdir mp3
mkdir: cannot create directory `mp3': No space left on device
leto:/stuff% mkdir qwe
leto:/stuff% mv qwe mp3
leto:/stuff% ls -ld mp3
drwxrwxr-x. 2 tet tet 4096 Dec 22 20:53 mp3
leto:/stuff% df -h .
Filesystem Size Used Avail Use% Mounted on
/dev/mapper/leto-stuff 30G 9.9G 19G 35% /stuff
leto:/stuff% df -hi .
Filesystem Inodes IUsed IFree IUse% Mounted on
/dev/mapper/leto-stuff 1.9M 322 1.9M 1% /stuff

This appears to be 100% repeatable behaviour.

cancel ×

1 comment

Sorry! There are no comments related to the filter you selected.

Hmm (1)

Arker (91948) | about 7 months ago | (#45765973)

Well at a glance I can think of one condition that could cause this error.

Is it possible that a directory with the same name was in that place at some point in the past, and has been deleted?

If that's the case, and some process somewhere still has that thing open, it's not yet deleted, just removed from view. Usually that process will finish up shortly and the deletion will proceed behind the scenes, but you can get a zombie thread that sits there for days or months preventing this from happening. And the error message in that case is exactly the one you report.

IF that diagnosis fits, you should be able to solve the problem by rebooting the machine.

Check for New Comments
Slashdot Login

Need an Account?

Forgot your password?

Submission Text Formatting Tips

We support a small subset of HTML, namely these tags:

  • b
  • i
  • p
  • br
  • a
  • ol
  • ul
  • li
  • dl
  • dt
  • dd
  • em
  • strong
  • tt
  • blockquote
  • div
  • quote
  • ecode

"ecode" can be used for code snippets, for example:

<ecode>    while(1) { do_something(); } </ecode>