Error in increase or modify the groupsize and groupmod parameters for eos space define

Hi,

We have face an error i.e. “error: scheduling group default.3 is full. error: no group available for file system”.

Then we have try to increasing the value of groupsize and groupmod of scheduling group. But, it’s gives errors below:-

=========================================

[root@eos-slave ~]# eos space define default groupmod=18
terminate called after throwing an instance of ‘std::invalid_argument’
what(): stoi
Aborted (core dumped)
[root@eos-slave ~]# eos space define default groupsize=9
terminate called after throwing an instance of ‘std::invalid_argument’
what(): stoi
Aborted (core dumped)
[root@eos-slave ~]#

=====================================

Current default value of groupsize and groupmod for eos space are -

groupmod := 24
groupsize := 0

(EOS version is 5.3.24)

So, How to change groupsize and groupmod ?

Cheers,

Prasun

Hi Prasun,

Before increasing the group size or mode I would check the output of the eos group ls and eos group ls –io command. This can also happen if some of your file systems are not online/available. So, double check that all your file systems are fine:
eos fs ls
The command to change the group size mod is:
eos space define default 0 18
have a look at the eos space -h output and you will see the correct syntax.

Cheers,
Elvin

Hi Elvin,

The output of eos group ls are below:-

===================================

[root@eos-mgm ~]# eos -b group ls
┌──────────┬────────────────┬────────────┬──────┬────────────┬────────────┬────────────┬──────────┐
│type │ name│ status│ N(fs)│ dev(filled)│ avg(filled)│ sig(filled)│ bal-shd│
└──────────┴────────────────┴────────────┴──────┴────────────┴────────────┴────────────┴──────────┘
groupview default.0 on 8 0.99 87.16 0.49 0
groupview default.1 on 8 0.96 87.75 0.49 0
groupview default.10 on 8 0.92 87.23 0.45 0
groupview default.11 on 8 0.92 88.16 0.46 0
groupview default.12 on 8 74.09 77.12 30.25 0
groupview default.13 on 8 0.95 86.98 0.50 0
groupview default.14 on 8 0.95 87.34 0.47 0
groupview default.15 on 8 0.99 77.90 0.50 0
groupview default.2 on 8 0.97 87.67 0.51 0
groupview default.3 on 8 71.91 77.91 29.36 0
groupview default.4 on 8 1.00 76.58 0.52 0
groupview default.5 on 8 76.97 79.91 31.42 0
groupview default.6 on 8 0.96 87.81 0.50 0
groupview default.7 on 8 72.13 76.84 29.45 0
groupview default.8 on 8 0.97 87.15 0.50 0
groupview default.9 on 8 0.95 87.05 0.42 0

[root@eos-mgm ~]# eos -b group ls --io
┌────────────────┬──────────┬────────────┬────────────┬──────────┬──────────┬──────────┬──────┬──────┬────────────┬────────────┬────────────┬───────────┬──────────┐
│name │ diskload│ diskr-MB/s│ diskw-MB/s│ eth-MiB/s│ ethi-MiB│ etho-MiB│ ropen│ wopen│ used-bytes│ max-bytes│ used-files│ max-files│ bal-shd│
└────────────────┴──────────┴────────────┴────────────┴──────────┴──────────┴──────────┴──────┴──────┴────────────┴────────────┴────────────┴───────────┴──────────┘
default.0 0.85 1.11 K 0 952 0 0 5 0 68.29 TB 78.35 TB 28.09 M 7.65 G 0
default.1 0.84 1.22 K 0 952 0 0 5 0 68.75 TB 78.35 TB 29.20 M 7.65 G 0
default.10 0.94 1.17 K 0 952 0 0 15 0 68.35 TB 78.35 TB 29.08 M 7.65 G 0
default.11 0.93 947 1 952 0 0 0 0 69.08 TB 78.35 TB 29.89 M 7.65 G 0
default.12 0.52 540 3 952 0 0 18 0 61.94 TB 80.31 TB 26.43 M 7.84 G 6
default.13 0.84 1.11 K 0 952 0 0 26 0 68.15 TB 78.35 TB 28.14 M 7.65 G 0
default.14 0.84 971 0 952 0 0 0 0 68.43 TB 78.35 TB 29.31 M 7.65 G 0
default.15 0.93 1.01 K 0 952 0 0 5 0 61.03 TB 78.35 TB 26.23 M 7.65 G 0
default.2 0.93 1.17 K 0 952 0 0 10 0 68.69 TB 78.35 TB 29.90 M 7.65 G 0
default.3 0.55 524 13 952 0 0 9 6 64.10 TB 82.27 TB 26.28 M 8.04 G 16
default.4 0.95 1.08 K 0 952 0 0 15 0 64.50 TB 84.23 TB 24.40 M 8.23 G 0
default.5 0.64 740 1 952 0 0 28 0 64.17 TB 80.31 TB 25.08 M 7.84 G 14
default.6 0.84 1.03 K 0 952 0 0 15 0 68.80 TB 78.35 TB 29.38 M 7.65 G 0
default.7 0.68 702 2 952 0 0 13 0 64.73 TB 84.23 TB 24.22 M 8.23 G 11
default.8 0.94 1.21 K 0 952 0 0 10 0 68.28 TB 78.35 TB 28.10 M 7.65 G 0
default.9 0.93 1.26 K 0 952 0 0 15 0 68.21 TB 78.35 TB 29.85 M 7.65 G 0

[root@eos-mgm ~]#

======================================

[root@eos-mgm ~]# eos space ls
┌──────────┬────────────────┬────────────┬────────────┬──────┬─────────┬───────────────┬──────────────┬─────────────┬─────────────┬──────────────┬──────┬──────┬──────────┬───────────┬───────────┬──────┬────────┬───────────┬──────┬────────┬───────────┐
│type │ name│ groupsize│ groupmod│ N(fs)│ N(fs-rw)│ sum(usedbytes)│ sum(capacity)│ capacity(rw)│ nom.capacity│sched.capacity│ usage│ quota│ balancing│ threshold│ converter│ ntx│ active│ wfe│ ntx│ active│ intergroup│
└──────────┴────────────────┴────────────┴────────────┴──────┴─────────┴───────────────┴──────────────┴─────────────┴─────────────┴──────────────┴──────┴──────┴──────────┴───────────┴───────────┴──────┴────────┴───────────┴──────┴────────┴───────────┘
spaceview default 8 24 128 112 1.07 PB 1.27 PB 1.11 PB 0 B 158.63 TB 95.87 off on 1 ??? 0 0 off 1 0 on

================================

as per your suggestion , we had increase the groupsize and it working well.

We has 16 groups and each group contains 8 nos. of disks.

So, accordingly, we has increase groupsize 0 to 8.

Thank You very much Elvin.

Cheers

Prasun..