Hello. I am trying to setup a primary freenas and a secondary as a backup via rsysnc. I want to have all users authenticate but all have access to the same files and share. I have been studying up a lot and trying many different ways of setting up but i am running into an issue.
I cannot log into the share. I unlock the pool after reboot and try to connect through windows. I see the share but i am not able to log in.
To login:
on windows go to windows explorer
\\freenas05bk
enter username:user1
enter password: password
The username and password of the login is the same as the pc.
Below is how i setup the machine i am trying to log into.
System
-machine name
Settings
-timezone
> Advanced
Enable "Show console messages in the footer:"
Update MOTD Banner
Network
-Update IPv4 Default Gateway 192.168.1.1
-Update "Nameserver 1:" to 192.168.1.1
>Interfaces
-Add interface
--NIC = EM0
--Interface Name= mainnic
--IPv4 Address:=192.168.1.241
--IPv4 Netmask:= /24 (255:255:255:0)
Storage
-ZFS Volume Manager
--Volume Name = mainfs
--encryption - enable
--Add 4 disks
--Drag 4 disks out on line one
--Change to RaidZ
--Click Add Volume
-Click on mainfs
-Click on icon to create new ZFS dataset (calendar icon with plus sign at top right)
--Dataset Name:=files
--ZFS Deduplication:=Off
-Click on mainfs
-Click on icon to create new ZFS dataset (calendar icon with plus sign at top right)
--Dataset Name:=jails
--ZFS Deduplication:=Off
-Click on mainfs
--Click on Wrench icon
--ZFS Deduplication:=Off
-Click on mainfs
-click on key
--Enter passphrase
--Enter confirm passphrase
--Click OK
--Select mainfs
-Click on Key download (key with down arrow)
--enter root password
--click ok
-Click recovery (key with plus sign)
--enter root password
--Click Continue
-Click mainfs
--Click Cylinder with key on top
--enable mode=group enables
--owner=root
--owner=wheel
--enable Set permission recursively
account
-add users
-username=user1
-full name=user1
-password=password
-password confirmation=password
-auxiliary groups=wheel
-click ok
-add users
-username=user2
-full name=user2
-password=password
-password confirmation=password
-auxiliary groups=wheel
-click ok
-Sharing
-Windows (CIFS) Shares
-Add Windows (CIFS) Share
-name=mainfs
-path=/mnt/mainfs/files
-enable Inherit Owner
-enable Inherit Permissions
-enable show hidden files
-click ok
-Yes enable service
Jails
-Browse for Jail Root
-Path=/mnt/mainfs/jails
-Click Save
Plugin
-Click Plug ins
--Click Refresh
Reboot Freenas
RSYNC - Server Side (on pc .240)
System
--Rsync Tasks
--Add Rsync Task
---Path=/mnt/mainfs/files/
---Remote Host=192.168.1.241
---Rsync mode=Rsync module
---Direction=Push
---Short description=Main RSYNC
---Minute=Every 15 minute
---User=root
RSYNC - Client Side (on pc .241)
-Services
-Rsync
-Rsync Modules
--Add Rsync Module
---Module name = freenasbackup
---Path=/mnt/mainfs/files/
---User=root
---Group=Wheel
---Hosts allow=192.168.1.240
S.M.A.R.T. Tests
-Add S.M.A.R.T. Test
--Select all disks
--Type=Short Test
--Each n hour=0
--Every n day of month=1
Storage
-ZFS Scrubs
-Add ZFS Scrub
-Each selected minute=00
-Each selected hours=00
-Day of the week=Sunday
I cannot log into the share. I unlock the pool after reboot and try to connect through windows. I see the share but i am not able to log in.
To login:
on windows go to windows explorer
\\freenas05bk
enter username:user1
enter password: password
The username and password of the login is the same as the pc.
Below is how i setup the machine i am trying to log into.
System
-machine name
Settings
-timezone
> Advanced
Enable "Show console messages in the footer:"
Update MOTD Banner
Network
-Update IPv4 Default Gateway 192.168.1.1
-Update "Nameserver 1:" to 192.168.1.1
>Interfaces
-Add interface
--NIC = EM0
--Interface Name= mainnic
--IPv4 Address:=192.168.1.241
--IPv4 Netmask:= /24 (255:255:255:0)
Storage
-ZFS Volume Manager
--Volume Name = mainfs
--encryption - enable
--Add 4 disks
--Drag 4 disks out on line one
--Change to RaidZ
--Click Add Volume
-Click on mainfs
-Click on icon to create new ZFS dataset (calendar icon with plus sign at top right)
--Dataset Name:=files
--ZFS Deduplication:=Off
-Click on mainfs
-Click on icon to create new ZFS dataset (calendar icon with plus sign at top right)
--Dataset Name:=jails
--ZFS Deduplication:=Off
-Click on mainfs
--Click on Wrench icon
--ZFS Deduplication:=Off
-Click on mainfs
-click on key
--Enter passphrase
--Enter confirm passphrase
--Click OK
--Select mainfs
-Click on Key download (key with down arrow)
--enter root password
--click ok
-Click recovery (key with plus sign)
--enter root password
--Click Continue
-Click mainfs
--Click Cylinder with key on top
--enable mode=group enables
--owner=root
--owner=wheel
--enable Set permission recursively
account
-add users
-username=user1
-full name=user1
-password=password
-password confirmation=password
-auxiliary groups=wheel
-click ok
-add users
-username=user2
-full name=user2
-password=password
-password confirmation=password
-auxiliary groups=wheel
-click ok
-Sharing
-Windows (CIFS) Shares
-Add Windows (CIFS) Share
-name=mainfs
-path=/mnt/mainfs/files
-enable Inherit Owner
-enable Inherit Permissions
-enable show hidden files
-click ok
-Yes enable service
Jails
-Browse for Jail Root
-Path=/mnt/mainfs/jails
-Click Save
Plugin
-Click Plug ins
--Click Refresh
Reboot Freenas
RSYNC - Server Side (on pc .240)
System
--Rsync Tasks
--Add Rsync Task
---Path=/mnt/mainfs/files/
---Remote Host=192.168.1.241
---Rsync mode=Rsync module
---Direction=Push
---Short description=Main RSYNC
---Minute=Every 15 minute
---User=root
RSYNC - Client Side (on pc .241)
-Services
-Rsync
-Rsync Modules
--Add Rsync Module
---Module name = freenasbackup
---Path=/mnt/mainfs/files/
---User=root
---Group=Wheel
---Hosts allow=192.168.1.240
S.M.A.R.T. Tests
-Add S.M.A.R.T. Test
--Select all disks
--Type=Short Test
--Each n hour=0
--Every n day of month=1
Storage
-ZFS Scrubs
-Add ZFS Scrub
-Each selected minute=00
-Each selected hours=00
-Day of the week=Sunday