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

Couldn't set quota for volume name=myvolume1 size=10000000 inode=0 #25

Open
Maurotb opened this issue Aug 21, 2018 · 4 comments
Open

Couldn't set quota for volume name=myvolume1 size=10000000 inode=0 #25

Maurotb opened this issue Aug 21, 2018 · 4 comments

Comments

@Maurotb
Copy link

Maurotb commented Aug 21, 2018

Hi,
i have a debian 9.5, i have followed your quickstart but in docker volume create i get

docker volume create \

    --driver xfsvol \
    --opt size=10M \
    myvolume1

Error response from daemon: create myvolume1: VolumeDriver.Create: manager failed to create volume myvolume1: Couldn't set quota for volume name=myvolume1 size=10000000 inode=0: couldn't set project id to path /mnt/xfs/volumes/myvolume1: failed to set project-id 1 to directory /mnt/xfs/volumes/myvolume1: operation not supported

@cirocosta
Copy link
Owner

Hi @Maurotb,


Do you know if under /mnt/xfs you have a XFS filesystem mounted with pquota support?

I've not been looking into xfsvol for a while but I guess that could be the case.


thx!

@Maurotb
Copy link
Author

Maurotb commented Aug 21, 2018

hi @cirocosta , yes, this is my mount
/dev/loop0 on /mnt/xfs type xfs (rw,relatime,attr2,inode64,prjquota)

@andreaturli
Copy link

same issue, any idea?

I've got /dev/loop0 on /mnt/xfs type xfs (rw,relatime,seclabel,attr2,inode64,prjquota)

but when I run

$ docker volume create --driver xfsvol --opt size=10M myvolume1
Error response from daemon: create myvolume1: VolumeDriver.Create: manager failed to create volume myvolume1: Couldn't set quota for volume name=myvolume1 size=10000000 inode=0: Couldn't set project quota {Size:10000000 INode:0 UsedSize:0 UsedInode:0} for target-path /mnt/xfs/volumes/myvolume1: failed to set project quota prj=1 dev=%!d(string=/mnt/xfs/volumes/__control-device) quota-size=10000000 quota-inodes=0: function not implemented

I welcome any help from experts, thanks!

@reAsOn2010
Copy link

reAsOn2010 commented Apr 17, 2019

I encounted the same issue. Then i tried to mount the device to /mnt, the volume creation succeed...

/dev/vdc on /mnt type xfs (rw,relatime,attr2,inode64,prjquota)


Sorry, I released that after you mount xfs, you need disable plugin then enable it, just like restarting the plugin, then it would work properly...

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

4 participants