fahadshery
Contributor
- Joined
- Sep 29, 2017
- Messages
- 179
Hi,
I have looked here, here, here, here and here but can't seem to get it to work!
I have a
I have set the Mapuser to my username and mapgroup to wheel when sharing the NFS dataset.
It mounts the dataset as
The problem comes when I wish to install mysql using docker which tries to change the ownership of the files and folders when installing for the first time.
It gives the following error:
I then created some test file in the folder and get the same error.
Could anyone pls give some pointers? This is driving me nuts!!
Thanks in advance and have a great festive season!
I have looked here, here, here, here and here but can't seem to get it to work!
I have a
dataset
for mysql
within TrueNas and mounting in the Ubuntu server using NFS
, here is the /etc/fstab entry:truenas_ip:/mnt/tank_fast10/mysql/mysql_home /mnt/truenas/mysql/mysql_home nfs auto,nofail,noatime,nolock,intr,tcp,actimeo=1800 0 0
I have set the Mapuser to my username and mapgroup to wheel when sharing the NFS dataset.
It mounts the dataset as
nobody 4294967294
. I can create the files or directories with no issues.The problem comes when I wish to install mysql using docker which tries to change the ownership of the files and folders when installing for the first time.
It gives the following error:
Code:
chown: changing ownership of '/var/lib/mysql/': Invalid argument
I then created some test file in the folder and get the same error.
Code:
sudo chown myuser:mygroup test/ chown: changing ownership of 'test/': Invalid argument
Could anyone pls give some pointers? This is driving me nuts!!
Thanks in advance and have a great festive season!