Linux Help
guides forums blogs
Home Desktops Distributions ISO Images Logos Newbies Reviews Software Support & Resources Linuxhelp Wiki

Welcome Guest ( Log In | Register )



Advanced DNS Management
New ZoneEdit. New Managment.

FREE DNS Is Back

Sign Up Now
 
Reply to this topicStart new topic
> No Way For Disk Quota Do Work, disk quota problem
aromes
post Sep 17 2003, 02:00 PM
Post #1


Whats this Lie-nix Thing?
*

Group: Members
Posts: 10
Joined: 7-September 03
Member No.: 1,403



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.
Go to the top of the page
 
+Quote Post
hughesjr
post Sep 18 2003, 10:07 AM
Post #2


Its GNU/Linuxhelp.net
*******

Group: Admin
Posts: 3,433
Joined: 25-July 03
From: Corpus Chrsiti, TX, USA
Member No.: 1,151



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?


--------------------
Johnny Hughes
hughesjr@linuxhelp.net
Enterprise Alternatives: CentOS, WhiteBoxEL
Favorite Workstation Distros (in order): CentOS, Gentoo, Debian Sarge, Ubuntu, Mandrake, FedoraCore, Slackware, SUSE
Favorite Server Distros (in order): CentOS, WhiteBoxEL, Debian Sarge, Slackware, Mandrake, FedoraCore, Gentoo, SUSE
Go to the top of the page
 
+Quote Post

Reply to this topicStart new topic
1 User(s) are reading this topic (1 Guests and 0 Anonymous Users)
0 Members:

 



RSS Lo-Fi Version Time is now: 13th December 2017 - 07:30 PM