Jump to content

Quota format not supported in kernel


kristofejro

Recommended Posts

I would like to ask you for help with quotaon.service.

I am struggling with it on my nanopi neo2 with armbian.

● quotaon.service - Enable File System Quotas
   Loaded: loaded (/lib/systemd/system/quotaon.service; static; vendor preset: enabled)
   Active: failed (Result: exit-code) since Tue 2020-03-17 20:00:48 CET; 59min ago
     Docs: man:quotaon(8)
  Process: 425 ExecStart=/sbin/quotaon -aug (code=exited, status=4)
 Main PID: 425 (code=exited, status=4)

Mar 17 20:00:48 openmediavault quotaon[425]: quotaon: Quota format not supported in kernel.
Mar 17 20:00:48 openmediavault quotaon[425]: quotaon: using /srv/dev-disk-by-label-HGST7K10001TB/aquota.user on /dev/sda1 [/srv/dev-disk-by-label-HGST7K1
Mar 17 20:00:48 openmediavault quotaon[425]: quotaon: Quota format not supported in kernel.
Mar 17 20:00:48 openmediavault quotaon[425]: quotaon: using /srv/dev-disk-by-label-2TBWDRED/aquota.group on /dev/sdb1 [/srv/dev-disk-by-label-2TBWDRED]:
Mar 17 20:00:48 openmediavault quotaon[425]: quotaon: Quota format not supported in kernel.
Mar 17 20:00:48 openmediavault quotaon[425]: quotaon: using /srv/dev-disk-by-label-2TBWDRED/aquota.user on /dev/sdb1 [/srv/dev-disk-by-label-2TBWDRED]: N
Mar 17 20:00:48 openmediavault quotaon[425]: quotaon: Quota format not supported in kernel.
Mar 17 20:00:48 openmediavault systemd[1]: quotaon.service: Main process exited, code=exited, status=4/NOPERMISSION
Mar 17 20:00:48 openmediavault systemd[1]: quotaon.service: Failed with result 'exit-code'.
Mar 17 20:00:48 openmediavault systemd[1]: Failed to start Enable File System Quotas.

I am on:

Linux openmediavault 4.19.63-sunxi64 #5.92 SMP Fri Aug 2 00:18:27 CEST 2019 aarch64 GNU/Linux

Distributor ID: Debian
Description:    Debian GNU/Linux 10 (buster)
Release:        10
Codename:       buster

What can be wrong? It used to work just fine. One important thing to add - this machine is dedicated to OpenMediaVault 5.3.8-1 (Usul)

 

Thanks for any help.

Link to comment
Share on other sites

1 hour ago, kristofejro said:

Linux openmediavault 4.19.63-sunxi64


Is not armbian, but was most likely build with our tools.

Anyway, if you need some support in kernel - check similar post with explanation what to do: 

 

Link to comment
Share on other sites

As far as for us the only thing missing I noticed so far is quota for XFS which should not matter I guess? Normal quota support is there.

As stated above, complain either where you get the image or recreate your own image with adjusted kernel config ^_^

Link to comment
Share on other sites

I have just performed fresh install of image from https://dl.armbian.com/nanopineo2/Buster_current

and installed OMV with wget -O - https://github.com/OpenMediaVault-Plugin-Developers/installScript/raw/master/install | sudo bash

 

uname -a
Linux openmediavault 5.4.20-sunxi64 #20.02.1 SMP Mon Feb 17 02:37:37 CET 2020 aarch64 GNU/Linux

 

So I assume the kernel from you guys.

"complain either where you get the image" :-)

 

● quotaon.service - Enable File System Quotas
   Loaded: loaded (/lib/systemd/system/quotaon.service; static; vendor preset: enabled)
   Active: failed (Result: exit-code) since Wed 2020-03-18 13:39:52 CET; 45min ago
     Docs: man:quotaon(8)
  Process: 1004 ExecStart=/sbin/quotaon -aug (code=exited, status=4)
 Main PID: 1004 (code=exited, status=4)

