clustermode export-policy rule

basic setup for an nfs share.

Linux client has IP 192.168.4.160
Vserver will have IP 192.168.4.87
Vservername "march"

(clusterhell)
vserver create -vserver march -rootvolume root_vol -aggregate gr01_aggr1 -ns-switch file -nm-switch file -rootvolume-security-style unix -language C -snapshot-policy default -antivirus-on-access-policy default

net int create -vserver march -lif lif1 -role data -data-protocol nfs -home-node gr-02 -home-port e0c -address 192.168.4.87 -netmask 255.255.255.0

nfs on -vserver march

export-policy rule create -vserver march -policyname default -clientmatch 192.168.4.160 -rorule any -rwrule any -allow-suid true -superuser any

vol create -vserver march -volume vol1 -aggregate gr02_aggr1 -size 100MB -state online
vol mount -vserver march -volume vol1 -junction-path /vol1

(linux)
mkdir /mnt/87vol1
mount 192.168.4.87:/vol1 /mnt/87vol1

(done)

This entry was posted in Uncategorized. Bookmark the permalink.

Comments are closed.