Sponsored Content
Operating Systems AIX AIX NFS Server and NFS Client Post 302960056 by penchev on Tuesday 10th of November 2015 10:44:40 AM
Old 11-10-2015
AIX NFS Server and NFS Client

Hi 2 ALL,

try to run NFS Server in AIX 7.1 :

1. Step by step on NFS Server node
Code:
mkdir /tmp/test
chgrp staff /tmp/test
chmod 775 /tmp/test

-- create export directory (fs)
Code:
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.
 

9 More Discussions You Might Find Interesting

1. Linux

NFS Server FC7 Solaris client problems!

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)
Discussion started by: joerg
3 Replies

2. UNIX for Advanced & Expert Users

Determining IP address of NFS server on client

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)
Discussion started by: rascalrick
2 Replies

3. Solaris

Solaris 9 as a nfs client -- centos as a nfs server.

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)
Discussion started by: bruceharbin
1 Replies

4. AIX

can not mount from aix client to linux nfs server

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)
Discussion started by: victorcheung
1 Replies

5. Red Hat

Memory problems in NFS client server

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)
Discussion started by: blast
5 Replies

6. Solaris

Can't access NFS Share on Solaris Server from a Linux Client

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)
Discussion started by: SunilB2011
0 Replies

7. AIX

AIX NFS Client Logging

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)
Discussion started by: famasutika
0 Replies

8. Shell Programming and Scripting

Mount NFS Share On NFS Client via bash script.

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)
Discussion started by: Brian.t
4 Replies

9. Solaris

Solaris 10 NFS client cannot mount a share from a Windows server

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
BING(8) 						   UNIX System Manager's Manual 						   BING(8)

NAME
bing - compute point to point throughput using two sizes of ICMP ECHO_REQUEST packets to pairs of remote hosts. SYNOPSIS
bing [dDnrRPvVwz] [-c count] [-e samples] [-f samplefile] [-i wait] [-p pattern] [-s small packetsize] [-S big packetsize] host1 host2 [...] DESCRIPTION
Bing determines bandwidth on a point-to-point link by sending ICMP ECHO_REQUEST packets and measuring their roundtrip times for different packet sizes on each end of the link. host1 is supposed to be the nearest end of the link, while host2 is the other end. The options are as follows: -c count Stop after count resets of the stats. Useful only in conjunction with the -e option. Defaults to 1. -d Set the SO_DEBUG option on the socket being used. -D Display the measured throughput at every received packet. By default, it is displayed only when the computed value changes, which itself changes only when the minimum roundtrip time for one of the packet sizes changes. -e samples Reset stats after sending samples ECHO_REQUEST packets. -f samplefile Saves the bandwidth measurements to the file samplefile. -i wait Wait wait seconds for each ECHO_REPLY packet. The default is to wait for four seconds. -n Numeric output only. No attempt will be made to lookup symbolic names for host addresses. -P Be pedantic regarding round-trip times. Normally, bing assumes that the roundtrip time for a small packet should always be smaller than the roundtrip time for a big packet to the same host, that for a given size the roundtrip time for host1 should always be smaller than the roundtrip time for host2, and that the increase in the roundtrip time between host1 and host2 should always be bigger for big packets than for small packets. Bing takes advantage of this to better determine the minimum roundtrip times. Option -P disables this behaviour, in the unlikely event it could be of any use someday. Even IP/X25 links are not weird enough to require this, though. -p pattern You may specify up to 16 ``pad'' bytes to fill out the packet you send. This is useful for diagnosing data-dependent problems in a network. For example, ``-p ff'' will cause the sent packet to be filled with all ones. -R Record route. Includes the RECORD_ROUTE option in the ECHO_REQUEST packet and displays the route buffer on returned packets. Note that the IP header is only large enough for nine such routes. Many hosts ignore or discard this option. -r Bypass the normal routing tables and send directly to a host on an attached network. If the host is not on a directly-attached net- work, an error is returned. This option can be used to ping a local host through an interface that has no route through it (e.g., after the interface was dropped by routed(8)). -s small packetsize Specifies the number of data bytes to be sent in the small packets. The default and minimum value is 44. -S big packetsize Specifies the number of data bytes to be sent in the big packets. The default is 108. The size should be chosen so that big packet roundtrip times are long enough to be accurately measured (depending on clock resolution and number of hops). -u size increment Specifies that bing should start sending packets of the size of small packetsize and then increase the size by size increment until it reaches big packetsize. -v Verbose output. ICMP packets other than ECHO_RESPONSE that are received are listed. -V Very verbose output. The roundtrip time of each received echo is displayed. -w Display possible warnings about roundtrip times all the time. By default, warnings are printed only at the end. -z Fill packets with uncompressible (pseudo-random) data. Round-trip times and packet loss statistics are computed. If duplicate packets are received, they are not included in the packet loss cal- culation, although the round trip time of these packets is used in calculating the minimum/average/maximum round-trip time numbers. When the specified number of loops have been made or if the program is terminated with a SIGINT, a brief summary is displayed. This program is intended for use in network testing, measurement and management. Because of the load it can impose on the network, it is unwise to use bing during normal operations or from automated scripts. BUGS
Many Hosts and Gateways ignore the RECORD_ROUTE option. The maximum IP header length is too small for options like RECORD_ROUTE to be completely useful. There's not much that that can be done about this, however. Some of the final stats (average throughputs) almost never give a even marginally correct result. SEE ALSO
netstat(1), ifconfig(8), ping(8), routed(8), traceroute(8) AUTHOR
Pierre Beyssac <pb@fasterix.freenix.fr> Port to Windows: Francois Gouget <fgouget@mygale.org> April 3, 1995 BING(8)
All times are GMT -4. The time now is 05:46 AM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy