Mailing List
Home
Linux - General Red Hat Linux discussion list
Enterprise Linux 3 - Discussion of Red Hat Enterprise Linux 3 (Taroon)
Red Hat Linux 9 - Discussion of Red Hat Linux 9 (Shrike)
Installation - Getting started with Red Hat Linux
Red Hat Linux 7.3 - Discussion of Red Hat Linux 7.3 (Valhalla)
Red Hat Linux 8.0 - Discussion of Red Hat Linux 8.0 (Psyche)
Red Hat Linux 7.2 - Discussion of Red Hat Linux 7.2 (Enigma)
Red Hat Linux 7.1 - Discussion of Red Hat Linux 7.1 (Seawolf)
Apache Web Server
Oracle database, Microsoft SQL server ...
Subjects
application/x mplayer2 plugin
RPM error: db4 error(16) from dbenv >remove: Device or resource
   busy
Command stream end of file while reading
X Windows problem (xauth)
Upgrading openoffice 1 1 rpm
FTP: connection refused
FTP: connection refused
mount: /dev/cdrom: is not a valid block device
Dell Precision 650, RedHat 9, no sound
how to trace the cause resulting in the crash of bind server
Virus on the list
UNINSTALL RPM MYSQL
usb pen drives: mounting as a user
broadcom network interface
make mrproper
sendmail configuration on redhat
Couldn 't open PID file /var/run/named/named pid Permission denied
Promise 378 controller
kernel 2 6 and /dev/sound/mixer not found
Problem using up2date
mrtg step by step howto/configuration for a newbie?
Compiling and Installing Kernel 2 6
Can 't locate module ppp0, can 't locate module ppp compress 21
HOW I CAN MAKE BOOTABLE FLOPPY DISKET
Lotus Notes under Wine
/etc/security/limits conf question
Intel E/1000 driver
Command stream end of file while reading
rpm database corrupt
qla2300 modules
 
Search:  
Power your search with and, or, +, -, or "some phrase" operators.
NFS - how to tell the mount options

NFS - how to tell the mount options

2004-03-31       - By Rick Stevens

 Back
Reply:     1     2     3     4     5  

Waldher, Travis R wrote:
> >-- --Original Message-- --
> >From: Rick Stevens [mailto:rstevens@(protected)]
> >Sent: Wednesday, March 31, 2004 10:38 AM
> >To: Getting started with Red Hat Linux
> >Subject: Re: NFS - how to tell the mount options
> >
> >
> >Waldher, Travis R wrote:
> >
> > >I forgot where it was...
> > >
> > >Where is the file that tells me what a NFS mount used as far as
> > >options
> > >goes? nfsv2 vs v3, cache settings, etc.?
> >
> > "man nfs " will give you the available options. As far as
> >where you specify them at mount time, that 's in /etc/fstab.
> >
> >
> > >If I don 't manually set how I want it to mount, I don 't know how to
> > >tell
> > >how it did mount.
> >
> > "mount " alone should show you which non-default options were
> >actually used. Those not displayed use the defaults shown in
> > "man nfs ":
> >
> >   [root@(protected) bin]# mount -l -t nfs
> >   netapp2:/VIRTMAIL on /virtmail type nfs
> >      (rw,tcp,hard,noac,rsize=8192,wsize=8192,
> >      nfsvers=3,addr=10.24.1.4)
> >
> >The stuff not displayed use the defaults. The corresponding
> >line in /etc/fstab (wrapped for easier reading) is:
> >
> >   netapp2:/VIRTMAIL /virtmail nfs \
> >      rw,tcp,hard,noac,rsize=8192,wsize=8192,nfsvers=3
> >
> >Ok?
>
>
> Well... Here 's the riddle.
>
> How can I tell which version of nfs is being used. The default
> according to the nfs man page is version 2. I didn 't specifically say
> use nfsvers2 or 3, so it should have used 2.
>
> Then why are my nfs v3 nfs counters going up when I transfer data?
>
> Client nfs v3:
> null getattr setattr lookup access readlink
> 0 0% 31227016 5% 15363112 2% 19036511 3% 387690989 0% 228600
> 0%
> read write create mkdir symlink mknod
> 63 0% 76477074 6% 4455603 0% 102785 0% 1276273 0% 24 0%
> remove rmdir rename link readdir readdirplus
> 4114960 0% 168678 0% 10 0% 727 0% 103584 0% 0 0%
> fsstat fsinfo pathconf commit
> 1547 0% 1547 0% 0 0% 4621261 0%
>
> I have about 200 file systems mounted right now, many must be nfsv2,
> because that 's all the server supports, obviously others decided to
> mount up to nfsv3. BUT, how can I tell. None of the commands you gave
> me are telling me anything, and I never specified in the fstab file
> which version of nfs to use.

If "mount " does not explicitly tell you that it 's mounted as "nfsvers=3 "
then it 's V2. The stats show up in the V3 client data because your
_client_ is V3 (which is backwards-compatible with V2). I know, it 's
weird, but that 's how it goes.
-- ---- ---- ---- ---- ---- ---- ---- ---- ---- ---- ---- ---- ---- --
- Rick Stevens, Senior Systems Engineer rstevens@(protected) -
- VitalStream, Inc. http://www.vitalstream.com -
- -
- Memory is the second thing to go, but I can 't remember the first! -
-- ---- ---- ---- ---- ---- ---- ---- ---- ---- ---- ---- ---- ---- --


__ ____ ____ ____ ____ ____ ____ ____ ____ ____
Redhat-install-list mailing list
Redhat-install-list@(protected)
https://www.redhat.com/mailman/listinfo/redhat-install-list
To Unsubscribe Go To ABOVE URL or send a message to:
redhat-install-list-request@(protected)
Subject: unsubscribe