How to understand /etc/mtab?

mtab lists currently mounted file systems and is used by the mount and unmount commands when you want to list your mounts or unmount all. It’s not used by the kernel, which maintains its own list (in /proc/mounts or /proc/self/mounts). Its structure is the same as fstab (see manpage). Separated by whitespace, its 6 columns … Read more

Transport endpoint is not connected

I have exactly the same problem. I haven’t found a solution anywhere, but I have been able to fix it without rebooting by simply unmounting and remounting the mountpoint. For your system the commands would be: fusermount -uz /data mount /data The -z forces the unmount, which solved the need to reboot for me. You … Read more

Creating a grow-on-demand encrypted volume with LUKS

Yes! It looks like it’s possible. Let’s check how it can be achieved. Note that this doesn’t create a true grow-on-demand filesystem, as when the filesystem reaches the max size of the sparse file, it will report ‘out of space’ errors if more data still needs to be written. Initially, I was investigating Thin Provisioning, … Read more