Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Support f2fs filesystem #3604

Open
wants to merge 1 commit into
base: master
Choose a base branch
from
Open

Conversation

tomaszduda23
Copy link

@tomaszduda23 tomaszduda23 commented Oct 12, 2024

There is effort to run docker on Android opencontainers/runc#4443. It is possible to run also k3s. Without this k3s will exit with following error

E1012 16:21:00.216260    7851 kubelet.go:1431] "Failed to start ContainerManager" err="failed to get rootfs info: failed to get mount point for device \"/dev/block/dm-53\": no partition info for device \"/dev/block/dm-53\""

Android uses following options to mount /data.

/dev/block/dm-53 on /data type f2fs (rw,lazytime,seclabel,nosuid,nodev,noatime,background_gc=on,discard,no_heap,user_xattr,inline_xattr,acl,inline_data,inline_dentry,extent_cache,mode=adaptive,active_logs=6,reserve_root=32768,resuid=0,resgid=1065,noatgc,inlinecrypt,alloc_mode=default,fsync_mode=nobarrier)

which is ignored during look up.

Testing requires:

  1. patching kernel
  2. adding this patch
  3. patching Support cgroup on Android opencontainers/runc#4443
  4. k3s can run in agent mode

Signed-off-by: tomaszduda23 <[email protected]>
Copy link

google-cla bot commented Oct 12, 2024

Thanks for your pull request! It looks like this may be your first contribution to a Google open source project. Before we can look at your pull request, you'll need to sign a Contributor License Agreement (CLA).

View this failed invocation of the CLA check for more information.

For the most up to date status, view the checks section at the bottom of the pull request.

@SergeyKanzhelev
Copy link
Collaborator

please provide some description to the PR including how this is validated

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants