LinuxQuestions.org
Visit Jeremy's Blog.
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 03-16-2024, 10:10 AM   #1
teoberi
Member
 
Registered: Jan 2018
Location: Romania
Distribution: Slackware64-current (servers)/Windows 11/Ubuntu (workstations)
Posts: 607

Rep: Reputation: 350Reputation: 350Reputation: 350Reputation: 350
Deprecation Warning for Quota (enable quota feature)


Code:
quotaon -v /home
Quote:
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. You can enable the feature by unmounting the file system and running 'tune2fs -O quota <device>'.
The same message appears at boot (at the execution of rc.M).
Detailed information for fixing here and here.
Tested on Slackware64-current:
1. turning file system quotas off
2. move the files aquota.user (aquota.group) to /tmp
3. execute the procedure from the second link
It works, but it conflicts a bit with the section
Quote:
# Slackware-Mini-Quota-HOWTO:
from /etc/rc.d/rc.M because quotacheck will generate an error message.
Another problem would be the fact that it checks if the mounting options are set (grep -q quota /etc/fstab), so they must remain, although in this case they are ignored.
Quote from ext4 man page:
Quote:
usrjquota=aquota.user|grpjquota=aquota.group
For journaled quotas (jqfmt=vfsv0 or jqfmt=vfsv1), the
mount options usrjquota=aquota.user and
grpjquota=aquota.group are required to tell the quota
system which quota database files to use. When the quota
file system feature is enabled, journaled quotas are used
automatically, and this mount option is ignored.

Last edited by teoberi; 03-17-2024 at 10:46 AM.
 
Old 03-17-2024, 03:01 AM   #2
hazel
LQ Guru
 
Registered: Mar 2016
Location: Harrow, UK
Distribution: LFS, AntiX, Slackware
Posts: 7,575
Blog Entries: 19

Rep: Reputation: 4453Reputation: 4453Reputation: 4453Reputation: 4453Reputation: 4453Reputation: 4453Reputation: 4453Reputation: 4453Reputation: 4453Reputation: 4453Reputation: 4453
See also https://www.linuxquestions.org/quest...as-4175685865/.
 
Old 03-17-2024, 05:14 AM   #3
teoberi
Member
 
Registered: Jan 2018
Location: Romania
Distribution: Slackware64-current (servers)/Windows 11/Ubuntu (workstations)
Posts: 607

Original Poster
Rep: Reputation: 350Reputation: 350Reputation: 350Reputation: 350
Quote:
Originally Posted by hazel View Post
See, I wrote this.
 
Old 03-17-2024, 05:22 AM   #4
teoberi
Member
 
Registered: Jan 2018
Location: Romania
Distribution: Slackware64-current (servers)/Windows 11/Ubuntu (workstations)
Posts: 607

Original Poster
Rep: Reputation: 350Reputation: 350Reputation: 350Reputation: 350
Until our BDFL makes a decision (if it thinks it is the case) I will not touch rc.M, but I will delete the mount options from /etc/fstab and add if blocks to enable and disable quota in /etc/rc.local and /etc/rc.local_shutdown
 
Old 03-20-2024, 05:19 AM   #5
teoberi
Member
 
Registered: Jan 2018
Location: Romania
Distribution: Slackware64-current (servers)/Windows 11/Ubuntu (workstations)
Posts: 607

Original Poster
Rep: Reputation: 350Reputation: 350Reputation: 350Reputation: 350
Some information to substantiate the option regarding the quota feature!
https://opensource.com/article/18/4/ext4-filesystem
Quote:
First-class quota support
Wait, quotas?! We've had those since the ext2 days! Yes, but they've always been an afterthought, and they've always kinda sucked. It's probably not worth going into the hairy details here, but the design document lays out the ways quotas will be moved from userspace into the kernel and more correctly and performantly enforced.
https://ext4.wiki.kernel.org/index.p..._Quota_in_Ext4
The document is interesting both for the technical explanations and the FAQ part.
 
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
LXer: How to Resolve the Apt-Key Deprecation Warning When Updating a System LXer Syndicated Linux News 0 05-02-2023 03:04 AM
Dovecot, quota-warning script not firing when the quota levels are crossed. tedeasydns Linux - Software 6 08-14-2019 12:10 PM
First boot sequence freezes with several deprecation warnings. linuxguy0102 Linux - Newbie 4 07-19-2006 02:05 PM
Password Encryption After MD5 Deprecation ombill Fedora 1 08-22-2005 05:16 PM
gcc feature deprecation question itsme86 Programming 3 07-09-2004 03:33 PM

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

All times are GMT -5. The time now is 09:15 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