Mar 18 13:39:52 openmediavault quotaon[1004]: quotaon: Quota format not supported in kernel.
Mar 18 13:39:52 openmediavault quotaon[1004]: quotaon: using /srv/dev-disk-by-label-HGST7K10001TB/aquota.user on /dev/sda1 [/srv/dev-disk-by-label-HGST7K
Mar 18 13:39:52 openmediavault quotaon[1004]: quotaon: Quota format not supported in kernel.
Mar 18 13:39:52 openmediavault quotaon[1004]: quotaon: using /srv/dev-disk-by-label-2TBWDRED/aquota.group on /dev/sdb1 [/srv/dev-disk-by-label-2TBWDRED]:
Mar 18 13:39:52 openmediavault quotaon[1004]: quotaon: Quota format not supported in kernel.
Mar 18 13:39:52 openmediavault quotaon[1004]: quotaon: using /srv/dev-disk-by-label-2TBWDRED/aquota.user on /dev/sdb1 [/srv/dev-disk-by-label-2TBWDRED]:
Mar 18 13:39:52 openmediavault quotaon[1004]: quotaon: Quota format not supported in kernel.
Mar 18 13:39:52 openmediavault systemd[1]: quotaon.service: Main process exited, code=exited, status=4/NOPERMISSION
Mar 18 13:39:52 openmediavault systemd[1]: quotaon.service: Failed with result 'exit-code'.
Mar 18 13:39:52 openmediavault systemd[1]: Failed to start Enable File System Quotas.

 

Maybe I am doing something wrong? What is wrong with that service?

Please help.

Link to comment
Share on other sites

Try to modprobe the modules quota_v1 and quota_v2 manually.

 

Try to add them to autoload at boot

echo quota_v1 >> /etc/modules
echo quota_v2 >> /etc/modules
reboot now

 

 

The only thing that is missing in the kernel config is QUOTA_TREE but no idea what this is for since there is not help text available....

Link to comment
Share on other sites

I have added these two modules as you advised.

But after the restart

lsmod | grep -i quota

result is empty and service in the same state.

 

Maybe something from OMV installation is messing? But how to find what is the problem?

 

Link to comment
Share on other sites

3 hours ago, kristofejro said:

complain either where you get the image


Kernel is still a community work ;) We will help with clues and ideas, but ultimately its on you to do the research and find out why you are experienced those trobles. Perhaps folks at OMV are more familiar with this problem. I would say Quota must work, but it has been decades since I last used this feature ... 

Link to comment
Share on other sites

I am reasearching all the time :)

But I am just an amateur and you guys are pros.

I have found out that on other operating systems I have these modules

 

Ubuntu:

ls -l /lib/modules/4.15.0-91-generic/kernel/fs/quota/

-rw-r--r-- 1 root root 19409 Feb 28 11:45 quota_tree.ko
-rw-r--r-- 1 root root  9769 Feb 28 11:45 quota_v1.ko
-rw-r--r-- 1 root root 14065 Feb 28 11:45 quota_v2.ko

Raspbian:

ls -l /lib/modules/4.19.97-v8+/kernel/fs/quota/

-rw-r--r-- 1 root root 22984 Feb  3 13:50 quota_tree.ko
-rw-r--r-- 1 root root 11760 Feb  3 13:50 quota_v1.ko
-rw-r--r-- 1 root root 16712 Feb  3 13:50 quota_v2.ko

Armbian missing:

ls -l /lib/modules/5.4.20-sunxi64/kernel/fs/

drwxr-xr-x 2 root root 4096 Feb 17 11:55 cachefiles
drwxr-xr-x 2 root root 4096 Feb 17 11:55 ceph
drwxr-xr-x 2 root root 4096 Feb 17 11:55 cifs
drwxr-xr-x 2 root root 4096 Feb 17 11:55 ecryptfs
drwxr-xr-x 2 root root 4096 Feb 17 11:55 fscache
drwxr-xr-x 2 root root 4096 Feb 17 11:55 fuse
drwxr-xr-x 2 root root 4096 Feb 17 11:55 isofs
drwxr-xr-x 4 root root 4096 Feb 17 11:55 nfs
drwxr-xr-x 2 root root 4096 Feb 17 11:55 nls
drwxr-xr-x 2 root root 4096 Feb 17 11:55 ntfs
drwxr-xr-x 2 root root 4096 Feb 17 11:55 overlayfs
drwxr-xr-x 2 root root 4096 Feb 17 11:55 udf
drwxr-xr-x 2 root root 4096 Feb 17 11:55 xfs

 

I have also checked if it is in Armbian_20.02.1_Nanopineo2_buster_current_5.4.20.img

But there is no such module.

Should it be like taht?

 

quota_module_missing.PNG

Link to comment
Share on other sites

Missing module is good since we have it build into the kernel. Perhaps it has to be as a module?

linux-sunxi64-current.config:CONFIG_QUOTA=y

 

7 minutes ago, kristofejro said:

But I am just an amateur and you guys are pros.


That's a very common, but very wrong assumption. Nobody knows everything - we need to invest our personal time to solve troubles. Sometimes we will find them faster than you, sometimes not.

Until you don't pay us, we are amateurs.

Link to comment
Share on other sites

Aight, got it.

The value is name CONFIG_QFMT_V2 and CONFIG_QFMT_V1 which are not set.

 

I'll try to see if it throws errors at build and if not I push a new config which will include both modules.

 

And no. I am an amateur just like most users here ;)

 

 

Edit: Pushed

Link to comment
Share on other sites

You have quite a bunch of options:

a) Wait for a new official stable build which will be in a few month

b) Check back tomorrow at the download page if there is a nightly image for your board available and get it

c) Use the build script from github and create your own image from scratch with the recent changes immediately.

Spoiler

d) Wait about half an  hour and check back here and I may provide you a premade image here :P

https://laet.pw/index.php/s/M2eXJKll5sdnlBN/download?path=%2FMär18&files=Armbian_20.05.0-trunk_Nanopineo2_buster_current_5.4.25.img.gz

Link to comment
Share on other sites

Guest
This topic is now closed to further replies.
×
×
  • Create New...

Important Information

Terms of Use - Privacy Policy - Guidelines