Unix Technical Forum

Slack 10, reiserfs and quota ????

This is a discussion on Slack 10, reiserfs and quota ???? within the Slackware Linux Support forums, part of the Unix Operating Systems category; --> Hello slack fans, I'm building our new server and, as usual since 1993..., my distro choice is slackware. I ...


Go Back   Unix Technical Forum > Unix Operating Systems > Slackware Linux Support

Register FAQ Members List Calendar Search Today's Posts Mark Forums Read
  #1 (permalink)  
Old 02-19-2008, 01:38 PM
Nicola Pedrozzi
 
Posts: n/a
Default Slack 10, reiserfs and quota ????

Hello slack fans,
I'm building our new server and, as usual since 1993..., my
distro choice is slackware.

I have problems setting up quotas on the default file system:
reiserfs.

Just adding 'usrquota,grpquota' to /etc/fstab options does not
help, neither loading quota_v2 in /etc/rc.d/rc.modules...

In fact I could NOT find any real hint about reiserfs with
quota on slack10.


I can't believe Patrick choosed ReiserFS as default fs without
creating the built-in ability to impose quotas. In fact slack
is meant to be a rock-solid server environment, right?

My guess is that some documentation in the distro is missing,
at least, I hope.



Thanks and regards to all of you,
Ciao nIc
______________________________

Nicola Pedrozzi
IT Manager
Oval engineering sagl
Via Daro 6a
CH-6500 Bellinzona

nikita@oval.ch
nikita@swissgalaxy.ch
Tel: +41 91 825 42 85
Fax: +41 91 826 12 34

http://www.oval.ch
http://www.immogalaxy.ch

Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #2 (permalink)  
Old 02-19-2008, 01:38 PM
Dominik L. Borkowski
 
Posts: n/a
Default Re: Slack 10, reiserfs and quota ????

Nicola Pedrozzi wrote:

> Just adding 'usrquota,grpquota' to /etc/fstab options does not
> help, neither loading quota_v2 in /etc/rc.d/rc.modules...
> In fact I could NOT find any real hint about reiserfs with
> quota on slack10.


i haven't used quotas with reiserfs under 2.4.x kernel; however, i have used
them on 2.6.x kernel, and they work just fine. if you want, i can provide
my .config

however, let's start from the beginning:

a) when you issue the 'mount' command, do you see your filesystem with those
quota options?
b) did you create aquota.user and aquota.group files on that filesystem? if
so, do they have correct permissions? if so, did they grow from 0 size to
something bigger, after mounting?

> I can't believe Patrick choosed ReiserFS as default fs without
> creating the built-in ability to impose quotas. In fact slack
> is meant to be a rock-solid server environment, right?


rock-solid does not mean it has to have <insert some extra additional
functionality>. rock-solid means it's solid, it doesn't break.

Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #3 (permalink)  
Old 02-19-2008, 01:38 PM
+Alan Hicks+
 
Posts: n/a
Default Re: Slack 10, reiserfs and quota ????

-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

In alt.os.linux.slackware, Nicola Pedrozzi dared to utter,
> I have problems setting up quotas on the default file system:
> reiserfs.
>
> Just adding 'usrquota,grpquota' to /etc/fstab options does not
> help, neither loading quota_v2 in /etc/rc.d/rc.modules...


Have you googled at all? A basic search for "reiserfs quota" tells me
you have to have a patched kernel to make reiserfs quota friendly. Have
yo tried to find a kernel patch? (Note that may no longer be
neccesary).

> In fact I could NOT find any real hint about reiserfs with
> quota on slack10.


Where did you look?

> I can't believe Patrick choosed ReiserFS as default fs without
> creating the built-in ability to impose quotas.


Why not? Journaling is a big deal to a lot of people. User quoatas
aren't.

> In fact slack
> is meant to be a rock-solid server environment, right?


Typical mistake. Some one that's been using Slackware as his
distribution of choice since 1993 would know better. Slackware is meant
to be a stable, easy-to-use GNU/Linux OS. It is not focused on any
particular role such as server or desktop. What version of Slackware
did you start with anyhow?

- --
It is better to hear the rebuke of the wise,
Than for a man to hear the song of fools.
Ecclesiastes 7:5
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.1 (GNU/Linux)

iD8DBQFBGmhAlKR45I6cfKARAlmLAKCiNDQda/YeTdDCGSinxCu94kMIvgCgj3BI
iHv9bZUKfviC/f6QqPabTdY=
=3K1w
-----END PGP SIGNATURE-----
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #4 (permalink)  
Old 02-19-2008, 01:39 PM
Rich Grise
 
Posts: n/a
Default Re: Slack 10, reiserfs and quota ????

+Alan Hicks+ wrote:

> In alt.os.linux.slackware, Nicola Pedrozzi dared to utter,

....
>> In fact slack
>> is meant to be a rock-solid server environment, right?

>
> Typical mistake. Some one that's been using Slackware as his
> distribution of choice since 1993 would know better. Slackware is meant
> to be a stable, easy-to-use GNU/Linux OS. It is not focused on any
> particular role such as server or desktop. What version of Slackware
> did you start with anyhow?
>

Yeah. It's meant to be rock-solid, but I concur with +Alan Hicks+ here;
and in fact, have been using Slack on this desktop almost exclusively
since I started learning how to tweak it. :-)

Cheers!
Rich

Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #5 (permalink)  
Old 02-19-2008, 01:40 PM
Nicola Pedrozzi
 
Posts: n/a
Default Re: Slack 10, reiserfs and quota ????

> i haven't used quotas with reiserfs under 2.4.x kernel; however, i have used
> them on 2.6.x kernel, and they work just fine. if you want, i can provide
> my .config
>
> however, let's start from the beginning:
>
> a) when you issue the 'mount' command, do you see your filesystem with those
> quota options?
> b) did you create aquota.user and aquota.group files on that filesystem? if
> so, do they have correct permissions? if so, did they grow from 0 size to
> something bigger, after mounting?
>


I'd like to stick with the longer-life 2.4 kernel 'cause I'm building a
server with stability as one of the first goal.

Actually I know all the details about 'mount', quota files and so on;
just adding 'usrquota,grpquota' to the options in /etc/fstab make the
fs umountable, guess for luck of support for such options.


Thanks nIc
______________________________

Nicola Pedrozzi
IT Manager
Oval engineering sagl
Via Daro 6a
CH-6500 Bellinzona

nikita@oval.ch
nikita@swissgalaxy.ch
Tel: +41 91 825 42 85
Fax: +41 91 826 12 34

http://www.oval.ch
http://www.immogalaxy.ch

Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #6 (permalink)  
Old 02-19-2008, 01:40 PM
Nicola Pedrozzi
 
Posts: n/a
Default Re: Slack 10, reiserfs and quota ????

> Have you googled at all? A basic search for "reiserfs quota" tells me
> you have to have a patched kernel to make reiserfs quota friendly. Have
> yo tried to find a kernel patch? (Note that may no longer be
> neccesary).


Of course I did googled ..., I know there are patches for older kernel
on the SUSE ftp site, but these are for older kernel (2.4.25 or .21 was
the newest I found).


>>In fact I could NOT find any real hint about reiserfs with
>>quota on slack10.

>
>
> Where did you look?


I checked man pages, /usr/doc, slack site and groups.


>>I can't believe Patrick choosed ReiserFS as default fs without
>>creating the built-in ability to impose quotas.

>
>
> Why not? Journaling is a big deal to a lot of people. User quoatas
> aren't.
>
>
>>In fact slack
>>is meant to be a rock-solid server environment, right?


OK, rock-solid server, desktop, notebook environment... ;^)


> Typical mistake. Some one that's been using Slackware as his
> distribution of choice since 1993 would know better. Slackware is meant
> to be a stable, easy-to-use GNU/Linux OS. It is not focused on any
> particular role such as server or desktop.


Don't want to make it a story... but, this is an extract from the
official announcement of slack 10, from Patrick:

