Linux / UNIX Tech Support Forum
This is a discussion on How to verify the options used when mounting a nfs FS. within the Solaris/OpenSolaris forums, part of the UNIX operating systems category; After mounting an exported NFS file system: # mount -F nfs nfs_server:/mnt /mnt_point How do I verify what's the default ...
|
|||||||
| Solaris/OpenSolaris Discuss all about the SUN Solairs/OpenSolaris. You are free to talk about any issues related to Solaris administration, networking, services and other stuff, share information or ask doubts. |
![]() |
|
|
LinkBack | Thread Tools | Display Modes |
|
|||
|
After mounting an exported NFS file system:
# mount -F nfs nfs_server:/mnt /mnt_point How do I verify what's the default options being used? In Linux, we can issue the command "mount" or "cat /proc/mounts" then we can see what are the defaults options being used. The size of r/wsize, what's the protocol used, etc..right? So in Solaris, how can I verify it? thanks, warren |
| Sponsored Links | ||
|
|
|
||||
|
Use mount -v command:
Code:
mount -v /dev/dsk/c0d0s0 on / type ufs read/write/setuid/devices/intr/largefiles/logging/xattr/onerror=panic/dev=1980000 on Mon Mar 27 12:54:59 2006 /devices on /devices type devfs read/write/setuid/devices/dev=3340000 on Mon Mar 27 12:54:53 2006 /dev/dsk/c0d0p0:boot on /boot type pcfs read/write/setuid/devices/nohidden/nofoldcase/dev=19a3010 on Mon Mar 27 12:54:57 2006 proc on /proc type proc read/write/setuid/devices/dev=3380000 on Mon Mar 27 12:54:58 2006 mnttab on /etc/mnttab type mntfs read/write/setuid/devices/dev=3440001 on Mon Mar 27 12:54:59 2006 fd on /dev/fd type fd read/write/setuid/devices/dev=3480001 on Mon Mar 27 12:54:59 2006 swap on /var/run type tmpfs read/write/setuid/devices/xattr/dev=3500001 on Mon Mar 27 12:54:59 2006 swap on /tmp type tmpfs read/write/setuid/devices/xattr/dev=3500002 on Mon Mar 27 12:54:59 2006 Red colour displays the options. Another way is to see /etc/mnttab file: Code:
cat /etc/mnttab /dev/dsk/c0d0s0 / ufs rw,intr,largefiles,logging,xattr,onerror=panic,dev =1980000 1143444299 /devices /devices devfs dev=3340000 1143444293 /dev/dsk/c0d0p0:boot /boot pcfs nohidden,nofoldcase,dev=19a3010 1143444297 proc /proc proc dev=3380000 1143444298 mnttab /etc/mnttab mntfs dev=3440001 1143444299 fd /dev/fd fd rw,dev=3480001 1143444299 swap /var/run tmpfs xattr,dev=3500001 1143444299 swap /tmp tmpfs xattr,dev=3500002 1143444299 -hosts /net autofs nosuid,indirect,ignore,nobrowse,dev=35c0001 1143444307 auto_home /home autofs indirect,ignore,nobrowse,dev=35c0002 1143444307 solaris:vold(pid326) /vol nfs ignore,noquota,dev=3600001 1143444318
__________________
Rocky Jr. You may have my body & soul, but you will never touch my pride! If you have knowledge, let others light their candles at it. Certified to work on HP-UX / Sun Solaris / RedHat |
|
|||
|
Thanks so much for the information.
ok, seems this is the only supported options when mounting a nfs in Solaris... read/write/setuid/devices/nohidden/nofoldcase/dev=19a3010 Also in the manual I cannot find how to mount it using tcp or udp, hard or soft. Anyone knows what are the default for the ff: tcp or udp? hard or soft? rsize/wsize size? nfs version? intr or nointr? timeo=? etc.... Some of these options will definitely depends on the client. thanks, warren |
![]() |
Currently Active Users Viewing This Thread: 1 (0 members and 1 guests) |
|
| Thread Tools | |
| Display Modes | |
|
|
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| passing options to a shell script | bigpaw | Shell scripting | 2 | 10-11-2007 02:40 AM |
| Verify X.org configuration file | Yasar | Getting started tutorials | 1 | 09-06-2007 02:43 PM |
| Certification options !!! | donovan | The Hangout | 14 | 05-30-2007 04:48 AM |
| Howto verify linux open port | nixcraft | Getting started tutorials | 0 | 05-18-2007 01:49 AM |
| Linux : How do I verify which ports are listening? | sweta | Getting started tutorials | 0 | 07-30-2006 10:02 PM |