Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
how to enable Disk Quotas
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Networking & Security
View previous topic :: View next topic  
Author Message
Mad_Moo_Cows
n00b
n00b


Joined: 11 Feb 2004
Posts: 7

PostPosted: Thu Mar 11, 2004 2:09 pm    Post subject: how to enable Disk Quotas Reply with quote

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
View user's profile Send private message
primero.gentoo
Guru
Guru


Joined: 23 Dec 2003
Posts: 402

PostPosted: Thu Mar 11, 2004 2:16 pm    Post subject: Reply with quote

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
View user's profile Send private message
ikaro
Advocate
Advocate


Joined: 14 Jul 2003
Posts: 2527
Location: Denmark

PostPosted: Thu Mar 11, 2004 6:23 pm    Post subject: Reply with quote

HI.
you can try reading this tread:

https://forums.gentoo.org/viewtopic.php?t=77231&highlight=ikaro+rules
_________________
linux: #232767
Back to top
View user's profile Send private message
Mad_Moo_Cows
n00b
n00b


Joined: 11 Feb 2004
Posts: 7

PostPosted: Fri Mar 12, 2004 3:12 am    Post subject: Reply with quote

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
View user's profile Send private message
ikaro
Advocate
Advocate


Joined: 14 Jul 2003
Posts: 2527
Location: Denmark

PostPosted: Fri Mar 12, 2004 12:19 pm    Post subject: Reply with quote

did you enable QUOTAS in the KERNEL ?
_________________
linux: #232767
Back to top
View user's profile Send private message
Mad_Moo_Cows
n00b
n00b


Joined: 11 Feb 2004
Posts: 7

PostPosted: Fri Mar 12, 2004 1:45 pm    Post subject: Reply with quote

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
View user's profile Send private message
ikaro
Advocate
Advocate


Joined: 14 Jul 2003
Posts: 2527
Location: Denmark

PostPosted: Fri Mar 12, 2004 2:19 pm    Post subject: Reply with quote

i dont see whats the relation between initrd and quotas ....
:roll:
_________________
linux: #232767
Back to top
View user's profile Send private message
ikaro
Advocate
Advocate


Joined: 14 Jul 2003
Posts: 2527
Location: Denmark

PostPosted: Fri Mar 12, 2004 2:23 pm    Post subject: Reply with quote

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
View user's profile Send private message
Mad_Moo_Cows
n00b
n00b


Joined: 11 Feb 2004
Posts: 7

PostPosted: Fri Mar 12, 2004 3:41 pm    Post subject: Reply with quote

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
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Networking & Security All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum