lustre tips

This commit is contained in:
G.J.C. Strikwerda 2018-04-26 16:07:39 +02:00
parent 2699680fd3
commit d7e02e1689
1 changed files with 153 additions and 0 deletions

153
lustre.tips Normal file
View File

@ -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