Search Forum : Advanced search options AUFS for Amazon Linux Posted by: dockerallthethings Posted on: Jul 16, 2015 3:31 PM Reply This question is answered .



The technical state of devmapper seems to be poor. We have intermittent issues in our CI tooling , some of which appear to be because of concurrency problems pulling similar layers across a moderate set of hosts (6-12) from a Docker v2 registry (2-4 registry instances) -- work done in 1.7.1 to address this does not seem very confident.



So I've compiled Amazon Linux from source to add aufs support. Make sure you have enough disk available on the machine you're doing compilation with, 8GB isn't enough. Thanks to



I started with ami-8da458e6.



sudo bash /usr/bin/get_reference_source -p kernel-$(uname -r) /usr/sbin/useradd mockbuild /bin/rpm -Uvh /usr/src/srpm/debug/kernel*.src.rpm # git clone https: //github.com/morfoh/aufs3-standalone # the one above is tooo old # wget http: //dev.gentoo.org/~jlec/distfiles/aufs3-standalone-3_p20141208.tar.xz # xz -d aufs3-standalone-3_p20141208.tar.xz && tar xf aufs3-standalone-3_p20141208.tar git clone https: //github.com/ralph-tice/aufs3-standalone cd aufs3-standalone/ && git checkout aufs3.14.21+ #should be default branch but let's be specific cd /usr/src/rpm/SOURCES/ cp /home/ec2-user/aufs3-standalone/aufs3-kbuild.patch ./0039-mmf-aufs-kbuild.patch cp /home/ec2-user/aufs3-standalone/aufs3-base.patch ./0040-mmf-aufs-base.patch cp /home/ec2-user/aufs3-standalone/aufs3-mmap.patch ./0041-mmf-aufs-mmap.patch cp /home/ec2-user/aufs3-standalone/aufs3-standalone.patch ./0042-mmf-aufs-standalone.patch chown mockbuild.mockbuild . /*-mmf*.patch cd /home/ec2-user/aufs3-standalone patch /usr/src/rpm/SPECS/kernel.spec kernel_spec_include_aufs_patches.patch time /usr/bin/rpmbuild -bb /usr/src/rpm/SPECS/kernel.spec yum localinstall /usr/src/rpm/RPMS/x86_64/kernel-3.14.44-32.39.mmf.aufs.amzn1.x86_64.rpm



This isn't perfect, I haven't compiled linux kernel since the mid 90s. You'll be prompted to configure AUFS, I chose M as a module, 1023 max branches, and the rest defaults.



I have more testing to do, but it would be very nice if aufs support made it into Amazon Linux directly for better docker support.



I would not advise anyone to run devicemapper in production. Hi,The technical state of devmapper seems to be poor. We have intermittent issues in our CI tooling , some of which appear to be because of concurrency problems pulling similar layers across a moderate set of hosts (6-12) from a Docker v2 registry (2-4 registry instances) -- work done in 1.7.1 to address this does not seem very confident.So I've compiled Amazon Linux from source to add aufs support. Make sure you have enough disk available on the machine you're doing compilation with, 8GB isn't enough. Thanks to https://forums.aws.amazon.com/thread.jspa?messageID=628676򙟄 for getting me started.I started with ami-8da458e6.This isn't perfect, I haven't compiled linux kernel since the mid 90s. You'll be prompted to configure AUFS, I chose M as a module, 1023 max branches, and the rest defaults.I have more testing to do, but it would be very nice if aufs support made it into Amazon Linux directly for better docker support.I would not advise anyone to run devicemapper in production. Replies: 1 | Pages: 1 - Last Post: Jul 22, 2015 9:13 PM by: Max@AWS Replies Re: AUFS for Amazon Linux Max@AWS Posted by: Posted on: Jul 22, 2015 9:13 PM in response to: dockerallthethings Reply Correct



The 4.1 kernel is now available for testing in the Amazon Linux AMI repositories. Please see



Thank you for using the Amazon Linux AMI! Hi,The 4.1 kernel is now available for testing in the Amazon Linux AMI repositories. Please see https://forums.aws.amazon.com/ann.jspa?annID=3154 for more information.Thank you for using the Amazon Linux AMI! View Thread RSS Feeds Available Actions Reply to this Thread Icon Legend Answered question Unanswered question with answer points still available Unanswered question AWS Forums Status Icons Ace: 2000+ pts Expert: 750-1999 pts Guide: 300-749 pts Enthusiast: 50-299 pts Newbie: 5-49 pts Amazonian



