SUMMARY: Solaris 7 quota not started on logging fs

From: Bertold Kolics (bertold@sztaki.hu)
Date: Mon Jun 07 1999 - 05:43:06 CDT


Dear All,

My original message was:
"I have a volume with 'logging' mount option turned on. There is also
quotas turned on on this filesystem. Each time I reboot the server
(UE450), the quotas are not turned on automatically.

The local Sun helpdesk suggested correcting /etc/init.d/MOUNTFSYS by
adding a '-f' option to the 'quotacheck' application call in order to
check logging enabled volumes as well. But it did not help."

Thanks for all who responded:
-----------------------------
Nick Murray
Casper Dick

Casper said:
------------
With the latest kernel patches, the "quota" option doesn't make it
to /etc/mnttab.

Hackery would involve changing MOUNTFSYS to looks for filesystems in
/etc/vfstab rather than /etc/mnttab.

Nick replied:
-------------
        for systems that have quota'd filesystems we modify
/etc/init.d/MOUNTFSYS to comment out the following lines:

# if /usr/bin/cut -f 4 /etc/mnttab | \
# /usr/bin/egrep '^quota|,quota' >/dev/null 2>&1; then

        echo 'Checking UFS quotas: \c'
        /usr/sbin/quotacheck -a -p
        echo 'done.'
        /usr/sbin/quotaon -a
# fi

It appears Sun changed the way the mount options are reflected in
/etc/mnttab - "quota" only appears after the quotas are turned on
and not when they are mounted with the "quota" option as before.

Thanks again.

Regards,
Bertold

--
Bertold Kolics * Computer and Automation Research Institute * Hungary
W3:http://www.sztaki.hu/~bertold/ * Phone:+3613497532 * Fax:+3613297866



This archive was generated by hypermail 2.1.2 : Fri Sep 28 2001 - 23:13:20 CDT