Boot Problems "[FAILED] Failed to mount data.mount - /data"

Hello friends,

I’m having a problem and I can’t solve it. I bought a HDD model: “Western Digital WD Purple HDD, 4TB, 3.5, 5400RPM, Sata III 6GB/s, Cache 256MB, WD43PURZ”, to use on Umbrel 0.56. I managed to install and use it correctly using Ubuntu 22.00. When I updated Umbrel to the latest version “Umbrel 1.1.2”, I can install it but when I tried to restart it, it won’t boot anymore. I’ve researched all possible problems but still haven’t had a concise answer. The errors are as follows:

[FAILED] Failed to mount data.mount - /data.
See ‘systemct] status data.mount’ for details.
[DEPEND] Dependency failed for systend-growfsedata.service - Grow File System on /data.
[DEPEND] Dependency failed for var-log-mount - /var/log -
[DEPEND] Dependency failed for systemd-update-utmp-runlevel.service - Record Runeuel Change in UTMP.

Attached are images.





Did you installed Umbrel in the disk or did you added this disk in a machine with Umbrel?

Hello, did you manage to solve this issue?

“I noticed that data.mount has a limited time to execute. Basically, what I did was to make this time unlimited with the help of ChatGPT.”

copy

To disable the mount timeout for the device /dev/disk/by-partuuid/d1d36e34-2753-4dc7-96eb-3c9b5584e867, you can add the option noauto,x-systemd.mount-timeout=infinity to the corresponding line in the fstab file. Here’s how you can do that:

  1. Open a terminal.

  2. Edit the fstab file with a text editor, such as nano or vim. For example:

    sudo nano /etc/fstab
    
  3. Find the line that corresponds to the device you want to modify:

    /dev/disk/by-partuuid/d1d36e34-2753-4dc7-96eb-3c9b5584e867   /data          auto       defaults,x-systemd.growfs      0  0
    
  4. Modify this line to include the option noauto,x-systemd.mount-timeout=infinity:

    /dev/disk/by-partuuid/d1d36e34-2753-4dc7-96eb-3c9b5584e867   /data          auto       defaults,noauto,x-systemd.mount-timeout=infinity      0  0
    
  5. Save the changes and close the text editor.

  6. Restart the system for the changes to take effect, or you can manually remount the file system to apply the changes, but that can be more complicated.

Now, the device /dev/disk/by-partuuid/d1d36e34-2753-4dc7-96eb-3c9b5584e867 will no longer have a defined mount timeout.

“It would be important for the developers to allow more time for this function because I noticed that it took just 3 extra seconds for the disk to be mounted.”