mknfsexp -d /tmp/test -t ro
exportfs -va
show mount -e
[
root@host1]:/# exportfs -av
exports: 1831-187 re-exported /tmp/test
mknfs -B
2. Step by step on NFS Client ( AIX 7.1 node)
Code:
[root@host2]:/# ping host1
PING host1: (10.4.12.111): 56 data bytes
64 bytes from 10.4.12.111: icmp_seq=0 ttl=255 time=0 ms
64 bytes from 10.4.12.111: icmp_seq=1 ttl=255 time=0 ms
64 bytes from 10.4.12.111: icmp_seq=2 ttl=255 time=0 ms
64 bytes from 10.4.12.111: icmp_seq=3 ttl=255 time=0 ms
--- host1 ping statistics ---
4 packets transmitted, 4 packets received, 0% packet loss
round-trip min/avg/max = 0/0/0 ms[/HTML][HTML][root@host2]:/# showmount -e host1
export list for host1:
/tmp/test (everyone)
[root@host2]:/# mount host1:tmp/test /test
nfsmnthelp: 1831-019 host1: System call error number -1.
mount: 1831-008 giving up on:
host1:/tmp/test
System call error number -1.
i try and with ip address but some error
where wrong ?
sorry for my mistake english
---------- Post updated at 05:44 PM ---------- Previous update was at 04:11 PM ----------
Ops, i fix my problem
add cross ip and hostname between nodes /etc/hosts
Last edited by Don Cragun; 11-11-2015 at 03:10 AM..
Reason: Change HTML and PHP tags to CODE tags.
Hi,
my problem is that I am not able to grand the nfs directory on a Fedora 7 server to a standard solaris client.
I always got the messages no permission.
Important: No change on the client (Solaris) is possible! So I am not able to change the NFS Version on the client side to force the... (3 Replies)
Hi. We use an Isilon cluster system to provide our NAS. The Isilon uses a round-robin DNS setup to spread mount requests across the many nodes of the cluster. When a node needs work, the filesystems that are mounted to it need to be moved to other nodes prior to shutting the node down. I... (2 Replies)
Hello,
I have a centos as nfs server, its name is centos_A.
After I finish the setup of the nfs server, the other linux can access this nfs server immediately via /net/centos_A/*
But,
My solaris 9 can not access /net/centos_A/* immediately. I have to leave /net/centos_A, and wait for about... (1 Reply)
Hi,
I am trying to mount a nfs folder from AIX client to Linux NFS Server, but I got the following error:
# mount 128.127.11.121:/aix /to_be_del
mount: 1831-010 server 128.127.11.121 not responding: RPC: 1832-018 Port mapper
failure - RPC: 1832-008 Timed out
mount: retrying... (1 Reply)
Hi all,
i have some doubts in a situation that i fail to get an answer in Google.
I have a solaris 10 nfs server and 5 centos 6.0 nfs clients.
The problem/situation is that in the clients the free memory is "disappearing" along the time (passing to used)..and it gets free if i umount the... (5 Replies)
Hi,
I am trying to access a NFS shared directory on Solaris 10 Server from a client which is RHEL 4 Server.
On the NFS Server, in /etc/dfs/, I added following line to dfstab file.
& then ran the following
On the client machine, while running the mount command, I am... (0 Replies)
My AIX NFS client failed to mount a Windows server NFS service today.
Is NFS client logging enabled by default on AIX? If not, is there a way to enable NFS client logging on AIX6.1.
Thanks. (0 Replies)
I need a help of good people with effective bash script to mount nfs shared,
By the way I did the searches, since i haven't found that someone wrote a script like this in the past, I'm sure it will serve more people.
The scenario as follow:
An NFS Client with Daily CRON , running bash script... (4 Replies)
I have a Solaris 10 server, I'm trying to mount a share from a Windows nfs server. If I add this entry (tst-walnut:/test_sap_nfs - /majid nfs - yes rw,soft) to my /etc/vfstab, then I can mount, but when I create a file by root:root, the file owner changes to... (1 Reply)
Discussion started by: Hiroshi
1 Replies
LEARN ABOUT MOJAVE
nfsstat
NFSSTAT(1) BSD General Commands Manual NFSSTAT(1)NAME
nfsstat -- display NFS statistics
SYNOPSIS
nfsstat [-cseuv] [-w wait] [-n net|user] [-m [mountpath]]
DESCRIPTION
nfsstat displays statistics kept about NFS client and server activity, active user activity, exported directories, and mount information. In
the absence of any options, nfsstat displays NFS client and server statistics.
The options are as follows:
-c Show NFS client statistics.
-e Show NFS server exported directory statistics.
-m [mountpath]
Show NFS mount information.
-s Show NFS server statistics.
-u Show NFS server active user statistics.
-w wait
Display a shorter summary at wait second intervals.
-n net|user
Show network addresses as numbers, or show users as uid numbers. This option can appear multiple times.
-v Show additional information (if available).
OUTPUT
The data fields that nfsstat displays for each set of statistics are:
Client Information:
Statistics for NFS file system mounts.
RPC Counts
Counts of the RPC calls made to each of the NFS protocol procedures.
RPC Info
Statistics for NFS RPC calls:
TimedOut
RPC calls that timed out, perhaps to a slow or dead server.
Invalid
Invalid RPC replies.
X Replies
RPC replies received that did not have calls pending.
Retries
RPC calls that were retried.
Requests
Total number of RPC calls made.
Cache Info
Statistics on NFS client-side cache performance:
Attr Hits/Misses
Performance of the NFS file attribute cache.
Lkup Hits/Misses
Performance of the directory name lookup cache.
BioR Hits/Misses
Performance of block cache for reads.
BioW Hits/Misses
Performance of block cache for writes.
BioRL Hits/Misses
Performance of symbolic link cache.
BioD Hits/Misses
Performance of directory cache.
DirE Hits/Misses
Performance of directory offset cache.
Server Information:
Statistics for the NFS server.
RPC Counts
Counts of RPC calls on each of the NFS server's procedures are recorded here.
Server Ret-Failed
RPC errors returned by the server.
Server Faults
Errors in the NFS server.
Server Cache Stats
Statistics from the NFS server's RPC duplicate request cache:
Inprog
Calls already in progress.
Idem
Cache hits for idempotent procedures.
Non-idem
Cache hits for non-idempotent procedures.
Misses
Cache Misses.
Server Write Gathering
These statistics describe the efficiency of the NFS server's write gathering feature.
WriteOps
Write operations to disk.
WriteRPC
Write operations received by the server.
Opsaved
Write operations that were gathered (WriteRPC - WriteOps)
NFS Server Exported Directory Information:
Statistics for each exported directory on the NFS server.
NFS Requests
Count of NFS requests processed by an exported directory.
Bytes Read
Count of bytes read from an exported directory.
Bytes Written
Count of bytes written to an exported directory.
NFS Server Active User Information:
List of active NFS users and statistics on the NFS server.
NFS Requests
Count of NFS requests received from an active user.
Bytes Read
Count of bytes read by an active user.
Bytes Written
Count of bytes written by an active user.
Idle
Amount of time an active user has been idle.
User
Name (or uid if -n user was given) of active user.
IP Address
Host name (or network address if -n net was given) of client machine.
NFS Mount Information:
Information about the given NFS mount (or all NFS mounts).
The path mounted on and the server:/path that is mounted.
Mount arguments originally passed in to the mount.
Current mount parameter values and status information.
SEE ALSO netstat(1), iostat(8), mount_nfs(8), nfsd(8)HISTORY
The nfsstat command appears in 4.4BSD.
4.4BSD January 11, 2011 4.4BSD