TrueNAS Core MinIO: No Mount Point Specified

ch8zer

Cadet
Joined
Nov 9, 2021
Messages
1
The docs for truenas core's minio plugin specifies several times that the user should mount a data set for the underlying object store, but never specified WHERE to mount that dataset: https://www.truenas.com/docs/core/13.0/coretutorials/jailspluginsvms/plugins/minioplugin/, nor is there a picture showing where the dataset might be mounted.

That being said, where do I mount my dataset so that the raw object / bucket storage is saved. Ideally the chosen path will behave identically to how the S3 service acted and the dataset contains the raw files/dirs identical to the objects/buckets.
 

fido2000

Cadet
Joined
Mar 4, 2024
Messages
1
The docs for truenas core's minio plugin specifies several times that the user should mount a data set for the underlying object store, but never specified WHERE to mount that dataset: https://www.truenas.com/docs/core/13.0/coretutorials/jailspluginsvms/plugins/minioplugin/, nor is there a picture showing where the dataset might be mounted.

That being said, where do I mount my dataset so that the raw object / bucket storage is saved. Ideally the chosen path will behave identically to how the S3 service acted and the dataset contains the raw files/dirs identical to the objects/buckets.
I found the documentation lacking as well. The data seems to be stored in iocage/jails/minio/root/var/db/minio. You need to cp -rp the hidden .minio.sy folder from that directory to your dataset and remove the original .minio.sy folder (or just do a mv while keeping permissions). Create a mountpoint mapping from the dataset that you want to use to the iocage/jails/minio/var/db/minio location and make sure your dataset has the owner/group permissions set to minio/wheel.
 
Top