datastore change mountpoint

150d

Member
Mar 23, 2022
33
3
13
Hello,

I want to exchange the SSD containing my PBS datastore for a new one. To do that, I have connected the new SSD and would now like to copy over the datastore from the old SSD, then simply change the mountpoint for the datastore and reboot.

But I can't find where to change the mountpoint. There is nothing in /etc/fstab, yet the old SSD is mounted perfectly fine somewhere unter /mnt.

How does this work? Is there some "automounting" at play here?
 
It's likely a mount unit. Check systemctl list-units -t mount. I'd recommend you create a new data store on the new disk and then do a local sync if needed.
 
That's it, there it was.

Also I figured out how I created it in the first place: If you create a "Directory" in the GUI and select the new disk, the mount unit will be created automatically. No wonder I never knew about it. :)

Thank you!

PS: I will follow your advice and "sync" instead of "copy" the datastore. Sounds much cleaner than what I had in mind.