You’ve decided to install an antivirus on your Ubuntu Linux, not for yourself, but to safeguard other users on your network. Then suddenly after rebooting, you found out that you can neither login, nor are you able to see your /home directory. This is a simple fix without uninstalling your antivirus.
DazukoFS is a filesystem that is stackable, primarily developed to support antivirus applications. Commonly this is used by most Linux-versions of popular antivirus apps and in my case, Avira antivirus uses DazukoFS as well to perform scans on specific protected folders.
The Problem and the Fix
The problem arose after installation when I decided to restart the system after installing updates from Ubuntu repositories. I suddenly found out that I can login but my session details can’t be saved into my system profile under my user home directory. So I switched to terminal mode by pressing CTRL ALT F2 on the keyboard and logged in.
I found out that /home is not mounted. Performing a manual mount using ‘
mount -t ext4 /dev/sda8 /home‘ failed as well. I then decided to boot from livecd to investigate.
After booting to the live cd, I then proceeded by displaying the contents of /etc/fstab.
root@mysystem:/# cat /etc/fstab
proc /proc proc nodev,noexec,nosuid 0 0
/dev/sda7 / ext4 errors=remount-ro 0 1
# /home was on /dev/sda8 during installation
UUID=2b4ffa3e-xxxx-xxxx-xxxx-xxxx0c712595 /home ext4 defaults 0 2
/dev/sda6 none swap sw 0 0
# DazukoFS ...
# Example of mounting one dir onto dazukofs (directory to be protected by AVIRA Guard)
#/home/shared /home/shared dazukofs
/home /home dazukofs
# ... DazukoFS
It is apparent that I have messed up during installation. I have declared that the entire /home will be mounted by DazukoFS to be protected and scanned by Avira.
To remedy the current situation, I can comment the line that mounts /home as a dazukofs mount
# /home /home dazukofs
or I can change the entry and mount my home directory – /home/user – instead of /home. I decided to do the latter, and mounted my user home directory as dazukofs.
# /home/linuxuser /home/linuxuser dazukofs
After the change, I reloaded the mounts by doing ‘
mount -a‘ and encountered no problems. After which I took it a step further by rebooting the entire system, which allowed me to login without any problems either.