[lustre-discuss] project quota problem on existing directories from filesystem created on zfs 0.7 pool
Chen Wei
weichen302 at zoho.com
Fri Jan 14 06:11:46 PST 2022
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
More information about the lustre-discuss
mailing list