Skip to contentSkip to conversation

Need Quota Support for Reiserfs Partition

DISCUSSION Bobby Hitt 4 participants 4 messages Dec 15, 2003 – Dec 16, 2003

lore
Share & tools
lore

Bobby Hitt

author
#0 lore raw

Hello,

I'm using Slackware Linux with kernel version 2.6.0-test11. All of my partitions are Rieserfs. I now have a need to use quotas on a partition, but according to the help screen using "make menuconfig" quotas are only available under the ext2 file systems. Is there a patch to allow quotas under rieserfs? One of my searches said that Reiserfs and quotas were supported under 2.6.0, but when I try and mount the partition with this line in /etc/fstab:

/dev/hde2 /downloads reiserfs defaults,usrquota,grpquota 1 2

I get this error:

mount: wrong fs type, bad option, bad superblock on /dev/hde2,
or too many mounted file systems

If I take the usrquota,grpquota off, the mount works fine.

TIA,

Bobby

#1 lore raw

Hi,

Quoted 10 lines

I'm using Slackware Linux with kernel version 2.6.0-test11. All of my partitions are Rieserfs. I now have a need to use quotas on a partition, but according to the help screen using "make menuconfig" quotas are only available under the ext2 file systems. Is there a patch to allow quotas under rieserfs? One of my searches said that Reiserfs and quotas were supported under 2.6.0, but when I try and mount the partition with this line in /etc/fstab:

/dev/hde2 /downloads reiserfs defaults,usrquota,grpquota 1 2

Quoted 7 lines

I get this error:

mount: wrong fs type, bad option, bad superblock on /dev/hde2,
or too many mounted file systems

If I take the usrquota,grpquota off, the mount works fine.

AFAIK ReiserFS doesn't support quotas in 2.6 kernel. Chris Mason
<[email protected]> maintains needed patches for 2.4 and is working on porting them to 2.6 but they are not yet ported.

Honza

Signature · 2 lines
Jan Kara <[email protected]>
SuSE CR Labs
#2 lore raw

Jan,

do you know if quotas are working with ext3 FS ?
I'm using kernel 2.6.0test9 and quota-3.09-1
and I can't turn them on,
quotaon command returns:
quotaon: using /users/aquota.user on /dev/sdc2 [/users]: No such process
quotaon: Quota format not supported in kernel.
...
many thanks,

Quoted 34 lines · Jan Kara

Hi,

Quoted 10 lines

I'm using Slackware Linux with kernel version 2.6.0-test11. All of my partitions are Rieserfs. I now have a need to use quotas on a partition, but according to the help screen using "make menuconfig" quotas are only available under the ext2 file systems. Is there a patch to allow quotas under rieserfs? One of my searches said that Reiserfs and quotas were supported under 2.6.0, but when I try and mount the partition with this line in /etc/fstab:

/dev/hde2 /downloads reiserfs defaults,usrquota,grpquota 1 2

Quoted 7 lines

I get this error:

mount: wrong fs type, bad option, bad superblock on /dev/hde2,
or too many mounted file systems

If I take the usrquota,grpquota off, the mount works fine.

AFAIK ReiserFS doesn't support quotas in 2.6 kernel. Chris Mason
<[email protected]> maintains needed patches for 2.4 and is working on porting them to 2.6 but they are not yet ported.

Honza

--
Jan Kara <[email protected]>
SuSE CR Labs
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to [email protected]
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/

Signature · 2 lines
 Jacky Malcles    	     B1-173   Email : [email protected]
 Tel : 04.76.29.73.14
#3 lore raw
Quoted 2 lines · Jacky Malcles

do you know if quotas are working with ext3 FS ?

Yes, they work, I have just tested it over a LV block-device.

Quoted 2 lines

I'm using kernel 2.6.0test9 and quota-3.09-1

kernel version 2.6.0-test10-mm1 and 3.09-3 (Debian Sid) here.

Quoted 2 lines

and I can't turn them on,

Did you mount the filesystem with "-o usrquota,grpquota" ?. Do you compiled support for generic quotas and for the quota version (V2) you seem to be using (module quota_v2) ?.

Greetings.

Signature · 2 lines
Jose Luis Domingo Lopez
Linux Registered User #189436     Debian Linux Sid (Linux 2.6.0-test10-mm1)