clustermode cifs server

vserver create -vserver win5 -rootvolume root -aggregate gr02_aggr1 -ns-switch file -nm-switch file -rootvolume-security-style unix -language C

net int create -vserver win5 -lif lif1 -role data -data-protocol nfs,cifs,fcache -home-node gr-01 -home-port e0c -address 192.168.4.34 -netmask 255.255.255.0 -status-admin up

vserver services dns create -vserver win5 -domains netapp.local -state enabled -timeout 2 -attempts 1 -name-servers 192.168.4.120

vserver cifs create -vserver win5 -cifs-server WIN5 -domain netapp.local

vol create vol1 -vserver win5 -aggregate gr02_aggr1 -size 20MB -state online -type RW -policy default -unix-permissions ---rwx------ -autosize false -max-autosize 0B -autosize-increment 0B -space-guarantee volume -snapshot-policy default -foreground true -antivirus-on-access-policy default -junction-path /vol1

cifs share create -vserver win5 -share-name vol1 -path /vol1

====

vserver services unix-user create -vserver win5 -user pcuser -id 65534 -primary-gid 65534

vserver services unix-user create -vserver win5 -user root -id 0 –primary-gid 1

vserver services unix-user create -vserver win5 -user administrator -id 10 -primary-gid 0

vserver services unix-user show -vserver win5

vserver services unix-group create -vserver win5 -name pcuser -id 65534

vserver services unix-group create -vserver win5 -name root 0 vserver services unix-group create -vserver win5 -name daemon 1 vserver services unix-group show -vserver vs2

4.

Configure explicit name mapping between UNIX and Windows.

vserver name-mapping create –vserver win5 -direction win-unix -position 1 –pattern netapp\\administrator -replacement root

vserver name-mapping create –vserver win5 -direction unix-win -position 1 –pattern root -replacement netapp\\administrator

vserver name-mapping show

 

This entry was posted in netapp. Bookmark the permalink.

Comments are closed.