Though I am not new to Linux, I am new to Linux Mint ; and I came across something weird.
When I first installed the system, I activated right away the snapshots with Timeshift. I think it worked OK, but never opened Timeshift again to check.
Today at some moment, my system starts to get unstable. I wasn't doing anything critical at all, so I tried some things and finally resorted to rebooting. On the next reboot , lightdm started to loop the login phase, which gave away the problem thanks to BobSongs in this post : viewtopic.php?t=261704
So I went into tty, and
$ df -htold me that / was COMPLETELY full. Not a single byte left.
So I started to
# du -hseverything in / to find the culprit (without autocompletion, because apparently bash needs disk space for that ). And /timeshift was the guilty directory. So I emptied it, restarted lightdm, disabled the scheduled snapshots and it was back to normal.
Then I digged some more into it.
This never happened before today, and I never touched any Timeshift settings since the installation. The one "mistake" I did related to this was to manually editing /etc/fstab to permanently mount my other partitions. I have in total 3 mounted partitions :
- /dev/sda7 to /
- /dev/sda6 to /localdisks/os1
- /dev/sda8 to /localdisks/commonhome
I have several questions regarding this issue :
- Was I wrong to manually edit /etc/fstab to make my permanent mount points ? Is there a Linux Mint way of doing it that I missed ? I'm asking this, because :
- Shouldn't there be a disk usage threshold for timeshift ? It would default to the current available disk space, with a user setting on top of it to further restrict it if needed. Then, if Timeshift doesn't have enough space to do a snapshot, it should abort and trigger a warning.
Thanks for your time !