df говорит, что свободного места нет, но есть свободное место

621
Florian

df показывает, что свободного места нет, но также показывает, что используется только 7,9 / 21G.

Filesystem Size Used Avail. Used% Mount path -> /dev/simfs 21G 7,9G 0 100% / devtmpfs 2,0G 0 2,0G 0% /dev tmpfs 2,0G 4,0K 2,0G 1% /dev/shm tmpfs 2,0G 145M 1,9G 8% /run tmpfs 5,0M 0 5,0M 0% /run/lock tmpfs 2,0G 0 2,0G 0% /sys/fs/cgroup tmpfs 2,0G 12M 2,0G 1% /tmp none 2,0G 0 2,0G 0% /run/shm 
-1
You forgot to ask a question. If your question is "why is this happening?" you should ask your container provider that question -- only they will know why their machine isn't giving you the space it promised you. David Schwartz 7 лет назад 0
You should read this, https://serverfault.com/questions/714219/linux-says-my-space-is-full-with-2-4-50gb-used This guy has exactly the same problem as you. Best recommendation: change provider, and choose one that does **not** use OpenVZ. MariusMatutiae 7 лет назад 0
`df` will print pretty much 1:1 what the kernel reports. So what we have here is either a kernel bug or some sort of quota or whatever. /edit: Or those OpenVZ guys have a very liberal interpretation of what to report as “size”. Oh well. Daniel B 7 лет назад 0
Hm, maybe there's a host problem. The aren't any good hosts with fair prices and kvm, I'll stay there until I find something good.^^ Florian 7 лет назад 0
Having experienced a RedHat server, report incorrect usage on a folder, caused by what simply described as a display bug have you confirmed your not running into a similar situation? Ramhound 7 лет назад 0

1 ответ на вопрос

0
smileyJoe

исходя из размера, на который вы ссылаетесь, и без дополнительных подробностей, я буду считать, что это USB-накопитель. Это что-то довольно распространенное в индустрии купленных USB-накопителей. Многие накопители продаются в большем размере, чем они способны вместить. Простой поиск в поисковой системе «поддельные флэш-накопители», «поддельные флэш-накопители 2 ТБ» или «китайские мошенники с размерами USB-накопителей» покажет, насколько распространена эта афера. Последние Faked Drive имеют размеры в терабайтах, тогда как старые и некоторые новые могут быть даже меньше, чем 1 ГБ.

No, it is not an USB drive: simfs is a directory file system for the virtuozzo container technology, see for instance here, https://anonexp.blogspot.com/2013/01/simfs-openvz-container-filesystem.html MariusMatutiae 7 лет назад 0

Похожие вопросы