LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware
User Name
Password
Slackware This Forum is for the discussion of Slackware Linux.

Notices


Reply
  Search this Thread
Old 11-26-2020, 08:54 PM   #1
Nobby6
Member
 
Registered: Jul 2012
Location: Sunshine Coast, Australia
Distribution: Slackware 64
Posts: 237
Blog Entries: 1

Rep: Reputation: 212Reputation: 212Reputation: 212
ext4 quotas


So, anyone got any pointers to WTF the ext4 quota features are?

My google fu since to be failing, either that or I need to s/coffee/alcohol/ and come back next week


quotaon: Your kernel probably supports ext4 quota feature but you are using external quota files. Please switch your filesystem to use ext4 quota feature as
external quota files on ext4 are deprecated.


Also I see this
quotaon: Cannot stat() mounted device /dev/root: No such file or directory

...kinda funny since without /dev/sda1 aka /dev/root, the system wouldn't be there
 
Old 11-27-2020, 12:51 AM   #2
Alien Bob
Slackware Contributor
 
Registered: Sep 2005
Location: Eindhoven, The Netherlands
Distribution: Slackware
Posts: 8,559

Rep: Reputation: 8106Reputation: 8106Reputation: 8106Reputation: 8106Reputation: 8106Reputation: 8106Reputation: 8106Reputation: 8106Reputation: 8106Reputation: 8106Reputation: 8106
Quote:
Originally Posted by Nobby6 View Post
So, anyone got any pointers to WTF the ext4 quota features are?

My google fu since to be failing
Really. The very first search hit told me all there was to know about it: https://www.google.com/search?q=ext4...&oq=ext4+quota
 
Old 11-28-2020, 06:46 AM   #3
Nobby6
Member
 
Registered: Jul 2012
Location: Sunshine Coast, Australia
Distribution: Slackware 64
Posts: 237

Original Poster
Blog Entries: 1

Rep: Reputation: 212Reputation: 212Reputation: 212
Quote:
Originally Posted by Alien Bob View Post
Really. The very first search hit told me all there was to know about it: https://www.google.com/search?q=ext4...&oq=ext4+quota
if you are referencing this instruction " /dev/sda3 /home ext4 defaults,usrquota 0 2 "

THAT is what is giving the error,

/dev/sda5 /var/www ext4 defaults,usrquota 1 2

using that or even the old journalled quotas all result in the warning.
defaults,usrjquota=aquota.user,jqfmt=vfsv0(1) etc, same warning. journalled quotas are deprecated on ext4

Last edited by Nobby6; 11-28-2020 at 06:47 AM.
 
Old 12-04-2020, 04:05 AM   #4
teoberi
Member
 
Registered: Jan 2018
Location: Romania
Distribution: Slackware64-current (servers)/Windows 11/Ubuntu (workstations)
Posts: 608

Rep: Reputation: 351Reputation: 351Reputation: 351Reputation: 351
I found some information:
https://fossies.org/linux/misc/quota...4.06/Changelog -> Changes in quota-tools from 4.05 to 4.06 -> quotacheck,quotaon: Suggest using quota feature for ext4 (Jan Kara)
https://fossies.org/diffs/quota/4.05...on.c-diff.html
Quote:
Your kernel probably supports ext4 quota feature but you are using external quota files.
Quota Kernel Module seems to be OK!
Code:
find /lib/modules/`uname -r` -type f -name '*quota_v*.ko*'
Quote:
/lib/modules/5.4.81/kernel/fs/quota/quota_v1.ko
/lib/modules/5.4.81/kernel/fs/quota/quota_v2.ko
Quote:
Please switch your filesystem to use ext4 quota feature as external quota files on ext4 are deprecated.
I still haven't found the solution here!
https://ext4.wiki.kernel.org/index.php/Quota
send me to e2fsprogs
https://sourceforge.net/projects/e2f...progs/v1.42.7/
where I find
Quote:
If e2fsprogs is compiled without --enable-quota, make sure that
tune2fs can not turn on the feature for new-style quota support, since
afterwards, none of the e2fsprogs tools will be willing to touch that
file system.
and the Slackware e2fsprogs-1.45.6-x86_64-2 package is compiled without the --enable-quota option.
http://slackware.osuosl.org/slackwar...ogs.SlackBuild
If I try to compile with that option I get it:
Quote:
configure: WARNING: unrecognized options: --enable-quota

Last edited by teoberi; 12-05-2020 at 05:02 AM.
 
Old 03-16-2024, 10:12 AM   #5
teoberi
Member
 
Registered: Jan 2018
Location: Romania
Distribution: Slackware64-current (servers)/Windows 11/Ubuntu (workstations)
Posts: 608

Rep: Reputation: 351Reputation: 351Reputation: 351Reputation: 351
Quote:
Originally Posted by teoberi View Post
I found some information:
https://fossies.org/linux/misc/quota...4.06/Changelog -> Changes in quota-tools from 4.05 to 4.06 -> quotacheck,quotaon: Suggest using quota feature for ext4 (Jan Kara)
https://fossies.org/diffs/quota/4.05...on.c-diff.html

Quota Kernel Module seems to be OK!
Code:
find /lib/modules/`uname -r` -type f -name '*quota_v*.ko*'

I still haven't found the solution here!
https://ext4.wiki.kernel.org/index.php/Quota
send me to e2fsprogs
https://sourceforge.net/projects/e2f...progs/v1.42.7/
where I find

and the Slackware e2fsprogs-1.45.6-x86_64-2 package is compiled without the --enable-quota option.
http://slackware.osuosl.org/slackwar...ogs.SlackBuild
If I try to compile with that option I get it:
Quote:
configure: WARNING: unrecognized options: --enable-quota
The information about compiling e2fsprogs with the
Quote:
--enable quota
option is a bit confusing.
Solution for quota feature here.
 
1 members found this post helpful.
  


Reply



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

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
How to change file system from ext4 journeying to ext4 writeback ? 5883 Linux - Newbie 6 03-10-2014 08:04 AM
Create an ext4 file system and disk quotas. blertadhimitri Linux - Newbie 3 01-19-2013 09:15 AM
modprobe: Module ext4 not found. no dependencies for kernel module 'ext4' found Aquarius_Girl Linux - Newbie 6 01-25-2012 05:07 AM
Disk Quotas not giving warning in ext4 filesystem of CentOS 6.0 32 Bit vikas027 Linux - Server 2 01-01-2012 01:05 AM
Is it safe to format USB flash to ext4 or ext4? joham34 Linux - Newbie 2 01-08-2011 11:58 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware

All times are GMT -5. The time now is 08:23 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration