NAS box has a share which is to be mounted on a client
NAS box: myNasBox
Client: SolZone1
NAS box has provided access to the ip/hostname of the host
(SolZone1:/)# nslookup SolZone1
Server: 10.10.134.3
Address: 10.10.134.3#53
Name: SolZone1.bc
Address: 45.26.20.216
But the mounting failed with permission error
(SolZone1:/)# mount -F nfs -o rw,bg,soft,vers=3 myNasBox:/nasdump/nasdata /nasdata
nfs mount: myNasBox:/nasdump/nasdata: Permission denied
Issue identified as below
(SolZone1:/)# traceroute myNasBox
traceroute: Warning: Multiple interfaces found; using 10.12.12.12 @ aggr535001:3
traceroute to myNasBox (10.12.11.45), 30 hops max, 40 byte packets
1 10.13.142.2 (10.13.142.2) 0.713 ms 0.710 ms 0.574 ms
2 172.27.128.113 (172.27.128.113) 3.354 ms 3.056 ms 2.407 ms
3 172.27.128.142 (172.27.128.142) 2.375 ms 8.416 ms 2.308 ms
4 nas-box-14 (10.12.11.45) 1.406 ms 1.481 ms 1.427 ms
(SolZone1:/)#
The traffic comes through the ip 10.12.12.12
(SolZone1:/)# nslookup 10.12.12.12
Server: 10.10.134.3
Address: 10.10.134.3#53
12.142.120.10.in-addr.arpa name = SolZone1-lb.bc.
Multiple ip's for the host
(SolZone1:/)# ifconfig -a
lo0:7: flags=2001000849
inet 127.0.0.1 netmask ff000000
aggr209001:1: flags=201000843
inet 45.16.20.26 netmask fffffe00 broadcast 45.216.205.255
aggr302001:3: flags=201000843
inet 45.29.1.8 netmask ffffff00 broadcast 45.219.1.255
aggr535001:3: flags=201000843
inet 10.12.12.12 netmask ffffff00 broadcast 10.13.142.255
nxge200006:1: flags=201000843
inet 10.28.18.165 netmask fffffe00 broadcast 10.48.129.255
(SolZone1:/)#
NAS is adapted to permit the ip 10.12.12.12.
Now the mount is successfull
(SolZone1:/)# mount -F nfs -o rw,bg,soft,vers=3 myNasBox:/nasdump/nasdata /nasdata
(SolZone1:/)# bdf /nasdata
Filesystem kbytes used avail capacity Mounted on
myNasBox:/nasdump/nasdata
4017992400 1317611268 2722172800 33% /nasdata
(SolZone1:/)#
Thanks very informative. It solved my problem.
ReplyDelete