-> From the beginning, Slackware has offered a stable and secure Linux
-> distribution for UNIX veterans as well as an easy-to-use system for
-> beginners. Slackware includes everything you'll need to run a
-> powerful server or workstation. <-


to me, a powerful server, means a system with all the necessary
elementary tools for a server and quota is as such (at least for me)


> What version of Slackware did you start with anyhow?
>


Ughh, I don't remember Slackware version (??), but it was kernel 0.99.?,
life was much harder than today ... ;^)



Thanks anyway,
nIc
______________________________

Nicola Pedrozzi
IT Manager
Oval engineering sagl
Via Daro 6a
CH-6500 Bellinzona

nikita@oval.ch
nikita@swissgalaxy.ch
Tel: +41 91 825 42 85
Fax: +41 91 826 12 34

http://www.oval.ch
http://www.immogalaxy.ch

Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #7 (permalink)  
Old 02-19-2008, 01:40 PM
+Alan Hicks+
 
Posts: n/a
Default Re: Slack 10, reiserfs and quota ????

-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

In alt.os.linux.slackware, Nicola Pedrozzi dared to utter,
> to me, a powerful server, means a system with all the necessary
> elementary tools for a server and quota is as such (at least for me)


Doesn't Slackware ship with quota? Just because it defaults to
resiserfs doesn't mean reiserfs is best for what you want to do. If
you're going to use quota, it's your reponsibility to ensure that
quotas work with your filesystem.

It's my understanding that quoatas work with reiserfs in the 2.6
kernel.

- --
It is better to hear the rebuke of the wise,
Than for a man to hear the song of fools.
Ecclesiastes 7:5
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.1 (GNU/Linux)

iD8DBQFBG8s/lKR45I6cfKARAp/RAJ0SKXRQ9lks1veujfBgVMqmg5ejHgCeOVbi
3HXsHpz6ZGlbnByu2KTuhIw=
=rFHJ
-----END PGP SIGNATURE-----
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #8 (permalink)  
Old 02-19-2008, 01:51 PM
Nicola Pedrozzi
 
Posts: n/a
Default Re: Slack 10, reiserfs and quota ???? SOLUTION

Hello everybody,
I managed to have quota on slack 10 with reiserfs.

The solution:

.. download all the patches found in

ftp://ftp.suse.com/pub/people/mason/...logging/2.4.25

they are supposed to work both for 2.4.26 and 2.4.27; for me, they
didn't work on 2.4.26, there were some compiling errors, so I gave up
and

.. downloaded kernel 2.4.27

.. patch the kernel with the above patches

.. compile/install/modules/initrd/reboot

.. now I have quota, I hope it will be stable enough.


Cheers,
Bye nIc
______________________________

Nicola Pedrozzi
IT Manager
Oval engineering sagl
Via Daro 6a
CH-6500 Bellinzona

nikita@oval.ch
nikita@swissgalaxy.ch
Tel: +41 91 825 42 85
Fax: +41 91 826 12 34

http://www.oval.ch
http://www.immogalaxy.ch

Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #9 (permalink)  
Old 02-19-2008, 01:51 PM
+Alan Hicks+
 
Posts: n/a
Default Re: Slack 10, reiserfs and quota ???? SOLUTION

-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

In alt.os.linux.slackware, Nicola Pedrozzi dared to utter,
> I managed to have quota on slack 10 with reiserfs.


Most excellent work. Good job, and thanks for the mini-HOWTO.

- --
It is better to hear the rebuke of the wise,
Than for a man to hear the song of fools.
Ecclesiastes 7:5
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.1 (GNU/Linux)

iD8DBQFBI4+blKR45I6cfKARAr00AJ9lfOosY3CyqX0RNMkncM HaJbCZvQCfU/L0
m2OzI8tCkQPS1LYfBuOz2Uk=
=Uy14
-----END PGP SIGNATURE-----
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Reply


Thread Tools
Display Modes

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

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On
Forum Jump


All times are GMT. The time now is 01:52 AM.


Powered by vBulletin® Version 3.6.5
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
SEO by vBSEO 3.2.0
www.UnixAdminTalk.com