View previous topic :: View next topic |
Author |
Message |
Mad_Moo_Cows n00b
Joined: 11 Feb 2004 Posts: 7
|
Posted: Thu Mar 11, 2004 2:09 pm Post subject: how to enable Disk Quotas |
|
|
Hello,
I am running kernel 2.4.22.r1 on an EXT3 partion.
I want to turn Quotas on on my partion but when I try to run it, it says that quota is not enabled in my kernel. I am kinda new and the thought oh having to recompile my kernel is not a nice one is there some way I can add a moduel or patch my kernel to enable quota???
Thanks |
|
Back to top |
|
|
primero.gentoo Guru
Joined: 23 Dec 2003 Posts: 402
|
Posted: Thu Mar 11, 2004 2:16 pm Post subject: |
|
|
I don't think there is a way to enable Quota without at least Recompiling your Kernel , if not even patching it since it is a 2.4.22 version and i don't know if there is the patch included yet.
But, don't feel afraid of Recompiling the kernel by yourself , it's not so difficult and if you start from your running conf you can modify it a little bit, try it on and, if everything goes ok, tune it more and more.
And don't forget that Linux is Kernel and Kernel is Linux, you can't flee from this and , IMHO, you need to work with it ... so, Mush up the place!!!
Bye
Primero |
|
Back to top |
|
|
ikaro Advocate
Joined: 14 Jul 2003 Posts: 2527 Location: Denmark
|
|
Back to top |
|
|
Mad_Moo_Cows n00b
Joined: 11 Feb 2004 Posts: 7
|
Posted: Fri Mar 12, 2004 3:12 am Post subject: |
|
|
I have read that one before...
I get this error when I run the quotaon command.
quotaon: Quota format not supported in kernel.
And I am using the quota.user and quota.group files... |
|
Back to top |
|
|
ikaro Advocate
Joined: 14 Jul 2003 Posts: 2527 Location: Denmark
|
Posted: Fri Mar 12, 2004 12:19 pm Post subject: |
|
|
did you enable QUOTAS in the KERNEL ? _________________ linux: #232767 |
|
Back to top |
|
|
Mad_Moo_Cows n00b
Joined: 11 Feb 2004 Posts: 7
|
Posted: Fri Mar 12, 2004 1:45 pm Post subject: |
|
|
in my current one... no...
I downloaded 2.6 and tried to compile but it compile a initrd file so I don't know what to put in GRUB for the initrd line ... |
|
Back to top |
|
|
ikaro Advocate
Joined: 14 Jul 2003 Posts: 2527 Location: Denmark
|
Posted: Fri Mar 12, 2004 2:19 pm Post subject: |
|
|
i dont see whats the relation between initrd and quotas ....
_________________ linux: #232767 |
|
Back to top |
|
|
ikaro Advocate
Joined: 14 Jul 2003 Posts: 2527 Location: Denmark
|
Posted: Fri Mar 12, 2004 2:23 pm Post subject: |
|
|
Let's see.....
The URL i posted before is actually a HOWTO for quotas, the way i did it when i had need for it. And it works.
About the initrd this is my grub.conf
Code: |
title= 2.6.4
root=(hd0,0)
kernel /2.6.4 root=/dev/hda3 video=ywrap,mtrr,vesa:vga=0x51A hdc=ide-cd elevator=cfq
initrd=/boot/initrd-1280x1024
|
That's how the initrd can look like.
About the quotas, you need to enable support for it in the kernel config.
Let me know how is goes. _________________ linux: #232767 |
|
Back to top |
|
|
Mad_Moo_Cows n00b
Joined: 11 Feb 2004 Posts: 7
|
Posted: Fri Mar 12, 2004 3:41 pm Post subject: |
|
|
This is my grub.conf
Code: |
title=CowGen
root (hd0,0)
kernel (hd0,0)/boot/kernel-2.4.22-gentoo-r5 root=/dev/ram0 real_root=/dev/hda3 init=/linuxrc
initrd (hd0,0)/boot/initrd-2.4.22-gentoo-r5
title=Test 2.6.3 Kernel
root (hd0,0)
kernel (hd0,0)/kernel-2.6.3-gentoo-r2 root=/dev/ram0 real_root=/dev/hda3 init=/linuxrc
|
Now I started to add the 6.2 kernel, but I don't have any initrd files for my 2.6 kernel only for my 2.4 kernel...
does it matter? the initrd is only for a ram disk (from what I have read), do I need one??? |
|
Back to top |
|
|
|