Solaris 8: df: a line in /etc/mnttab has to many fields

From: abhanson@rockwellcollins.com
Date: Thu Jun 06 2002 - 13:51:20 EDT


We are looking for patches and/or workarounds for the following
situation so the "df" command will work on all our Solaris 8 boxes.

We are having a problem using the command "df" since we started using
Solaris 8. The systems which are having these problems are all the ones
which mount a directory from the NT servers called: "C:\Program Files".
The space in the "Program Files" is causing all the problem in the
/etc/mnttab file. The "df" command is used through-out our organization
to pro-actively manage the disk space via scripts and/or 3rd party
software.

This problem did not exist in earlier version of Solaris. We have been
mounting this NT server directory for quite some time in the past with
older versions of Solaris without this problem.

There are a number of 3rd party programs which call out the "df" command
and they are getting bad results because of this issue. Below is the
results of issuing the df command on the command line:

     $ df
     df: a line in /etc/mnttab has to many fields
     (Same results with /usr/bin/df or /usr/ucb/df)

Below is the lines which have fields greater than 5 in the /etc/mnttab
file, all pointing to the "Program Files" directory.

$ grep -i program /etc/mnttab
-hosts /net/crntap06/C/Program Files autofs
rw,ignore,nest,dev=3b01b22 1018903785
-hosts /net/crntap06/C/Program Files/SAMwrap autofs
rw,ignore,nest,dev=3b01b23 1018903828
crntap06:/C/Program Files/SAMwrap /net/crntap06/C/Program
Files/SAMwrap nfs intr,rw,soft,dev=3ac061e 1018903829

I have researched the web looking for similar "mnttab" problems and Sun
was asked for help as well. We have no solution to this problem other
than "rebooting" which works until someone wants to access something in
the 'Program Files' directory. Rebooting is not a solution on our
servers.

Thanks in advance,

Alan B. Hanson
_______________________________________________
sunmanagers mailing list
sunmanagers@sunmanagers.org
http://www.sunmanagers.org/mailman/listinfo/sunmanagers



This archive was generated by hypermail 2.1.7 : Wed Apr 09 2008 - 23:24:25 EDT