Sponsored Content
Full Discussion: NFS4 mount
Operating Systems Linux Red Hat NFS4 mount Post 302604879 by fpmurphy on Tuesday 6th of March 2012 08:38:19 AM
Old 03-06-2012
Quote:
My server is "swstage", the NFS4 pseudofilesystem is "/NFS4", the directory i am trying to export is "/soashare" size is 70GB (which i have bound within "/etc/fstab" to "/NFS4/soashare").
This does not make sense. Why are you exporting both /NFS4 and /NFS4/soashare if all that you want do, as you state in your post, is to export /soashare? Why not just export /soashare? Why complicate things?

On the client, you appear to be trying to mount swstage's root file system, not the server's /soashare filesystem.
Code:
swstage:/    /soa/share          nfs4    defaults        0 0

 

10 More Discussions You Might Find Interesting

1. UNIX for Dummies Questions & Answers

how to mount a hotswap scsi drive on a solaris 2.6 netra box using the mount command?

Hi... question is this: How do I mount an LVD hotswap scsi drive in bay #2 on a netra using the mount command? volmgt doesn't seem to mount it and/or I don't know how to view the drives data if it's formatted which it may not be. This drive is not new out of the box so I'm not sure. ... (4 Replies)
Discussion started by: soulshaker
4 Replies

2. AIX

NFS4 with KERBEROS

I was wondering if any of you have used NFS4 with KERBEROS in a HACMP setup and environment with more than 1 resourcegroup that has NFS mount in them. I Configures the host keys for an Network File System (NFS) server I get stuck with the nfshostkey I can only add one at a time per system so... (0 Replies)
Discussion started by: ravager
0 Replies

3. UNIX for Advanced & Expert Users

mount -t cifs permission denied by mount -t smbfs works fine

I am having trouble mounting with cifs, but mounting the exact same command with smbfs works fine. The share is on another samba server and is set to full public guest access. # mount -t cifs //servername/sharename /mnt/temp -o password="" mount error 13 = Permission denied Refer to the... (3 Replies)
Discussion started by: humbletech99
3 Replies

4. UNIX for Advanced & Expert Users

NFS4 locking file question

All, Just wondering if someone has a file open on client A for writing and it is locked, is that file still readable from client A or B? Basically I'm just wanting to know if a file is opened already, can it still be opened for read only? (1 Reply)
Discussion started by: markdjones82
1 Replies

5. Red Hat

NFS4 Ldap Automount issue

OK, I'm running low on patience with how this is working out. I have a RHEL 5.4 64bit server running 389 directory services and NFS4. I set up the schema for automount, and I am having some issues. I'm relatively new to both LDAP and Automount, and NFS4 has thrown me some curves vs NFS2/3.... (6 Replies)
Discussion started by: mark54g
6 Replies

6. Red Hat

NFS4 Mount issue - ASAP

Hi, I am trying to mount via nfs4 # mount -t nfs4 10.1.56.16:/Apps /works/apps/xyz Error: Warning rpc.idmapd apperas not to be running all uids will be mapped to the nobody uid mount to NFS server "10.1.56.16' failed RPC error: program/version mismatched pls help - this is coming... (1 Reply)
Discussion started by: saurabh84g
1 Replies

7. Red Hat

NFS4 and acl: perfect on Slackware,not working on centos6,why?

I have a problem with acl and nfs4 on centos. On Slackware clients nfs4 fs mounted works fine,acl (posix,not nfs acl) is respected. On Centos 6.4 very strange thing..acl is not working on nfs4. nfsmount.conf and idmapd.conf are the same on all client and kernel options on nfs acl are the... (1 Reply)
Discussion started by: Linusolaradm1
1 Replies

8. Shell Programming and Scripting

Script to mount nas-share using generated credentials (mount EC 13,32)

Heyas At home i have 1 nas with 3 shares, of which i used to mount 2 of them using a script with hardcoded password and username in it. EDIT: Turns out, its not the script, but 'how i access' the nas share.. (-o user=XY,password=... VS. -o credentials=...). Figured about credential files,... (0 Replies)
Discussion started by: sea
0 Replies

9. AIX

Showmount don't show NFS4

Configure nfs4 on aix ok i did all chnfsdom #return correct domain chnfs -r /export chnfs -p /export configured and shared pseudo root #etc/exports /export -nfsroot /var/pubblica -exname=/export/pubblica,vers=4,sec=sys:krb5p:krb5i:krb5:dh,rw exportfs -a mount correct mount... (1 Reply)
Discussion started by: Linusolaradm1
1 Replies

10. AIX

How to make NFS4 mount permanent ?

