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
MOUNT.NFS(8) System Manager's Manual MOUNT.NFS(8)
NAME
mount.nfs, mount.nfs4 - mount a Network File System
SYNOPSIS
mount.nfs remotetarget dir [-rvVwfnsh ] [-o options]
DESCRIPTION
mount.nfs is a part of nfs(5) utilities package, which provides NFS client functionality.
mount.nfs is meant to be used by the mount(8) command for mounting NFS shares. This subcommand, however, can also be used as a standalone
command with limited functionality.
remotetarget is a server share usually in the form of servername:/path/to/share. dir is the directory on which the file system is to be
mounted.
Under Linux 2.6.32 and later kernel versions, mount.nfs can mount all NFS file system versions. Under earlier Linux kernel versions,
mount.nfs4 must be used for mounting NFSv4 file systems while mount.nfs must be used for NFSv3 and v2.
OPTIONS
-r Mount file system readonly.
-v Be verbose.
-V Print version.
-w Mount file system read-write.
-f Fake mount. Don't actually call the mount system call.
-n Do not update /etc/mtab. By default, an entry is created in /etc/mtab for every mounted file system. Use this option to skip making
an entry.
-s Tolerate sloppy mount options rather than fail.
-h Print help message.
nfsoptions
Refer to nfs(5) or mount(8) manual pages.
NOTE
For further information please refer nfs(5) and mount(8) manual pages.
FILES
/etc/fstab file system table
/etc/mtab table of mounted file systems
SEE ALSO
nfs(5), mount(8),
AUTHOR
Amit Gud <agud@redhat.com>
5 Jun 2006 MOUNT.NFS(8)