04-04-2012
solution to nfs server
hello dude,
go to machine 1st (server)and run these command
1-mkdir /share
2-vi /etc/exports
3-/share *(rw,sync)
4-service nfs restart
5-service portmap restart
6-showmount -e 1.2.3.4(your ip address=1.2.3.4 change as per ur req)
you are done on server machine
now go to client machine
1-showmount -e 1.2.3.4
2-mkdir /share2
3-mount -t nfs 1.2.3.4:/share /share2
4-cd /share2
you are done ..(if still have a problem mail me at <removed email address>
note:this is only for the redhat, solaris has different command to mount and share.
10 More Discussions You Might Find Interesting
1. UNIX for Dummies Questions & Answers
Hello all,
When I shut down my X86/Solaris 8, I get the following
messages on the console:
"rpc program not registered "......
What is mean?why?May someone can tell me :)
Thanks in advance. (1 Reply)
Discussion started by: Lee
1 Replies
2. UNIX for Advanced & Expert Users
s/o=SCO 5.05 openserver
hi, i have a problem with a mount between 2 servers
i can see the mounted files, but i canīt open it if the file is a *.dbf,
if i try to a "dbf" file with fox for unix the error is (the system has reached the maximum number of blocks)
mount -f NFS... (1 Reply)
Discussion started by: jav_v
1 Replies
3. UNIX for Dummies Questions & Answers
getting "NFS mount: netapp : RPC: Program not registered" error
searched the site but none of the fixes from previous threads are helping (2 Replies)
Discussion started by: calamine
2 Replies
4. Shell Programming and Scripting
Hi,
I have 12 AIX P series servers. One has the NFS DB2data and the others are client mounts. NFS is not in /etc/filesystem because if NFS DB2data not up the client takes 7+ minutes to give up on nfsmnt and boot up.
I'd like to check that nfs is up, then do the client mount all from a startup... (0 Replies)
Discussion started by: sv2xs
0 Replies
5. UNIX for Advanced & Expert Users
This is an unusual situation where I have an NFS server currently serving out MULTIPLE clients over several variants of Linux and UNIX successfully (world permissions) except for a SINGLE client. Even the other Linux (SuSE) clients in the same room are mounting successfully with defaults without... (6 Replies)
Discussion started by: neelpert1
6 Replies
6. AIX
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
7. Red Hat
When i tried to mount the nfs i see this error message
mount -t nfs 192.168.20.194:/remote/proj1 /nfsmount
mount: 192.168.20.194:/remote/proj1 failed, reason given by server: Permission denied
and the /etc/exports file in the host side looks like this
/remote/proj1 ... (12 Replies)
Discussion started by: srinathk
12 Replies
8. Solaris
Fails to mount the server (10.125.224.22) during installation of a software on client, throwing the below error:
nfs mount: 10.125.224.22: : RPC: Rpcbind failure - RPC: Timed out
nfs mount: retrying: /cdrom
This happened after complete shutdown of the lab. The server came up fine but most... (1 Reply)
Discussion started by: frintocf
1 Replies
9. Shell Programming and Scripting
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
10. Solaris
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 DEBIAN
showmount
SHOWMOUNT(8) System Manager's Manual SHOWMOUNT(8)
NAME
showmount - show mount information for an NFS server
SYNOPSIS
showmount [ -adehv ] [ --all ] [ --directories ] [ --exports ] [ --help ] [ --version ] [ host ]
DESCRIPTION
showmount queries the mount daemon on a remote host for information about the state of the NFS server on that machine. With no options
showmount lists the set of clients who are mounting from that host. The output from showmount is designed to appear as though it were pro-
cessed through ``sort -u''.
OPTIONS
-a or --all
List both the client hostname or IP address and mounted directory in host:dir format. This info should not be considered reliable.
See the notes on rmtab in rpc.mountd(8).
-d or --directories
List only the directories mounted by some client.
-e or --exports
Show the NFS server's export list.
-h or --help
Provide a short help summary.
-v or --version
Report the current version number of the program.
--no-headers
Suppress the descriptive headings from the output.
SEE ALSO
rpc.mountd(8), rpc.nfsd(8)
BUGS
The completeness and accuracy of the information that showmount displays varies according to the NFS server's implementation.
Because showmount sorts and uniqs the output, it is impossible to determine from the output whether a client is mounting the same directory
more than once.
AUTHOR
Rick Sladkey <jrs@world.std.com>
6 October 1993 SHOWMOUNT(8)