Hello, I'm able to mount NFSv3 shares permanently (/etc/filesystems) via smitty nfs. />lsfs -a Name Nodename Mount Pt VFS Size Options Auto Accounting /dev/hd4 -- / jfs2 2097152 -- yes no /dev/hd1 -- ... (5 Replies)
Discussion started by: System Admin 77
5 Replies
FEDFS-MAP-NFS4(8)					      System Manager's Manual						 FEDFS-MAP-NFS4(8)

NAME
fedfs-map-nfs4 - generate automounter program map entries for FedFS SYNOPSIS
fedfs-map-nfs4 domainname INTRODUCTION
RFC 5716 introduces the Federated File System (FedFS, for short). FedFS is an extensible standardized mechanism by which system adminis- trators construct a coherent namespace across multiple file servers using file system referrals. For further details, see fedfs(7). DESCRIPTION
The fedfs-map-nfs4(8) command provides a FedFS program map for the local system's automounter. Although it is typically intended to be invoked by the automounter, it is also safe to invoke directly for scripting or debugging purposes. See autofs(5) for information about how program maps work. Operation The fedfs-map-nfs4(8) command locates FedFS domains by looking for DNS SRV records that advertise file servers exporting FedFS domain root replicas. The domainname argument determines what FedFS domain is to be mounted. It retrieves and sorts the domain root replica records according to SRV record sorting rules outlined in RFC 2782. It then generates a sun format map entry on stdout representing the set of servers contained in the SRV record, a standard export path to the domain root, and appropriate NFS mount options. Error messages are output on stderr. Globally useful names Across all FedFS-enabled file system clients, a unique file object in a FedFS domain is always accessed via the same pathname. Such path- names are referred to as globally useful names. See fedfs(7) for a full discussion. The top-level directory of a globally useful name is always the networked file system type (NFS version 4, CIFS, and so on). A fedfs-map- nfs4(8) program map entry is used with the NFS version 4 top-level directory to provide globally useful names via the NFS version 4 proto- col. EXAMPLES
Typically, a fedfs-map-nfs4(8) entry in /etc/auto.master looks like this: /nfs4 /usr/sbin/fedfs-map-nfs4 Under the /nfs4 directory on the local system, the automounter uses fedfs-map-nfs4(8) to convert a FedFS domain name to a set of servers and an export path, which are then passed to mount.nfs(8). The automounter mounts this FedFS domain on the directory /nfs4/domainname. After configuring and restarting autofs, to access files in the example.net FedFS domain, for instance, you can start with: $ cd /nfs4/example.net The automounter uses the fedfs-map-nfs4(8) command to look up the file servers that provide the domain root for the example.net domain. It then mounts one of these servers on /nfs4/example.net. If the fedfs-map-nfs4(8) command cannot find the requested domain, no local directory is created and no mount operation is performed. Applications receive an ENOENT error in this case. While these mounted domains remain active on the local system, the mounted-on directories remain visible. After a period of inactivity, the automounter automatically unmounts a FedFS domain. Local applications browsing the top-level directory do not see all available FedFS domains. They see only the ones that are mounted and active. Mount option inheritance The Linux NFS client treats an NFS referral as a server-initiated mount request. The referring fileserver provides only a list of server names and export paths. The mount options for this new mount are inherited from the new mount point's parent directory on the client. As applications proceed deeper into a domain's namespace, they can encounter both file sets to which they have read-only access, and file sets to which they have read-write access. To allow applications proper access to both types of file sets, typically file-access clients mount domain root directories in read-write mode. All submounts of the domain root are then mounted read-write as well. Write access is controlled by fileservers. For example, a domain root may contain an NFS version 4 referral to an export containing user home directories. The domain root may be exported read-only so file-access clients cannot update it, but user home directories would not be very useful if they could not be written to by their owners. The fileserver continues to employ user credentials to limit access as appropriate. Network file system clients follow file system referrals as applications encounter them, which is similar to how an automounter works. Consider the initial mount of the domain root as if you are mounting a single whole file system, even though underneath, additional NFS mounts come and go as needed. FILES
/etc/auto.master master automounter map SEE ALSO
fedfs(7), nfs(5), autofs(5), RFC 2782 for a discussion of DNS SRV records RFC 5716 for FedFS requirements and overview COLOPHON
This page is part of the fedfs-utils package. A description of the project and information about reporting bugs can be found at http://wiki.linux-nfs.org/wiki/index.php/FedFsUtilsProject. AUTHOR
Chuck Lever <chuck.lever@oracle.com> 3 February 2014 FEDFS-MAP-NFS4(8)
All times are GMT -4. The time now is 10:31 PM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy