docs/lustre.tips

154 lines
4.2 KiB
Plaintext
Raw Normal View History

2018-04-26 16:07:39 +02:00
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