LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Server (https://www.linuxquestions.org/questions/linux-server-73/)
-   -   how to enable quota on centos (https://www.linuxquestions.org/questions/linux-server-73/how-to-enable-quota-on-centos-811049/)

Md.Abul Quashem 05-30-2010 05:07 AM

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

unSpawn 05-30-2010 06:47 AM

Quote:

Originally Posted by Md.Abul Quashem (Post 3986097)
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 (Post 3986097)
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 (Post 3986097)
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.


All times are GMT -5. The time now is 09:48 PM.