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

fstab entry for auto mount of ldm is erroring during boot and has to be manually mounted after boot

$
0
0

Following the advice here:

Systemd

To get dynamic disks to behave like filesystems natively supported by the Linux kernel, enable ldmtool.service.

Once this setup is complete, you can add entries to /etc/fstab that reference dynamic disk volumes and have those mounted like any other volume.

So I had to make the ldmtool.service and after some digging around I came up with:

$ sudo vim /etc/systemd/system/ldmtool.service[Unit]Description= Windows Dynamic Disk LDMtoolAfter=network.target[Service]Type=forkingUser=rootExecStart=/usr/bin/ldmtool create volume 53a72bd7-46ae-11eb-ba77-a87eeaee0b78 Volume2 [Install]WantedBy=multi-user.target

Then did the following:

$ sudo systemctl enable ldmtool.service$ sudo systemctl start ldmtool.service

That much seems to work. When I restart the computer, it at least does ldmtool create volume 53a72bd7-46ae-11eb-ba77-a87eeaee0b78 Volume2.

Now I need to mount it at startup and this is where the problem is.

Again, digging around, I came up with this after getting the UUID from the Disks application:

$ sudo mkdir /media/cjones/Linux\ Backups$ sudo chown cjones:cjones /media/cjones/Linux\ Backups$ sudo chmod +rw /media/cjones/Linux\ Backups

And then add the following to /etc/fstab/.

UUID=a310588d-b6da-4e05-aba5-3e28aeb336f5 /media/cjones/Linux\040Backups auto rw,user,auto 0 0

I can then do a mount /media/cjones/Linux\ Backups and it mounts the volume.

However, when I restart I get the below errors and it never mounts the volume. I have mount /media/cjones/Linux\ Backups manually.

enter image description here

Any suggestions on what to do here or what I have configured incorrectly?

And this is an internal SATA III HDD, not USB.


Viewing all articles
Browse latest Browse all 699

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>