Thursday, September 30, 2010

NFS monut notes

fuser -u /gbg

umount /gbg

Manual Mount
==================
mount -F nfs sgtnas:/life_backups /gbg

mount -o rw,bg,intr,hard,timeo=600,wsize=32768,rsize=32768 sgtnas:/life_backups /gbg

mount -o hard,vers=3,intr,suid,proto=udp,rsize=32768,wsize=32768 sgtnas:/life_backups /gbg


Auto Mount
=============
In /etc/vfstab, make sure that there is an entry for the backup mount point:

sgtnas:/life_backups -/gbg nfs -yes hard,vers=3,intr,suid,proto=udp,rsize=32768,wsize=32768


Check NFS Mount
======================
showmount -e sgtnas

showmount -e


rpcinfo -u sgtnas nfs

rpcinfo -u sgtnas mountd



rpcinfo -u nfs

rpcinfo -u mountd




mount -o rw,bg,intr,hard,timeo=600,wsize=32768,rsize=32768 nfsserver.domain.com:/path/to/remote/mountpoint /local-mountpoint


mount -o hard,vers=3,intr,suid,proto=udp,rsize=32768,wsize=32768 nfsserver.domain.com:/path/to/remote/mountpoint /local-mountpoint

In /etc/vfstab, make sure that there is an entry for the backup mount point:

ausmelb-corp-netappsfiler-tier3:/vol/vol1/dbbackup - /U99 nfs -  yes
             hard,vers=3,intr,suid,proto=udp,rsize=32768,wsize=32768


If you would like your machine to have normal root permissions to a
filesystem, the filesystem must be exported with the option
"root=clientmachine".



The exact checks used for an NFS mounted disk vary between platforms but in general the basic checks will include the following checks


a) The mount table (eg; /etc/mnttab) can be read to check the mount options
b) The NFS mount is mounted with the "hard" option
c) The mount options include rsize>=32768 and wsize>=32768
d) For RAC environments, where NFS disks are supported, the "noac" mount option is used.

JRE    1.6.0_13    C:\Program Files\Java\jre6        true

No comments: