[SOLVED] Datastore problem

diaolin

Renowned Member
Jul 7, 2008
346
8
83
Trentino Italy
Hi, when i create a datastore from an unused disk ths PBS creates a partition and
mounts itself this partition at boot.
How? I find it in mtab but i don't understand who mounts this partition.

I think the pbs itself but, where could i put a "forcefsck" for auto fscking the partition before mounting?

I know there is a way to add it to fstab but i'm interested with the method user by pbs for
mounting the partition automagically.

Which information uses? UUID, /dev/sdb? and where are stored this infos?

Tx
 
I know there is a way to add it to fstab but i'm interested with the method user by pbs for
mounting the partition automagically.
depending on how you created the Datastore on disk (ZFS vs. ext4/xfs) :
* ZFS has it's own import and mount service files
* for Datastores on ext4/xfs PBS creates a systemd mount unit for the service - https://www.freedesktop.org/software/systemd/man/systemd.mount.html

check the output of `systemctl -a |grep '\.mount'`

I hope this helps!