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

Unable to mount volume #16

Open
Alixpat opened this issue Dec 8, 2022 · 1 comment
Open

Unable to mount volume #16

Alixpat opened this issue Dec 8, 2022 · 1 comment

Comments

@Alixpat
Copy link

Alixpat commented Dec 8, 2022

Hi,
I try to mount cinder volume in docker but I' have always this issue
VolumeDriver.Mount: Block device not found

docker volume create -d cinder test

=> INFO Creating volume 'test' ...                    action=create name=test

docker volume inspect test
[
    {
        "CreatedAt": "2022-12-07T23:09:41Z",
        "Driver": "cinder",
        "Labels": {},
        "Mountpoint": "/test",
        "Name": "test",
        "Options": {
            "size": "20"
        },
        "Scope": "global"
    }
]
docker run -ti -v test:/test busybox
docker: Error response from daemon: error while mounting volume '': VolumeDriver.Mount: Block device not found: /dev/disk/by-id/virtio-12c06bc9-7171-4684-b.

NFO Mounting volume 'test' ...                    action=mount name=test
ERRO Expected block device not found               action=mount error="Timeout waiting for file: /dev/disk/by-id/virtio-12c06bc9-7171-4684-b" id=12c06bc9-7171-4684-bd8a-258de3e0b832 name=test

Did you have an idea ?

Regards

@jgraichen
Copy link
Member

Are you using virtio disks, e.g. /dev/vda?

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

No branches or pull requests

2 participants