Ok. I probably misunderstood this part:
Introduced in Lustre 2.10
Lustre filesystems formatted with a Lustre release prior to 2.10 can be still
safely upgraded to release 2.10, but will not have project quota usage
reporting functional until tune2fs -O project is run against all ldiskfs
backend targets. This command sets the PROJECT feature flag in the superblock
and runs e2fsck (as a result, the target must be offline). See Section 24.5, “
Quotas and Version Interoperability” for further important considerations.
I assumed this refered to project quotas being enabled as default when
installing (not upgrading) version 2.10.x
also I was tricked by this output:
root@lustre-mds1 ~]# lctl get_param osd-*.*.quota_slave.info
osd-ldiskfs.LUSTRE1-MDT0000.quota_slave.info=
target name: LUSTRE1-MDT0000
pool ID: 0
type: md
quota enabled: ugp
conn to master: setup
space acct: ug
user uptodate: glb[1],slv[1],reint[0]
group uptodate: glb[1],slv[1],reint[0]
project uptodate: glb[0],slv[0],reint[0]
which, I thought, showed that quota was enabled for users, groups and projects.
but apparantly not:
Filesystem features: has_journal ext_attr dir_index filetype
needs_recovery extent 64bit flex_bg sparse_super large_file huge_file uninit_bg
dir_nlink quota
Thanks for clarification. I will schedule downtime and activate it.
Best Regards
Einar Næss Jensen
--
Einar Næss Jensen
NTNU HPC Section
Norwegian University of Science and Technoloy
Address: Høgskoleringen 7i
N-7491 Trondheim, NORWAY
tlf: +47 90990249
email: [email protected]
________________________________________
From: Shuichi Ihara <[email protected]>
Sent: Thursday, May 10, 2018 9:37 PM
To: Einar Næss Jensen
Cc: Alexander I Kulyavtsev; [email protected]
Subject: Re: [lustre-discuss] lustre project quotas
please check 'dumpe2fs -h /dev/xxx | grep 'Filesystem features' if 'project'
flag is enabled.
If not, you need to add it to all MDT/OSTs. e.g. tune2fs -O project /dev/xxx.
described in Lustre manual in detail.
Thanks
Ihara
> On May 11, 2018, at 1:02, Einar Næss Jensen <[email protected]> wrote:
>
> ldiskfs
>
> Sent from my iPhone
>
> On 10 May 2018, at 17:26, Alexander I Kulyavtsev <[email protected]> wrote:
>
>> Do you use zfs or ldiskfs on OST?
>> Zfs does not have project quota yet. Alex.
>>
>> From: lustre-discuss <[email protected]> on behalf of
>> Einar Næss Jensen <[email protected]>
>> Date: Thursday, May 10, 2018 at 7:47 AM
>> To: "[email protected]" <[email protected]>
>> Subject: Re: [lustre-discuss] lustre project quotas
>>
>> Lustre server is 2.10.1
>> lustre client is 2.10.3
>>
>> --
>> Einar Næss Jensen
>> NTNU HPC Section
>> Norwegian University of Science and Technoloy
>> Address: Høgskoleringen 7i
>> N-7491 Trondheim, NORWAY
>> tlf: +47 90990249
>> email: [email protected]
>> From: lustre-discuss <[email protected]> on behalf of
>> Einar Næss Jensen <[email protected]>
>> Sent: Thursday, May 10, 2018 2:45 PM
>> To: [email protected]
>> Subject: [lustre-discuss] lustre project quotas
>>
>> Hello.
>>
>> I have sucessfully installed lustre and it works well, but I'm having
>> trouble figuring out how to enable / set project quotas.
>> How can I verify that project quotas are enabled, and how do I set up
>> projects and assign directories and users to the projects?
>>
>>
>> Best Regards
>> Einar Næss Jensen
>>
>> --
>> Einar Næss Jensen
>> NTNU HPC Section
>> Norwegian University of Science and Technoloy
>> Address: Høgskoleringen 7i
>> N-7491 Trondheim, NORWAY
>> tlf: +47 90990249
>> email: [email protected]
> _______________________________________________
> lustre-discuss mailing list
> [email protected]
> http://lists.lustre.org/listinfo.cgi/lustre-discuss-lustre.org
_______________________________________________
lustre-discuss mailing list
[email protected]
http://lists.lustre.org/listinfo.cgi/lustre-discuss-lustre.org