Solved Mount MySQL sockets directory for use by other jails ZFS environ?

I have MySQL in a jail and want to use sockets to share with Apache in another jail. My filesystem is ZFS and I read somewhere I cannot use unionfs to create the cross jail directory share.

Anyone know how to make this happen? I'm not very strong with filesystems
 
Last edited:
nullfs(5) can be used to create either a read-only or read-write mount shared between jails. However you will need to identify the administration needed to mount it correctly for however you are managing your jails.
 
nullfs(5) can be used to create either a read-only or read-write mount shared between jails. However you will need to identify the administration needed to mount it correctly for however you are managing your jails.

I'm not sure what you mean by administration - since I used ezjails, I was going to mount using the fstab for each jail that ezjail provides. /etc/fstab.mysql-db
 
Do you have any questions on what needs to go into the /etc/fstab.<jailname>? It should look just like the mount of the basejail. If you are good to go please go ahead and mark this solved ("thread tools" at the top right, "edit thread", add "solved"). Thanks!
 
Last edited:
Back
Top