LinuxQuestions.org
Visit Jeremy's Blog.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Server
User Name
Password
Linux - Server This forum is for the discussion of Linux Software used in a server related context.

Notices


Reply
  Search this Thread
Old 05-30-2010, 05:07 AM   #1
Md.Abul Quashem
Member
 
Registered: Apr 2006
Location: bangladesh
Distribution: RedHat linux 9.0, Fedora core 5 and 6
Posts: 38

Rep: Reputation: 15
how to enable quota on centos


Dear All,

I want to enable quota on my centos 5.5, I've tried and it showed correctly quotacheck but when i rebooted the machine it showed me an error saying that fsck.ext3: no such file or direcotory while trying to open /dev/VolGroup00/LogVol00
below are my fdisk and fstab file.

Please help me how can I enable quota based on below configuration. otherwise may be I have to reformat the machine..n it'll be really painfull for me.


[root@drikdhaka ~]# fdisk -l

Disk /dev/hda: 82.3 GB, 82348277760 bytes
255 heads, 63 sectors/track, 10011 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes

Device Boot Start End Blocks Id System
/dev/hda1 * 1 1275 10241406 7 HPFS/NTFS
/dev/hda2 1276 10010 70163887+ f W95 Ext'd (LBA)
/dev/hda5 1276 2550 10241406 7 HPFS/NTFS
/dev/hda6 2551 6374 30716248+ 7 HPFS/NTFS
/dev/hda7 6375 8796 19454683+ 7 HPFS/NTFS
/dev/hda8 8797 8809 104391 83 Linux
/dev/hda9 8810 8940 1052226 82 Linux swap / Solaris
/dev/hda10 8941 10010 8594743+ 83 Linux

[root@drikdhaka ~]# cat /etc/fstab
LABEL=/ / ext3 defaults 1 1
LABEL=/boot1 /boot ext3 defaults 1 2
tmpfs /dev/shm tmpfs defaults 0 0
devpts /dev/pts devpts gid=5,mode=620 0 0
sysfs /sys sysfs defaults 0 0
proc /proc proc defaults 0 0
LABEL=SWAP-hda9 swap swap defaults 0 0

Thanks in advance for helping me

Nabil
 
Old 05-30-2010, 06:47 AM   #2
unSpawn
Moderator
 
Registered: May 2001
Posts: 29,415
Blog Entries: 55

Rep: Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600
Quote:
Originally Posted by Md.Abul Quashem View Post
I've tried
What is the command you have tried? (Should be something like 'quotacheck -vcugamMf'.) You also need to have the "usrquota" and "grpquota" mount options in /etc/fstab.


Quote:
Originally Posted by Md.Abul Quashem View Post
when i rebooted the machine it showed me an error saying that fsck.ext3: no such file or direcotory while trying to open /dev/VolGroup00/LogVol00
Do you use LVM? Because your 'fdisk -l' output says you don't...


Quote:
Originally Posted by Md.Abul Quashem View Post
otherwise may be I have to reformat the machine..n it'll be really painful for me.
That is unnecessary. GNU/Linux is not mcrsft.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

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
Suse Linux 10, need to enable quota davidstvz SUSE / openSUSE 1 04-15-2009 06:24 PM
How to enable quota on - linux fedora GiotisSL Linux - Server 5 03-30-2008 05:17 AM
Enable quota in a used partition guideweb Linux - Security 1 03-12-2005 12:46 AM
How to enable quota in 2 different partition visu Linux - Newbie 0 02-11-2004 06:48 AM
Can I enable quota management in root(/)? paranoia1980 Red Hat 4 09-17-2003 11:19 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Server

All times are GMT -5. The time now is 02:31 AM.

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