How to get the quota kernel modules on the AWS kernel?
![Creative The name of the picture](https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgO9GURib1T8z7lCwjOGLQaGtrueEthgQ8LO42ZX8cOfTqDK4jvDDpKkLFwf2J49kYCMNW7d4ABih_XCb_2UXdq5fPJDkoyg7-8g_YfRUot-XnaXkNYycsNp7lA5_TW9td0FFpLQ2APzKcZ/s1600/1.jpg)
![Creative The name of the picture](https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhYQ0N5W1qAOxLP7t7iOM6O6AzbZnkXUy16s7P_CWfOb5UbTQY_aDsc727chyphenhyphen5W4IppVNernMMQeaUFTB_rFzAd95_CDt-tnwN-nBx6JyUp2duGjPaL5-VgNO41AVsA_vu30EJcipdDG409/s400/Clash+Royale+CLAN+TAG%2523URR8PPP.png)
up vote
1
down vote
favorite
I can't seem to be able to install the quota modules for the Ubuntu 16.04 AWS kernel. I've started the official cloud image (ami-e5d9439a
from Ubuntu's Cloud Images site). Checking for the kernel modules shows that they're not installed:
ubuntu@ip-10-0-0-78:~$ modprobe quota_v1
modprobe: FATAL: Module quota_v1 not found in directory /lib/modules/4.4.0-1060-aws
ubuntu@ip-10-0-0-78:~$ modprobe quota_v2
modprobe: FATAL: Module quota_v2 not found in directory /lib/modules/4.4.0-1060-aws
The normal trick to get the quota modules is to install the linux-image-extra package for your kernel, but that doesn't exist for this one:
ubuntu@ip-10-0-0-78:~$ sudo apt-get update
...
ubuntu@ip-10-0-0-78:~$ sudo apt-get -y install linux-image-extra-`uname -r`
Reading package lists... Done
Building dependency tree
Reading state information... Done
E: Unable to locate package linux-image-extra-4.4.0-1060-aws
E: Couldn't find any package by glob 'linux-image-extra-4.4.0-1060-aws'
E: Couldn't find any package by regex 'linux-image-extra-4.4.0-1060-aws'
Installing the linux-image-extra-virtual
doesn't help, of course, because everything it installs is for the wrong kernel version:
ubuntu@ip-10-0-0-78:~$ sudo apt-get install linux-image-extra-virtual
Reading package lists... Done
Building dependency tree
Reading state information... Done
The following additional packages will be installed:
amd64-microcode crda intel-microcode iucode-tool iw libnl-3-200 libnl-genl-3-200 linux-firmware linux-image-4.4.0-127-generic
linux-image-extra-4.4.0-127-generic linux-image-generic thermald wireless-regdb
Suggested packages:
fdutils linux-doc-4.4.0 | linux-source-4.4.0 linux-tools linux-headers-4.4.0-127-generic
The following NEW packages will be installed:
amd64-microcode crda intel-microcode iucode-tool iw libnl-3-200 libnl-genl-3-200 linux-firmware linux-image-4.4.0-127-generic
linux-image-extra-4.4.0-127-generic linux-image-extra-virtual linux-image-generic thermald wireless-regdb
0 upgraded, 14 newly installed, 0 to remove and 0 not upgraded.
Need to get 110 MB of archives.
After this operation, 456 MB of additional disk space will be used.
Do you want to continue? [Y/n] yes
Get:1 http://us-east-1.ec2.archive.ubuntu.com/ubuntu xenial-updates/main amd64 libnl-3-200 amd64 3.2.27-1ubuntu0.16.04.1 [52.2 kB]
...
ubuntu@ip-10-0-0-78:~$ sudo reboot
...
ubuntu@ip-10-0-0-78:~$ uname -a
Linux ip-10-0-0-78 4.4.0-1060-aws #69-Ubuntu SMP Sun May 20 13:42:07 UTC 2018 x86_64 x86_64 x86_64 GNU/Linux
ubuntu@ip-10-0-0-78:~$ modprobe quota_v1
modprobe: FATAL: Module quota_v1 not found in directory /lib/modules/4.4.0-1060-aws
ubuntu@ip-10-0-0-78:~$ modprobe quota_v2
modprobe: FATAL: Module quota_v2 not found in directory /lib/modules/4.4.0-1060-aws
Is there a package I can install to get the quota kernel modules? Or do I have to build them myself if I want disk quotas on an AWS machine?
apt kernel amazon-ec2 quota
add a comment |Â
up vote
1
down vote
favorite
I can't seem to be able to install the quota modules for the Ubuntu 16.04 AWS kernel. I've started the official cloud image (ami-e5d9439a
from Ubuntu's Cloud Images site). Checking for the kernel modules shows that they're not installed:
ubuntu@ip-10-0-0-78:~$ modprobe quota_v1
modprobe: FATAL: Module quota_v1 not found in directory /lib/modules/4.4.0-1060-aws
ubuntu@ip-10-0-0-78:~$ modprobe quota_v2
modprobe: FATAL: Module quota_v2 not found in directory /lib/modules/4.4.0-1060-aws
The normal trick to get the quota modules is to install the linux-image-extra package for your kernel, but that doesn't exist for this one:
ubuntu@ip-10-0-0-78:~$ sudo apt-get update
...
ubuntu@ip-10-0-0-78:~$ sudo apt-get -y install linux-image-extra-`uname -r`
Reading package lists... Done
Building dependency tree
Reading state information... Done
E: Unable to locate package linux-image-extra-4.4.0-1060-aws
E: Couldn't find any package by glob 'linux-image-extra-4.4.0-1060-aws'
E: Couldn't find any package by regex 'linux-image-extra-4.4.0-1060-aws'
Installing the linux-image-extra-virtual
doesn't help, of course, because everything it installs is for the wrong kernel version:
ubuntu@ip-10-0-0-78:~$ sudo apt-get install linux-image-extra-virtual
Reading package lists... Done
Building dependency tree
Reading state information... Done
The following additional packages will be installed:
amd64-microcode crda intel-microcode iucode-tool iw libnl-3-200 libnl-genl-3-200 linux-firmware linux-image-4.4.0-127-generic
linux-image-extra-4.4.0-127-generic linux-image-generic thermald wireless-regdb
Suggested packages:
fdutils linux-doc-4.4.0 | linux-source-4.4.0 linux-tools linux-headers-4.4.0-127-generic
The following NEW packages will be installed:
amd64-microcode crda intel-microcode iucode-tool iw libnl-3-200 libnl-genl-3-200 linux-firmware linux-image-4.4.0-127-generic
linux-image-extra-4.4.0-127-generic linux-image-extra-virtual linux-image-generic thermald wireless-regdb
0 upgraded, 14 newly installed, 0 to remove and 0 not upgraded.
Need to get 110 MB of archives.
After this operation, 456 MB of additional disk space will be used.
Do you want to continue? [Y/n] yes
Get:1 http://us-east-1.ec2.archive.ubuntu.com/ubuntu xenial-updates/main amd64 libnl-3-200 amd64 3.2.27-1ubuntu0.16.04.1 [52.2 kB]
...
ubuntu@ip-10-0-0-78:~$ sudo reboot
...
ubuntu@ip-10-0-0-78:~$ uname -a
Linux ip-10-0-0-78 4.4.0-1060-aws #69-Ubuntu SMP Sun May 20 13:42:07 UTC 2018 x86_64 x86_64 x86_64 GNU/Linux
ubuntu@ip-10-0-0-78:~$ modprobe quota_v1
modprobe: FATAL: Module quota_v1 not found in directory /lib/modules/4.4.0-1060-aws
ubuntu@ip-10-0-0-78:~$ modprobe quota_v2
modprobe: FATAL: Module quota_v2 not found in directory /lib/modules/4.4.0-1060-aws
Is there a package I can install to get the quota kernel modules? Or do I have to build them myself if I want disk quotas on an AWS machine?
apt kernel amazon-ec2 quota
add a comment |Â
up vote
1
down vote
favorite
up vote
1
down vote
favorite
I can't seem to be able to install the quota modules for the Ubuntu 16.04 AWS kernel. I've started the official cloud image (ami-e5d9439a
from Ubuntu's Cloud Images site). Checking for the kernel modules shows that they're not installed:
ubuntu@ip-10-0-0-78:~$ modprobe quota_v1
modprobe: FATAL: Module quota_v1 not found in directory /lib/modules/4.4.0-1060-aws
ubuntu@ip-10-0-0-78:~$ modprobe quota_v2
modprobe: FATAL: Module quota_v2 not found in directory /lib/modules/4.4.0-1060-aws
The normal trick to get the quota modules is to install the linux-image-extra package for your kernel, but that doesn't exist for this one:
ubuntu@ip-10-0-0-78:~$ sudo apt-get update
...
ubuntu@ip-10-0-0-78:~$ sudo apt-get -y install linux-image-extra-`uname -r`
Reading package lists... Done
Building dependency tree
Reading state information... Done
E: Unable to locate package linux-image-extra-4.4.0-1060-aws
E: Couldn't find any package by glob 'linux-image-extra-4.4.0-1060-aws'
E: Couldn't find any package by regex 'linux-image-extra-4.4.0-1060-aws'
Installing the linux-image-extra-virtual
doesn't help, of course, because everything it installs is for the wrong kernel version:
ubuntu@ip-10-0-0-78:~$ sudo apt-get install linux-image-extra-virtual
Reading package lists... Done
Building dependency tree
Reading state information... Done
The following additional packages will be installed:
amd64-microcode crda intel-microcode iucode-tool iw libnl-3-200 libnl-genl-3-200 linux-firmware linux-image-4.4.0-127-generic
linux-image-extra-4.4.0-127-generic linux-image-generic thermald wireless-regdb
Suggested packages:
fdutils linux-doc-4.4.0 | linux-source-4.4.0 linux-tools linux-headers-4.4.0-127-generic
The following NEW packages will be installed:
amd64-microcode crda intel-microcode iucode-tool iw libnl-3-200 libnl-genl-3-200 linux-firmware linux-image-4.4.0-127-generic
linux-image-extra-4.4.0-127-generic linux-image-extra-virtual linux-image-generic thermald wireless-regdb
0 upgraded, 14 newly installed, 0 to remove and 0 not upgraded.
Need to get 110 MB of archives.
After this operation, 456 MB of additional disk space will be used.
Do you want to continue? [Y/n] yes
Get:1 http://us-east-1.ec2.archive.ubuntu.com/ubuntu xenial-updates/main amd64 libnl-3-200 amd64 3.2.27-1ubuntu0.16.04.1 [52.2 kB]
...
ubuntu@ip-10-0-0-78:~$ sudo reboot
...
ubuntu@ip-10-0-0-78:~$ uname -a
Linux ip-10-0-0-78 4.4.0-1060-aws #69-Ubuntu SMP Sun May 20 13:42:07 UTC 2018 x86_64 x86_64 x86_64 GNU/Linux
ubuntu@ip-10-0-0-78:~$ modprobe quota_v1
modprobe: FATAL: Module quota_v1 not found in directory /lib/modules/4.4.0-1060-aws
ubuntu@ip-10-0-0-78:~$ modprobe quota_v2
modprobe: FATAL: Module quota_v2 not found in directory /lib/modules/4.4.0-1060-aws
Is there a package I can install to get the quota kernel modules? Or do I have to build them myself if I want disk quotas on an AWS machine?
apt kernel amazon-ec2 quota
I can't seem to be able to install the quota modules for the Ubuntu 16.04 AWS kernel. I've started the official cloud image (ami-e5d9439a
from Ubuntu's Cloud Images site). Checking for the kernel modules shows that they're not installed:
ubuntu@ip-10-0-0-78:~$ modprobe quota_v1
modprobe: FATAL: Module quota_v1 not found in directory /lib/modules/4.4.0-1060-aws
ubuntu@ip-10-0-0-78:~$ modprobe quota_v2
modprobe: FATAL: Module quota_v2 not found in directory /lib/modules/4.4.0-1060-aws
The normal trick to get the quota modules is to install the linux-image-extra package for your kernel, but that doesn't exist for this one:
ubuntu@ip-10-0-0-78:~$ sudo apt-get update
...
ubuntu@ip-10-0-0-78:~$ sudo apt-get -y install linux-image-extra-`uname -r`
Reading package lists... Done
Building dependency tree
Reading state information... Done
E: Unable to locate package linux-image-extra-4.4.0-1060-aws
E: Couldn't find any package by glob 'linux-image-extra-4.4.0-1060-aws'
E: Couldn't find any package by regex 'linux-image-extra-4.4.0-1060-aws'
Installing the linux-image-extra-virtual
doesn't help, of course, because everything it installs is for the wrong kernel version:
ubuntu@ip-10-0-0-78:~$ sudo apt-get install linux-image-extra-virtual
Reading package lists... Done
Building dependency tree
Reading state information... Done
The following additional packages will be installed:
amd64-microcode crda intel-microcode iucode-tool iw libnl-3-200 libnl-genl-3-200 linux-firmware linux-image-4.4.0-127-generic
linux-image-extra-4.4.0-127-generic linux-image-generic thermald wireless-regdb
Suggested packages:
fdutils linux-doc-4.4.0 | linux-source-4.4.0 linux-tools linux-headers-4.4.0-127-generic
The following NEW packages will be installed:
amd64-microcode crda intel-microcode iucode-tool iw libnl-3-200 libnl-genl-3-200 linux-firmware linux-image-4.4.0-127-generic
linux-image-extra-4.4.0-127-generic linux-image-extra-virtual linux-image-generic thermald wireless-regdb
0 upgraded, 14 newly installed, 0 to remove and 0 not upgraded.
Need to get 110 MB of archives.
After this operation, 456 MB of additional disk space will be used.
Do you want to continue? [Y/n] yes
Get:1 http://us-east-1.ec2.archive.ubuntu.com/ubuntu xenial-updates/main amd64 libnl-3-200 amd64 3.2.27-1ubuntu0.16.04.1 [52.2 kB]
...
ubuntu@ip-10-0-0-78:~$ sudo reboot
...
ubuntu@ip-10-0-0-78:~$ uname -a
Linux ip-10-0-0-78 4.4.0-1060-aws #69-Ubuntu SMP Sun May 20 13:42:07 UTC 2018 x86_64 x86_64 x86_64 GNU/Linux
ubuntu@ip-10-0-0-78:~$ modprobe quota_v1
modprobe: FATAL: Module quota_v1 not found in directory /lib/modules/4.4.0-1060-aws
ubuntu@ip-10-0-0-78:~$ modprobe quota_v2
modprobe: FATAL: Module quota_v2 not found in directory /lib/modules/4.4.0-1060-aws
Is there a package I can install to get the quota kernel modules? Or do I have to build them myself if I want disk quotas on an AWS machine?
apt kernel amazon-ec2 quota
asked May 23 at 17:39
Giles Thomas
1215
1215
add a comment |Â
add a comment |Â
active
oldest
votes
active
oldest
votes
active
oldest
votes
active
oldest
votes
active
oldest
votes
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
var $window = $(window),
onScroll = function(e)
var $elem = $('.new-login-left'),
docViewTop = $window.scrollTop(),
docViewBottom = docViewTop + $window.height(),
elemTop = $elem.offset().top,
elemBottom = elemTop + $elem.height();
if ((docViewTop elemBottom))
StackExchange.using('gps', function() StackExchange.gps.track('embedded_signup_form.view', location: 'question_page' ); );
$window.unbind('scroll', onScroll);
;
$window.on('scroll', onScroll);
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
StackExchange.ready(
function ()
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2faskubuntu.com%2fquestions%2f1039509%2fhow-to-get-the-quota-kernel-modules-on-the-aws-kernel%23new-answer', 'question_page');
);
Post as a guest
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
var $window = $(window),
onScroll = function(e)
var $elem = $('.new-login-left'),
docViewTop = $window.scrollTop(),
docViewBottom = docViewTop + $window.height(),
elemTop = $elem.offset().top,
elemBottom = elemTop + $elem.height();
if ((docViewTop elemBottom))
StackExchange.using('gps', function() StackExchange.gps.track('embedded_signup_form.view', location: 'question_page' ); );
$window.unbind('scroll', onScroll);
;
$window.on('scroll', onScroll);
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
var $window = $(window),
onScroll = function(e)
var $elem = $('.new-login-left'),
docViewTop = $window.scrollTop(),
docViewBottom = docViewTop + $window.height(),
elemTop = $elem.offset().top,
elemBottom = elemTop + $elem.height();
if ((docViewTop elemBottom))
StackExchange.using('gps', function() StackExchange.gps.track('embedded_signup_form.view', location: 'question_page' ); );
$window.unbind('scroll', onScroll);
;
$window.on('scroll', onScroll);
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
var $window = $(window),
onScroll = function(e)
var $elem = $('.new-login-left'),
docViewTop = $window.scrollTop(),
docViewBottom = docViewTop + $window.height(),
elemTop = $elem.offset().top,
elemBottom = elemTop + $elem.height();
if ((docViewTop elemBottom))
StackExchange.using('gps', function() StackExchange.gps.track('embedded_signup_form.view', location: 'question_page' ); );
$window.unbind('scroll', onScroll);
;
$window.on('scroll', onScroll);
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Sign up using Google
Sign up using Facebook
Sign up using Email and Password