LinuxQuestions.org
Review your favorite Linux distribution.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 07-29-2003, 10:44 AM   #1
deepika
Member
 
Registered: Jul 2003
Distribution: Redhat
Posts: 88

Rep: Reputation: 15
creating file /aquota.user and /aquota.group??


Hi

I m using disk quota on my computer on filesystem '/'. I have enabled both usrquota and grpquota in /etc/fstab for mount point /.

But when I reboot the system or remount / using 'mount -o remount' I don't see any /aquota.user or /aquota.group created while according to 'man quotacheck' it says.
.
"quotacheck expects each filesystem to be checked to have quota files named [a]quota.user and [a]quota.group located at the root of the associated filesystem. If a file is not present, quotacheck will create it."

I wanted to know if above works or I HAVE TO create these files on my own before I run quotacheck command.

Please advice.

Thanks & regards,
Deepika
 
Old 10-09-2003, 03:15 AM   #2
jessel
LQ Newbie
 
Registered: Oct 2002
Location: India
Distribution: Redhat 7.2
Posts: 2

Rep: Reputation: 0
Yeah create aquota.user and aquota.group
# touch /quota.user /quota.group
# chmod 600 /quota.user /quota.group

now reboot in single user mode with no services running

then #quotacheck -c -d -u /dev/hdax

If all goes well you'll find the sizes of /quota.user and /quota.group are no longer zero

now reboot to runlevel 5

Jessel
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
making a user to run file (group) Paxmaster Linux - General 2 02-11-2005 06:14 PM
NAGIOS/Suse.9 : Creating User/group siobhan_2004 Linux - Newbie 1 08-04-2004 03:49 PM
creating file /aquota.user and /aquota.group?? deepika Linux - Newbie 1 07-29-2003 11:02 AM
Creating file link -- user needs permissions? AnthonyM Linux - General 1 07-07-2003 12:18 PM
Missing aquota. group and aquota.user files nam Linux - General 2 11-05-2002 04:28 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 11:53 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration