Hi

I'm not specialist of project quota, but I have a more generic comment.
I see you said you upgraded to 2.14.58? Is that a version you pick on purpose?

2.14.58 is not intended for production at all. This is an alpha version of what 
will be Lustre 2.15. 

If you want a production-compatible version you should use 2.12.8 or 2.14.0.
Never pick a version where last digit is > 50. That means "development release".


Aurélien

Le 14/01/2022 15:12, « lustre-discuss au nom de Chen Wei via lustre-discuss » 
<lustre-discuss-boun...@lists.lustre.org au nom de 
lustre-discuss@lists.lustre.org> a écrit :

    CAUTION: This email originated from outside of the organization. Do not 
click links or open attachments unless you can confirm the sender and know the 
content is safe.



    Hi,

    We have a lustre filesystem created by Lustre 2.12.8 on zfs 0.7.13 pool.
    Since "Project quotas are not supported on zfs versions earlier than
    0.8", it has been recently upgraded to Lustre 2.14.58 with zfs 2.0.7.
    After upgrade the zfs pool to enable project quota feature and enable
    project quota in Lustre, project quota works on new directory. However,
    for existing directories, set project quota command fail with:

    # lfs project -p 3000 andy
    lfs: failed to set xattr for 'andy': No such device or address

    Strace of above command:

    ...
    open("andy", O_RDONLY|O_NOCTTY|O_NONBLOCK) = 3
    ioctl(3, 0x801c581f, 0x7ffe6fa35d30)    = 0
    ioctl(3, 0x401c5820, 0x7ffe6fa35d30)    = -1 ENXIO (No such device or 
address)
    write(2, "lfs: failed to set xattr for 'an"..., 63lfs: failed to set xattr 
for 'andy': No such device or address
    ) = 63
    close(3)                                = 0
    exit_group(1)                           = ?


    Is there a way to enable project quota on existing directories?


    Thanks


    --
    Wei Chen
    _______________________________________________
    lustre-discuss mailing list
    lustre-discuss@lists.lustre.org
    http://lists.lustre.org/listinfo.cgi/lustre-discuss-lustre.org

_______________________________________________
lustre-discuss mailing list
lustre-discuss@lists.lustre.org
http://lists.lustre.org/listinfo.cgi/lustre-discuss-lustre.org

Reply via email to