I'm able to mount NFSv3 shares permanently (/etc/filesystems) via smitty nfs.
Code:
[root@nfs3client]/>lsfs -a
Name Nodename Mount Pt VFS Size Options Auto Accounting
/dev/hd4 -- / jfs2 2097152 -- yes no
/dev/hd1 -- /home jfs2 1638400 -- yes no
/dev/hd2 -- /usr jfs2 30932992 -- yes no
/dev/hd9var -- /var jfs2 2883584 -- yes no
/dev/hd3 -- /tmp jfs2 4194304 -- yes no
/dev/hd11admin -- /admin jfs2 262144 -- yes no
/proc -- /proc procfs -- -- yes no
/dev/hd10opt -- /opt jfs2 2097152 -- yes no
/dev/livedump -- /var/adm/ras/livedump jfs2 524288 -- yes no
nfsserver:/nfs3shre/test /mntpoint nfs -- rw,bg,hard,intr,sec=sys yes no
I've tried to follow the same procedure (smitty nfs) for NFSv4 as well. But it gave me below error.
Code:
Command: failed stdout: yes stderr: no
Before command completion, additional instructions may appear below.
mount: 1831-011 access denied for nfsserver:/nfs4shre/test
mount: 1831-008 giving up on:
nfsserver:/nfs4shre/test
The file access permissions do not allow the specified action.
But when I use below command, then it worked.
mount -o vers=4,hard,rw,bg,intr,sec=sys nfsserver:/nfs4shre/test /mntpoint
The issue is " NFSv4 share is not mounting automatically after a server reboot".
As per my understanding,
we are not supposed to modify/edit " /etc/filesystems" in AIX.
As per IBM man pages
Quote:
Modifying this file can cause several effects to file systems
Please let me know how can I make NFSv4 mount permanently available across reboots.
Thank you.
Last edited by rbatte1; 10-20-2017 at 06:13 AM..
Reason: Converted bold text to a quote
Hi,
I need to mount a new partition in a series of Pc that have a single hard drive of 20 GB; the used and partioned space amounts to 10 GB, between root, boot and swap; the script is to make the mounting process automatic
These are the contents of my script:
... (1 Reply)
how do I make sure that the entry in the routing table on Solaris 8 stay permanent after rebooting the server.
For example
route add 172.20.1.60 -netmask 255.255.255.0 172.20.255.253
Each time the server reboots the entry disappears when using the command netstat -nr (2 Replies)
How can i set a environment variable in unix shell ?? I can set it using setenv or export but when i close & open the terminal again i couldn't see that environment variable, how can i make that change permanent ?? (1 Reply)
Hi
If suppose there is a MAC address of NIC port. I have change the MAC address through following command
# ifconfig hme0 ether a:0:30:f0.ad:51
The change MAC address will be there till reboot.
Now I would like to know how to make the change MAC address permanent. I believe that... (1 Reply)
Hi all,
I am trying to configure an NFS4 server and client.
I have been through the entire setup and i have managed to mount the directory as i wanted to however it doesn't seem quite right.
My server is "swstage", the NFS4 pseudofilesystem is "/NFS4", the directory i am trying to... (7 Replies)
Greetings,
I am using solaris10 x86 OS. I configured IP address using the command.
>ifconfig e1000g0 plumb
>ifconfig e1000g0 200.200.0.1 up
How to make this configured IP as permanent.. to solaris os. (2 Replies)
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)
Hi,
I made following configuration to create user directory:
# authconfig --enablemkhomedir --update
But the directory is created as permission 755, I'd like to modify the script to change directory access permission to 700, where is the script which copies /etc/skel to /home... (0 Replies)
Hi,
I am writing a shell script where I want that # should be added in all those lines as the first character where the pattern matches.
file has lot of functions defined
a.sh
#!/bin/bash
fn a {
beautiful evening
sunny day
}
fn b {
}
fn c {
hello world .its a beautiful day
... (12 Replies)
Discussion started by: ashima jain
12 Replies
LEARN ABOUT DEBIAN
umount.nfs
UMOUNT.NFS(8) System Manager's Manual UMOUNT.NFS(8)NAME
umount.nfs, umount.nfs4 - unmount a Network File System
SYNOPSIS
umount.nfs dir [-fvnrlh ]
DESCRIPTION
umount.nfs and umount.nfs4 are a part of nfs(5) utilities package, which provides NFS client functionality.
umount.nfs4 and umount.nfs are meant to be used by the umount(8) command for unmounting NFS shares. This subcommand, however, can also be
used as a standalone command with limited functionality.
dir is the directory on which the file system is mounted.
OPTIONS -f Force unmount the file system in case of unreachable NFS system.
-v Be verbose.
-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 delet-
ing an entry.
-r In case unmounting fails, try to mount read-only.
-l Lazy unmount. Detach the file system from the file system hierarchy now, and cleanup all references to the file system as soon as it
is not busy anymore.
-h Print help message.
NOTE
For further information please refer nfs(5) and umount(8) manual pages.
FILES
/etc/fstab file system table
/etc/mtab table of mounted file systems
SEE ALSO nfs(5), umount(8),
AUTHOR
Amit Gud <agud@redhat.com>
6 Jun 2006 UMOUNT.NFS(8)