Replies: 7 comments 25 replies
-
@ctalledo Thanks for setting up this thread. Just wanted to mention first that while I am currently using an Ubuntu AMI, I'd be open to try another AMI within reason. In the mean time, I'll take a look at toby63/shiftfs-dkms. Appreciate the help. |
Beta Was this translation helpful? Give feedback.
-
@ScottG489, i just gave it a try on an Ubuntu Focal EC2 VM. Find below the required steps to build your own 'shiftfs' module -- pretty much the same ones mentioned on shiftfs-dkms repo. One question for you. Would you rather do this process yourself (so that you fully know what's underneath)? or would you prefer to have Sysbox installer take care of all this for you (even though installation process will now take some extra time to fetch dkms and build shiftfs)? What's your take on this? Thanks.
|
Beta Was this translation helpful? Give feedback.
-
I have packer config to make Ubuntu AMI + shiftfs - works smoothly (kudos to @ctalledo for inspiration of how to configure json files via Here are some notes on installing shiftfs the
Also I had add permission to execute:
and configure module to launch on instance startup (assuming we have systemd):
|
Beta Was this translation helpful? Give feedback.
-
here is example of packer config, to run this packer hcl you have to install ssm session manager https://docs.aws.amazon.com/systems-manager/latest/userguide/session-manager-working-with-install-plugin.html and packer
to run such packer config, save content above under file name matches
|
Beta Was this translation helpful? Give feedback.
-
Just created gist for convenience: https://gist.github.com/viatcheslavmogilevsky/e5d82e7cc755f6d93a79a6cedf489719 |
Beta Was this translation helpful? Give feedback.
-
@viatcheslavmogilevsky the command |
Beta Was this translation helpful? Give feedback.
-
FYI, here is a sample Packer script for building an AMI with pre-installed Sysbox based on an Ubuntu EKS AMI, courtesy of @maximsmol. |
Beta Was this translation helpful? Give feedback.
-
From @ScottG489:
Yes, unfortunately the AMIs for Ubuntu don't carry shiftfs (yet). There is a out-of-tree distribution of shiftfs that you can install and load into the kernel, though I've not personally tried it but I think @rodnymolina may have. See here. The kernel must still be Ubuntu and >= 5.0 (e.g., ubuntu focal).
@rodnymolina : did you ever get a chance to try shiftfs dkms on an AWS Ubuntu-based AMI?
Beta Was this translation helpful? Give feedback.
All reactions