Yusuf Limalia
Patron
- Joined
- Apr 5, 2016
- Messages
- 234
Hello there!
After upgrading to FreeNAS11.2 my SMB Shares from RancherOS weren't working.
Narrowed down the problem to FreeNAS 11.2 requiring a minimum of SMB version 2.
So if I run the command:
The share mounts nicely and all's good in the world.
However the storage doesn't persist on reboot.
The way to persist storage is to create a yaml file:
Then merge with the config:
Then reboot.
This used to work before (Minus the vers=3.0 option) just fine.
But now this doesn't work.
I'm guessing something is wrong with the way i'm adding the SMB version number in my mount file.
Hopefully one of the clever people can point me in the right direction :)
Thanks in Advance!
After upgrading to FreeNAS11.2 my SMB Shares from RancherOS weren't working.
Narrowed down the problem to FreeNAS 11.2 requiring a minimum of SMB version 2.
So if I run the command:
Code:
mount -t cifs "//192.168.0.250/Videos" -o username=someusername,password=somepassword,vers=3\.0 /media/videos
The share mounts nicely and all's good in the world.
However the storage doesn't persist on reboot.
The way to persist storage is to create a yaml file:
Code:
mounts: - - //192.168.0.250/Videos - /media/videos - cifs - username=someusername,password=somepassword,vers=3.0
Then merge with the config:
Code:
sudo ros config merge -i mount.yaml
Then reboot.
This used to work before (Minus the vers=3.0 option) just fine.
But now this doesn't work.
I'm guessing something is wrong with the way i'm adding the SMB version number in my mount file.
Hopefully one of the clever people can point me in the right direction :)
Thanks in Advance!