Visit Our UNIX and Linux User Community

Full Discussion: Mount NFS
Top Forums UNIX for Dummies Questions & Answers Mount NFS Post 302414838 by hedkandi on Wednesday 21st of April 2010 05:47:49 AM
Old 04-21-2010
Hi

On Client NFS:

I edited the /etc/hosts entry to allow the host NFS server:

Code:
192.168.141.82  rocux4.xxxx.co.nz rocux4

my team mate added a hosts.allow :

Code:
192.168.141.82 rocux4.xxxx.co.nz

Added this line to /etc/fstab:

Code:
rocux4:/data/PCFILES/GTPROD/DWHFILES.NEW /data/DWHFILES.NEW nfs rw,hard,intr 0 0

Created DWHFILES.NEW at /data on client server wlglnxdw2:

Code:
[root@wlglnxdw2 data]# ls -lrt
total 60
drwx------ 2 root   root   16384 Dec  8 13:17 lost+found
drwxrwxr-x 2 dwprod dwprod  4096 Jan 18 14:11 source
drwxrwxr-x 5 dwprod dwprod  4096 Feb 11 14:43 npx
drwxr-xr-x 7 dwprod dwprod 28672 Apr  1 15:47 ems
drwxr-xr-x 7 dwprod dwprod  4096 Apr  8 10:15 comit
drwxr-xr-x 2 root   root    4096 Apr 19 20:14 DHWFILES.NEW

And somehow this command still fails:

Code:
[root@wlglnxdw2 etc]# mount -t nfs rocux4:/data/PCFILES/GTPROD/DWHFILES.NEW /data/DWHFILES.NEW
mount.nfs: mount point /data/DWHFILES.NEW does not exist

At host rocux4 (SunOS rocux4 5.9 Generic_122300-38 sun4u sparc SUNW,Sun-Fire-V440
#):

added this line in /etc/dfs/sharetab:

Code:
/data/PCFILES/GTPROD/DWHFILES.NEW       -       nfs     rw=wlglnxdw2.xxxx.co.nz,root=wlglnxdw2.xxxx.co.nz

and this line at /etc/dfs/dfstab:

Code:
share -F nfs -o rw=wlglnxdw2.xxxx.co.nz,root=wlglnxdw2.xxxx.co.nz /data/PCFILES/GTPROD/DWHFI
LES.NEW

I cant restart the NFS on host server since theres other servers running as client from it...but i have restarted the NFS on wlglnxdw2 (client) and tried remonting it again but same error?

Any idea on how do i fix this?
 
Test Your Knowledge in Computers #879
Difficulty: Easy
Supervisory Control and Data Authorization (SCADA) is a control system architecture .
True or False?

10 More Discussions You Might Find Interesting

1. UNIX for Dummies Questions & Answers

Mount nfs filesystem

I try to share a directory from a wortstation to a server. the share command was no problem. Solaris 8 on mars share -F nfs -o rw /dir/dir2 on the server mount mars:/dir/dir2 /mount_point RPC: Program not registered <--- What is the meaning of this ? Thanks for you help ! (2 Replies)
Discussion started by: joerg
2 Replies

2. Filesystems, Disks and Memory

NFS mount

Hi All, Can any one help in Mounting remote filesystems with NFS? Thanks in advance. Regards, Suresh. (4 Replies)
Discussion started by: srvaka1
4 Replies

3. UNIX for Dummies Questions & Answers

mount -o llock -F nfs vs mount -F nfs

Hi, We encountered NFS issue (solaris) especially running on Oracle application. Problem such as forms hang when close button is click, concurrent job shows running status all time. Understand we need to use mount -o llock -F nfs instead of mount -F nfs to eliminate? this problem.. Can... (1 Reply)
Discussion started by: KhawHL
1 Replies

4. UNIX for Dummies Questions & Answers

NFS mount

I have a NAS server that needs to have the share mounted on a unix server. I am not that familiar with NFS mounts....any help on what I have to do on the UNIX box...thanks! (7 Replies)
Discussion started by: andrewd
7 Replies

5. OS X (Apple)

NFS Mount

Hello! Im trying to mount an nfs share. But got a bit of a problem. The problem im having is that i try to mount The problem is that the my.server.com/pub/home is owned by root. I know i can make a mount point my.server.com://pub/home/username - > /pub/home But that means i have to do... (1 Reply)
Discussion started by: dozy
1 Replies

6. IP Networking

Can't see home folder on one NFS mount but can in another mount on another share

Hello, I have a few Ubuntu 9.10 laptops I'm trying to learn NFS sharing with. I am just experimenting on this right now, so no harsh words about the security of what I'm playing with, please ;) Below are the configs /etc/exports on host /home/woodnt/Homeschool... (2 Replies)
Discussion started by: Narnie
2 Replies

7. Red Hat

NFS mount issues

Hi Experts, I have been using Linux (Redhat server 5.6) as a NFS server and it is mounted to 4 linux (SUSE) servers for storing the db logs. I added an entry in fstab in all my 4 clients to make sure the mount is available all the time. but unfortunately the mount is not showing in servers after... (6 Replies)
Discussion started by: sarav
6 Replies

8. Red Hat

NFS mount issue

Hi Friends, My source server is HP and my destination is linux. I have to mount a dir thru nfs from source to destn. almost 8 servers i did the same thing and it is working fine but on the 9th server i can't able to mount. Everything i have did for nfs configuration.Even i can able to ping... (1 Reply)
Discussion started by: Mohamed Thamim
1 Replies

9. Red Hat

NFS mount issue

we are facing a weird NFS mount issue on one of the linux host , a NFS volume of 2.4TB is mounted in the linux host , but df only reports 131g , which exactly matches rootfilesytem size nfs mount filer_filer1:/vol/bug_test/q0 131G 116G 8.5G 94% /nas/bug_test root... (2 Replies)
Discussion started by: skamal4u
2 Replies

10. 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
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)

Featured Tech Videos

All times are GMT -4. The time now is 08:19 AM.
Unix & Linux Forums Content Copyright 1993-2020. All Rights Reserved.
Privacy Policy