Problem with quotaon

Have you discovered a bug? Tell us about it.
Post Reply
fatontonni123
Posts: 26
Joined: Sun 29. Dec 2024, 13:53

Problem with quotaon

Post by fatontonni123 »

Problem with quotaon

I'm sure the cause of the problem is within KeyHelp
(I think so.)


Server operating system + version
( Debian 13.2 )


Server virtualization technology used
(KVM)


KeyHelp version + build number
(25.2 (Build 3483))


Problem description / error messages

Code: Select all

quotaon -a
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>'.
quotaon: cannot find //quota.group on /dev/sda2 [/]
quotaon: cannot find //quota.user on /dev/sda2 [/]
User avatar
Tobi
Community Moderator
Posts: 3474
Joined: Thu 5. Jan 2017, 13:24

Re: Problem with quotaon

Post by Tobi »

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

Code: Select all


tune2fs -O quota <device>

Gruß,
Tobi


-----------------------------
wewoco.de
Das Forum für Reseller, Digital-Agenturen, Bildschirmarbeiter und Mäuseschubser
fatontonni123
Posts: 26
Joined: Sun 29. Dec 2024, 13:53

Re: Problem with quotaon

Post by fatontonni123 »

Tobi wrote: Sun 23. Nov 2025, 14:23 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

Code: Select all


tune2fs -O quota <device>

Code: Select all

tune2fs -O quota /dev/sda2
tune2fs 1.47.2 (1-Jan-2025)
The quota feature may only be changed when the filesystem is unmounted and not in use.
not work
User avatar
Jolinar
Community Moderator
Posts: 4209
Joined: Sat 30. Jan 2016, 07:11
Location: Weimar (Thüringen)
Contact:

Re: Problem with quotaon

Post by Jolinar »

Please read and understand your error messages:
The quota feature may only be changed when the filesystem is unmounted and not in use.

To fix this, unmount the partition first and run:

Code: Select all

tune2fs -O quota /dev/sda2

Then remount with quota options and activate quotas using:

Code: Select all

quotaon -vaugP
This enables ext4's native quota feature and resolves the issue. If the root partition is involved, use rescue mode to apply changes.
Wenn jemand inkompetent ist, dann kann er nicht wissen, daß er inkompetent ist. (David Dunning)

Data Collector für Community Support
___
Ich verwende zwei verschiedene Schriftfarben in meinen Beiträgen /
I use two different font colors in my posts:
  • In dieser Farbe schreibe ich als Moderator und gebe moderative Hinweise oder begründe moderative Eingriffe /
    In this color, I write as a moderator and provide moderative guidance or justify moderative interventions
  • In dieser Farbe schreibe ich als Community Mitglied und teile meine private Meinung und persönlichen Ansichten mit /
    In this color, I write as a community member and share my personal opinions and views
Post Reply