Help - Search - Members - Calendar
Full Version: No Way For Disk Quota Do Work
Linuxhelp > Support > Technical Support
aromes
While setting up disk quota, at the step
of "edquota -u user1", VI opens with following contents:

/dev/hdb1: blocks in use: 0, limits (soft = 0, hard = 0)
inodes in use: 0, limits (soft = 0, hard = 0)

I DID MODIFY THE CONTENTS FOR BLOCKS AND INODES
THAT USER MAY USE, BUT THERE WAS NO WAY TO SAVE THE
CHANGEMENTS ("ERROR COULD NOT SAVE FILE --- AS IF I HAD NO RIGHT ON
THAT FILE -- WHICH IS NOT THE CASE SINCE I AM ROOT AND I DID CHMOD 600
USER.QUOTA") ....
And now the major issue =>

When I rebooted my system for the changes to take effect, my system would not
pass the boot up process. It jams there:
..............
..............
Turn on user and group quota for local filesystems
quotaon: using quota.users on /dev/hdb1: read-only fs
Check quota .....
/proc must be mounted a different way in /etc/fstab
.............
Init: Id xx (where xx are the different init levels number): Id "x" respawning
too fast --disabled for 5 mins
........
Cannot open read only file systems
...........

And it would stop there at boot up
===============
Here's the contents of my /etc/rc.d/rc.sysinit in order
to check quota and turn quota on at boot time:
# Check quota and then turn quota on.
if [ -x /usr/sbin/quotacheck ]
then
echo "Checking quotas. This may take some time."
/usr/sbin/quotacheck -avug
echo " Done."
fi
if [ -x /usr/sbin/quotaon ]
then
echo "Turning on quota."
/usr/sbin/quotaon -avug
fi

Kernel 2.0.30 (Red Hat Linux)

Thanks for taking time to help me.
hughesjr
Kernel 2.0.30 (Red Hat Linux)

Is that RedHat 4.2 ... or maybe 5.0/5.2/5.3?

I have a copy of RedHat 5.2 and the Book RedHat Linux Third Edition (version 5.2) ... but the book doesn't talk about quotas ...

I can't find a machine that the CD will install on ... it 5.2 won't install on any of my pII or PIII test machines and I don't have a pentium machine around to try it.

Is it possible that the device /dev/hhb1 is mounted as a read only file system?
This is a "lo-fi" version of our main content. To view the full version with more information, formatting and images, please click here.
Invision Power Board © 2001-2017 Invision Power Services, Inc.