Quantcast
Channel: Active questions tagged mount+fstab - Ask Ubuntu
Viewing all articles
Browse latest Browse all 699

why my swapfile did not get mount from time to time?

$
0
0

I put my swapfile on an encrypted disk:

/dev/mapper/encrypted-disk /data auto defaults,x-systemd.automount,x-systemd.mount-timeout=1min,x-systemd.device-timeout=1min 0 2

/data/swapfile swap swap sw 0 0

But from time to time, the swapfile did not get mounted after boot. I have to manually do swapon-a which is very annoying. /data is correctly mounted and there is no error in journalctl -b -0 either. Does anyone know what do I miss here?


Viewing all articles
Browse latest Browse all 699

Trending Articles