Details
-
Bug
-
Resolution: Unresolved
-
Medium
-
None
-
None
-
None
-
3
-
9223372036854775807
Description
when ost is mounted the conf_param is not read from the msg. Say msg enabled quota and
ost is mounted after enabling the quota conf_param the new ost mount will not inherit the conf_param and reason for this is the ost does not read the conf_param from mgs
if you follow steps on two different host you can see this issue
ssh 10.103.18.154 'sudo mkfs.lustre --mgs --mdt --reformat --fsname=lustre --index=0 /dev/vdb1'
ssh 10.103.18.154 'sudo mkdir -p /mnt/mdt1'
ssh 10.103.18.154 'sudo mount -t lustre /dev/vdb1 /mnt/mdt1'
ssh 10.103.18.154 'sudo mkfs.lustre --mdt --reformat --fsname=lustre --mgsnode=10.103.18.154@tcp --index=1 /dev/vdb2'
ssh 10.103.18.154 'sudo mount -t lustre /dev/vdb2 /mnt/mdt2'
ssh 10.103.18.154 'sudo lctl conf_param lustre.quota.ost=ugp'
ssh 10.103.18.154 'sudo lctl conf_param lustre.quota.mdt=ugp'
ssh 10.103.18.26 'sudo mkfs.lustre --ost --reformat --fsname=lustre --mgsnode=10.103.18.154@tcp --index=0 /dev/vdb3'
ssh 10.103.18.26 'sudo mkdir -p /mnt/ost1'
sudo mount -t lustre /dev/vdb3 /mnt/ost1
The new mounted ost will not have quota enabled