Comment on [deleted]
mo_ztt@lemmy.world 1 year agoI know what a string is.
Have you ever actually seen this happen? I have filled many discs, and the answer has always been to rm
something, and I literally have not once seen or heard of rm
not working because the disc is full. The system calls within rm
that list files in the directory do not consume disc space.
Clarke311@lemmy.world 1 year ago
I have seen this quite a few times on Centos on virtualized systems.
mo_ztt@lemmy.world 1 year ago
What error message did
rm
give you?Clarke311@lemmy.world 1 year ago
Something about no space available on disc I don’t know I haven’t seen that in months I was bored I was going through my notes and I found that one liner
mo_ztt@lemmy.world 1 year ago
I believe you that you got a “no space left on device” error, but I think you are misremembering it being a result of a simple
rm
command – if you really did get that error from rm, then it’s an indication of something much more seriously wrong than a full disc (filesystem corruption or bug).Citations (first two results from a google search for “can’t rm because no space left on disc”):
Citation 1 (BTRFS specifically can get into that situation, which represented an argument for never using BTRFS in production)
Citation 2 (Happened because of a corrupted filesystem)