Browse Source

lustre tips

master
G.J.C. Strikwerda 4 years ago
parent
commit
d7e02e1689
  1. 153
      lustre.tips

153
lustre.tips

@ -0,0 +1,153 @@ @@ -0,0 +1,153 @@
Lustre tips/tricks:
check if quota is set on MDT's:
[root@umcg-metadata03 ~]# lctl get_param osd-ldiskfs.*.quota_slave.info
osd-ldiskfs.umcgst08-MDT0000.quota_slave.info=
target name: umcgst08-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]
check if quota is set on OST's:
[root@umcg-storage03 ~]# lctl get_param osd-ldiskfs.*.quota_slave.info
osd-ldiskfs.umcgst08-OST0001.quota_slave.info=
target name: umcgst08-OST0001
pool ID: 0
type: dt
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]
osd-ldiskfs.umcgst08-OST0002.quota_slave.info=
target name: umcgst08-OST0002
pool ID: 0
type: dt
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]
osd-ldiskfs.umcgst08-OST0003.quota_slave.info=
target name: umcgst08-OST0003
pool ID: 0
type: dt
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]
osd-ldiskfs.umcgst08-OST0004.quota_slave.info=
target name: umcgst08-OST0004
pool ID: 0
type: dt
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]
osd-ldiskfs.umcgst08-OST0005.quota_slave.info=
target name: umcgst08-OST0005
pool ID: 0
type: dt
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]
osd-ldiskfs.umcgst08-OST0006.quota_slave.info=
target name: umcgst08-OST0006
pool ID: 0
type: dt
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]
enable quota:
# lctl conf_param umcgst08.quota.mdt=ug
# lctl conf_param umcgst08.quota.ost=ugLustre tips/tricks:
check if quota is set on MDT's:
[root@umcg-metadata03 ~]# lctl get_param osd-ldiskfs.*.quota_slave.info
osd-ldiskfs.umcgst08-MDT0000.quota_slave.info=
target name: umcgst08-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]
check if quota is set on OST's:
[root@umcg-storage03 ~]# lctl get_param osd-ldiskfs.*.quota_slave.info
osd-ldiskfs.umcgst08-OST0001.quota_slave.info=
target name: umcgst08-OST0001
pool ID: 0
type: dt
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]
osd-ldiskfs.umcgst08-OST0002.quota_slave.info=
target name: umcgst08-OST0002
pool ID: 0
type: dt
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]
osd-ldiskfs.umcgst08-OST0003.quota_slave.info=
target name: umcgst08-OST0003
pool ID: 0
type: dt
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]
osd-ldiskfs.umcgst08-OST0004.quota_slave.info=
target name: umcgst08-OST0004
pool ID: 0
type: dt
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]
osd-ldiskfs.umcgst08-OST0005.quota_slave.info=
target name: umcgst08-OST0005
pool ID: 0
type: dt
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]
osd-ldiskfs.umcgst08-OST0006.quota_slave.info=
target name: umcgst08-OST0006
pool ID: 0
type: dt
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]
enable quota:
# lctl conf_param umcgst08.quota.mdt=ug
# lctl conf_param umcgst08.quota.ost=ug
Loading…
Cancel
Save