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

Can not create volume inside overlayfs #462

Closed
yaroslavkasatikov opened this issue Oct 29, 2024 · 2 comments
Closed

Can not create volume inside overlayfs #462

yaroslavkasatikov opened this issue Oct 29, 2024 · 2 comments
Labels

Comments

@yaroslavkasatikov
Copy link

Hey team,

I tried to mount on the node merged overlayfs volume:

mount -t overlay overlay -o lowerdir=/tmp/fs/lower/,upperdir=/tmp/fs/upper/,workdir=/tmp/overlay /tmp/fs/merged/
And I want to set /tmp/fs/merged/ as DEFAULT_PATH_FOR_NON_LISTED_NODES
So I have changed it :

{
        "nodePathMap":[
        {
                "node":"DEFAULT_PATH_FOR_NON_LISTED_NODES",
                "paths":["/tmp/fs/merged/storage"]
        }
        ]
}

But when I created the pvc and pod, it seems that helper created the folder under the mounted overlayfs dir:

sh-5.2# ls -la /tmp/fs/merged/storage/
total 0
drwxrwxrwx. 2 root root 40 Oct 29 16:06 .
drwxrwxrwx. 1 root root 60 Oct 29 16:10 ..
sh-5.2# umount /tmp/fs/merged/
sh-5.2# ls -la /tmp/fs/merged/storage/
total 0
drwxr-xr-x. 3 root root 60 Oct 29 16:14 .
drwxr-xr-x. 3 root root 60 Oct 29 16:14 ..
drwxrwxrwx. 2 root root 40 Oct 29 16:14 pvc-7fa119e3-2224-4020-a78f-149ff4dd86ea_local-path-storage_local-path-pvc
sh-5.2#
I have trying it with OKD 4.14.

OS:

Fedora release 38 (Thirty Eight)
NAME="Fedora Linux"
VERSION="38.20231027.3.2 (CoreOS)"
ID=fedora
VERSION_ID=38
VERSION_CODENAME=""
PLATFORM_ID="platform:f38"
PRETTY_NAME="Fedora CoreOS 38.20231027.3.2"
ANSI_COLOR="0;38;2;60;110;180"
LOGO=fedora-logo-icon
CPE_NAME="cpe:/o:fedoraproject:fedora:38"
HOME_URL="https://getfedora.org/coreos/"
DOCUMENTATION_URL="https://docs.fedoraproject.org/en-US/fedora-coreos/"
SUPPORT_URL="https://github.com/coreos/fedora-coreos-tracker/"
BUG_REPORT_URL="https://github.com/coreos/fedora-coreos-tracker/"
REDHAT_BUGZILLA_PRODUCT="Fedora"
REDHAT_BUGZILLA_PRODUCT_VERSION=38
REDHAT_SUPPORT_PRODUCT="Fedora"
REDHAT_SUPPORT_PRODUCT_VERSION=38
SUPPORT_END=2024-05-14
VARIANT="CoreOS"
VARIANT_ID=coreos
OSTREE_VERSION='38.20231027.3.2'
Fedora release 38 (Thirty Eight)
Fedora release 38 (Thirty Eight)
cpe:/o:fedoraproject:fedora:38
Is it possible to create a volume inside overlayfs?

Copy link

This issue is stale because it has been open 30 days with no activity. Remove stale label or comment or this will be closed in 5 days.

@github-actions github-actions bot added the stale label Dec 29, 2024
Copy link

github-actions bot commented Jan 4, 2025

This issue was closed because it has been stalled for 5 days with no activity.

@github-actions github-actions bot closed this as completed Jan 4, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

1 participant