[lustre-discuss] Quota related

Anilkumar Naik anilkumar at tifr.res.in
Sun Nov 29 07:05:06 PST 2020


Dear All,

We like to enable user quota but not sure how to configure it. we would
seek your inputs to implement it without affecting the production
applications.

We have implemented lustre on MDS, OSS1 and OSS2 server. home and scratch
are the two file systems. /Home has an active quota and we like to have it
on /scratch too.

[root at mds ~]#  lctl get_param osd-ldiskfs.*.quota_slave.info
osd-ldiskfs.home-MDT0000.quota_slave.info=
target name:    home-MDT0000
pool ID:        0
type:           md
quota enabled:  u
conn to master: setup
space acct:     ug
user uptodate:  glb[1],slv[1],reint[0]
group uptodate: glb[0],slv[0],reint[0]
project uptodate: glb[0],slv[0],reint[0]
osd-ldiskfs.scratch-MDT0000.quota_slave.info=
target name:    scratch-MDT0000
pool ID:        0
type:           md
quota enabled:  none
conn to master: setup
space acct:     ug
user uptodate:  glb[0],slv[0],reint[0]
group uptodate: glb[0],slv[0],reint[0]
project uptodate: glb[0],slv[0],reint[0]
[root at mds ~]# lctl get_param version
version=2.10.3

[root at mds ~]# lctl dl
  0 UP osd-ldiskfs home-MDT0000-osd home-MDT0000-osd_UUID 8
  1 UP osd-ldiskfs scratch-MDT0000-osd scratch-MDT0000-osd_UUID 8
  2 UP mgc MGC10.0.0.4 at tcp a1a8933c-1a67-4479-8673-31e091998724 4
  3 UP mds MDS MDS_uuid 2
  4 UP lod home-MDT0000-mdtlov home-MDT0000-mdtlov_UUID 3
  5 UP mdt home-MDT0000 home-MDT0000_UUID 54
  6 UP mdd home-MDD0000 home-MDD0000_UUID 3
  7 UP qmt home-QMT0000 home-QMT0000_UUID 3
  8 UP osp home-OST0000-osc-MDT0000 home-MDT0000-mdtlov_UUID 4
  9 UP osp home-OST0001-osc-MDT0000 home-MDT0000-mdtlov_UUID 4
 10 UP lwp home-MDT0000-lwp-MDT0000 home-MDT0000-lwp-MDT0000_UUID 4
 11 UP lod scratch-MDT0000-mdtlov scratch-MDT0000-mdtlov_UUID 3
 12 UP mdt scratch-MDT0000 scratch-MDT0000_UUID 54
 13 UP mdd scratch-MDD0000 scratch-MDD0000_UUID 3
 14 UP qmt scratch-QMT0000 scratch-QMT0000_UUID 3
 15 UP osp scratch-OST0000-osc-MDT0000 scratch-MDT0000-mdtlov_UUID 4
 16 UP osp scratch-OST0001-osc-MDT0000 scratch-MDT0000-mdtlov_UUID 4
 17 UP lwp scratch-MDT0000-lwp-MDT0000 scratch-MDT0000-lwp-MDT0000_UUID 4
 18 UP osd-ldiskfs MGS-osd MGS-osd_UUID 4
 20 UP mgs MGS MGS 54

--
Regards,
Anilkumar Naik
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.lustre.org/pipermail/lustre-discuss-lustre.org/attachments/20201129/46cba600/attachment.html>


More information about the lustre-discuss mailing list