[Lustre-discuss] lustre 2.0 interop issue
Alexey Lyashkov
alexey.lyashkov at clusterstor.com
Fri Oct 1 08:58:13 PDT 2010
Hi All,
looks, i have discovered interop issue and bug in documentation for lustre 2.0
according code, 'quota_type' configuration parameter handled by mdd module
>>
bash-3.2$ grep -rn quota_type mdd mdt
mdd/mdd_lproc.c:308: { "quota_type", mdd_lprocfs_quota_rd_type,
>>
, but for manual from
http://wiki.lustre.org/manual/LustreManual20_HTML/ConfiguringQuotas.html#50548851_pgfId-1288197
say about mdt.quota_type parameter
>>>
To enable quotas automatically when the file system is started, you must set the __mdt.quota_type___ and ost.quota_type parameters, respectively, on the MDT and OSTs.
The parameters can be set to the string u (user), g (group) or ug for both users and groups.
>>>
that looks is correct for lustre 1.x, but not for lustre 2.0.
And lustre 2.0 not able to start with old FS:
>>> kernel: LustreError: 4596:0:(obd_config.c:1108:class_process_proc_param()) content-MDT0000: unknown param quota_type=ugv2
>>> kernel: LustreError: 4596:0:(obd_config.c:1329:class_config_llog_handler()) Err -38 on cfg command:
>>> kernel: Lustre: cmd=cf00f 0:content-MDT0000 1:mdt.quota_type=ugv2
--------------------------------------
Alexey Lyashkov
alexey.lyashkov at clusterstor.com
More information about the lustre-discuss
mailing list