# LRU system setting

**URL:** <https://eos-community.web.cern.ch/t/lru-system-setting/542>\
**Category:** Development\
**Created:** [October 7, 2020, 2:13pm UTC](https://eos-community.web.cern.ch/t/lru-system-setting/542 "2020-10-07T14:13:14Z")\
**Posts on this page:** 20\
**Page:** 1

<div class="post-metadata">

**Author:** ![azaroche](https://eos-community.web.cern.ch/letter_avatar_proxy/v4/letter/a/f9ae1b/32.png) [@azaroche](https://eos-community.web.cern.ch/u/azaroche)\
**Post date:** [October 7, 2020, 2:13pm UTC](https://eos-community.web.cern.ch/t/lru-system-setting/542/1 "2020-10-07T14:13:14Z")

</div>

Dear experts, can you help me to understand my mistake with LRU setting.

I use documentation:

> **[LRU Engine — EOS CITRINE documentation](http://eos-docs.web.cern.ch/eos-docs/configuration/lru.html)**

My settings:

EOS version:  
mgm:  
{  
dvl-eos-m01:~ # eos --version  
EOS 4.8.22 (2020)  
}  
FST:  
{  
dvl-eos-m01:~ # eos --version  
EOS 4.8.22 (2020)  
-bash-4.2$ eos --version  
EOS 4.3.11 (CERN)  
}

Space:  
{  
dvl-eos-m01:~ # eos space status default  
# ------------------------------------------------------------------------------------  
# Space Variables  
# …  
autorepair := on  
balancer := on  
balancer.node.ntx := 2  
balancer.node.rate := 25  
balancer.threshold := 20  
converter := on  
converter.ntx := 10  
drainer.node.nfs := 5  
drainer.node.ntx := 2  
drainer.node.rate := 25  
drainperiod := 86400  
filearchivedgc := off  
geo.access.policy.write.exact := on  
geobalancer := on  
geobalancer.ntx := 10  
geobalancer.threshold := 5  
graceperiod := 86400  
groupbalancer := on  
groupbalancer.ntx := 10  
groupbalancer.threshold := 90  
groupmod := 50  
groupsize := 50  
lru := on  
lru.interval := 10  
quota := off  
scaninterval := 604800  
scanrate := 100  
stat.wfe.active := 0  
tracker := off  
wfe := on  
wfe.interval := 10  
wfe.ntx := 1  
dvl-eos-m01:~ #  
}

Catalog attribute setting:  
{  
` -bash-4.2$ eos attr ls /eos/jinrdvl/tests/zar/pnpicache2`  
` sys.conversion.*="00100002|gathered:RU::JINR::LITDVL"`  
` sys.eos.btime="1596273569.773392128"`  
` sys.forced.checksum="adler"`  
` sys.forced.group="1"`  
` sys.lru.convert.match="*:1h"`  
` sys.workflow.closew.default="mail:azaroche@cern.ch: a file has been written!"`  
` -bash-4.2$`  
}

I expect all files to copy to this catalog by GEOTAG, but after 1 hour files should change layout to:  
“00100002|gathered:RU::JINR::LITDVL" = “plain|gathered:RU::JINR::LITDVL”

I see the first step: all files are saved to nearest FST by geotag:  
{  
`-bash-4.2$ eos fileinfo /eos/jinrdvl/tests/zar/pnpicache2/imm10`  
` File: '/eos/jinrdvl/tests/zar/pnpicache2/imm10' Flags: 0644`  
` Size: 104857600`  
`Modify: Tue Oct 6 21:12:10 2020 Timestamp: 1602007930.531035000`  
`Change: Tue Oct 6 21:12:10 2020 Timestamp: 1602007930.254879876`  
` Birth: Tue Oct 6 21:12:10 2020 Timestamp: 1602007930.254879876`  
` CUid: 13009 CGid: 501 Fxid: 0000005d Fid: 93 Pid: 30 Pxid: 0000001e`  
`XStype: adler XS: 5d c0 00 01 ETAGs: "24964497408:5dc00001"`  
`Layout: plain Stripes: 1 Blocksize: 4k LayoutId: 00100002 Redundancy: d1::t0`  
` #Rep: 1`  
`????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????`  
`?no.? fs-id? host? schedgroup? path??? boot? configstatus? drain? active? geotag?`  
`????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????`  
` 0 83 v006.pnpi.nw.ru default.1 /ceph_dev02 booted rw nodrain online RU::PNPI`

}

But files do not change layout afterwards. And I do not see any messages about converting or LRU logs in debug mode.  
Do you have any ideas? Where is my mistake?

---

<div class="post-metadata">

**Author:** ![esindril](https://eos-community.web.cern.ch/user_avatar/eos-community.web.cern.ch/esindril/32/9_2.png) [@esindril](https://eos-community.web.cern.ch/u/esindril)\
**Post date:** [October 7, 2020, 2:43pm UTC](https://eos-community.web.cern.ch/t/lru-system-setting/542/2 "2020-10-07T14:43:39Z")

</div>

Hi Andrey,

Can you double check your “sys.lru.convert.match” attribute?  
Also can you grep in the MGM logs for any errors in the LRU part. For example:  
`grep "LRU" /var/log/eos/mgm/xrdlog.mgm`

Cheers,  
Elvin

---

<div class="post-metadata">

**Author:** ![dszkola](https://eos-community.web.cern.ch/user_avatar/eos-community.web.cern.ch/dszkola/32/14_2.png) [@dszkola](https://eos-community.web.cern.ch/u/dszkola)\
**Post date:** [October 7, 2020, 2:44pm UTC](https://eos-community.web.cern.ch/t/lru-system-setting/542/3 "2020-10-07T14:44:41Z")

</div>

Did you really mean to use ‘10’ for the LRU interval? This would mean you are starting an LRU scan every 10 seconds. Unless you have a very small EOS instance I doubt the LRU could scan everything in 10 seconds. It may be that it won’t start a new one if one is currently running, but I don’t know that for sure.

If you are trying to get it to run frequently for debugging purposes, I would probably set the interval much higher (at least an hour? 3600) and just turn it off and back on to start a new scan.

Also, I’m not sure if the markup here messed things up, but your sys.lru.convert.match  
should probably look like this:  
sys.lru.convert.match="\*:1h"

The devs can add additional commentary I’m sure.

–  
Dan Szkola  
FNAL

---

<div class="post-metadata">

**Author:** ![azaroche](https://eos-community.web.cern.ch/letter_avatar_proxy/v4/letter/a/f9ae1b/32.png) [@azaroche](https://eos-community.web.cern.ch/u/azaroche)\
**Post date:** [October 7, 2020, 2:58pm UTC](https://eos-community.web.cern.ch/t/lru-system-setting/542/4 "2020-10-07T14:58:03Z")

</div>

> [@azaroche](#):
>
> And I do not see any messages about converting or LRU logs in debug mode.

> > And I do not see any messages about converting or LRU logs in debug mode.

i see info log about my access only. As example:  
{  
/var/log/eos/mgm/Clients.log:201007 17:03:06 INFO [00000/00000] root ::open op=read path=/proc/user/ info=eos.rgid=0&eos.ruid=0&mgm.attr.key=sys.lru.convert.match&mgm.attr.value=base64:Kjo+MWg=&mgm.cmd=attr&mgm.enc=b64&mgm.path=/eos/jinrdvl/tests/zar/pnpicache2&mgm.subcmd=set  
/var/log/eos/mgm/Clients.log:201007 17:03:06 DEBUG [00099/00099] - ::open json-callback= opaque=eos.rgid=0&eos.ruid=0&mgm.attr.key=sys.lru.convert.match&mgm.attr.value=base64:Kjo+MWg=&mgm.cmd=attr&mgm.enc=b64&mgm.path=/eos/jinrdvl/tests/zar/pnpicache2&mgm.subcmd=set  
}

---

<div class="post-metadata">

**Author:** ![azaroche](https://eos-community.web.cern.ch/letter_avatar_proxy/v4/letter/a/f9ae1b/32.png) [@azaroche](https://eos-community.web.cern.ch/u/azaroche)\
**Post date:** [October 7, 2020, 3:06pm UTC](https://eos-community.web.cern.ch/t/lru-system-setting/542/5 "2020-10-07T15:06:11Z")

</div>

Thanks.  
It is error of edit error. My real setting:  
{  
`sys.lru.convert.match="*:1h"`  
}  
And I changed lru.interval to 360, and change, and restarted LRU:  
{  
`dvl-eos-m01:~ # eos space config default space.lru=off`  
`dvl-eos-m01:~ # eos space config default space.lru=on`  
}  
I do not see effect after restart. But, may be we can wait 1 hour for check `"sys.lru.convert.match="*:1h" "`

---

<div class="post-metadata">

**Author:** ![azaroche](https://eos-community.web.cern.ch/letter_avatar_proxy/v4/letter/a/f9ae1b/32.png) [@azaroche](https://eos-community.web.cern.ch/u/azaroche)\
**Post date:** [October 7, 2020, 10:17pm UTC](https://eos-community.web.cern.ch/t/lru-system-setting/542/6 "2020-10-07T22:17:59Z")

</div>

O! Sorry, I see my mistake in previous message. I changed lru.interval to 3600,  
{  
dvl-eos-m01:~ # eos space status default | grep lru  
lru := on  
lru.interval := 3600  
dvl-eos-m01:~ #  
}

---

<div class="post-metadata">

**Author:** ![azaroche](https://eos-community.web.cern.ch/letter_avatar_proxy/v4/letter/a/f9ae1b/32.png) [@azaroche](https://eos-community.web.cern.ch/u/azaroche)\
**Post date:** [October 7, 2020, 10:29pm UTC](https://eos-community.web.cern.ch/t/lru-system-setting/542/7 "2020-10-07T22:29:04Z")

</div>

More details:  
{  
dvl-eos-m01:~ # grep -i lru /var/log/eos/mgm/xrdlog.mgm \> ~/xrdlog.mgm.lru  
dvl-eos-m01:~ # scp ~/xrdlog.mgm.lru azaroche@lxplus.cern.ch:/eos/user/a/azaroche/rudatalake/  
Warning: Permanently added ‘lxplus.cern.ch,137.138.150.242’ (ECDSA) to the list of known hosts.  
Password:  
xrdlog.mgm.lru 100% 4532 41.4KB/s 00:00  
dvl-eos-m01:~ #  
}

> **[CERNBox](https://cernbox.cern.ch/index.php/s/ljitjWdTR8tqwwx)**

  
Only my access…

---

<div class="post-metadata">

**Author:** ![esindril](https://eos-community.web.cern.ch/user_avatar/eos-community.web.cern.ch/esindril/32/9_2.png) [@esindril](https://eos-community.web.cern.ch/u/esindril)\
**Post date:** [October 8, 2020, 7:44am UTC](https://eos-community.web.cern.ch/t/lru-system-setting/542/8 "2020-10-08T07:44:57Z")

</div>

Hi Andrey,

I believe your issue is the `sys.lru.convert.match` which is missing the `*`. This should be:  
`sys.lru.convert.match="*:1h"`

I still don’t understand what is the value for this attribute that you have set. I had a look in the logs but nothing caught my eye.

Cheers,  
Elvin

---

<div class="post-metadata">

**Author:** ![azaroche](https://eos-community.web.cern.ch/letter_avatar_proxy/v4/letter/a/f9ae1b/32.png) [@azaroche](https://eos-community.web.cern.ch/u/azaroche)\
**Post date:** [October 8, 2020, 11:13am UTC](https://eos-community.web.cern.ch/t/lru-system-setting/542/9 "2020-10-08T11:13:24Z")

</div>

![screen-lru](https://eos-community.web.cern.ch/uploads/default/original/1X/042c85d114c541f7292deab5a5c70baf5706a681.png)

Thank you, Elvir for help. But it is problem of using the editor of messages. Look please screen - I hope it is correct.

---

<div class="post-metadata">

**Author:** ![azaroche](https://eos-community.web.cern.ch/letter_avatar_proxy/v4/letter/a/f9ae1b/32.png) [@azaroche](https://eos-community.web.cern.ch/u/azaroche)\
**Post date:** [October 8, 2020, 11:19am UTC](https://eos-community.web.cern.ch/t/lru-system-setting/542/10 "2020-10-08T11:19:59Z")

</div>

I will repeat in correct formatting:  
`-bash-4.2$ eos attr ls /eos/jinrdvl/tests/zar/pnpicache2`  
`sys.conversion.*="00100002|gathered:RU::JINR::LITDVL"`  
`sys.eos.btime="1596273569.773392128"`  
`sys.forced.checksum="adler"`  
`sys.forced.group="1"`  
`sys.lru.convert.match="*:1h"`  
`sys.workflow.closew.default="mail:azaroche@cern.ch: a file has been written!"`

---

<div class="post-metadata">

**Author:** ![esindril](https://eos-community.web.cern.ch/user_avatar/eos-community.web.cern.ch/esindril/32/9_2.png) [@esindril](https://eos-community.web.cern.ch/u/esindril)\
**Post date:** [October 8, 2020, 12:33pm UTC](https://eos-community.web.cern.ch/t/lru-system-setting/542/11 "2020-10-08T12:33:45Z")

</div>

Hi Andrey,

Can you restart your MGM and then grep again for `LRU` in the logs and post the output? I would expect to see at least a message like `start LRU scan` somewhere in the logs.  
Are you using the namespace in memory or in QuarkDB implementation?

Thanks,  
Elvin

---

<div class="post-metadata">

**Author:** ![azaroche](https://eos-community.web.cern.ch/letter_avatar_proxy/v4/letter/a/f9ae1b/32.png) [@azaroche](https://eos-community.web.cern.ch/u/azaroche)\
**Post date:** [October 8, 2020, 4:25pm UTC](https://eos-community.web.cern.ch/t/lru-system-setting/542/12 "2020-10-08T16:25:26Z")

</div>

1. We use QuarkDB.
2. Thanks for your advice. I see after mgm restart:  
{  
`201008 17:45:52 time=1602168352.056704 func=performCycleQDB level=INFO logid=static.............................. unit=mgm@dvl-eos-m01.jinr.ru:1094 tid=00007f2862ff5700 source=LRU:224 tident= sec=(null) uid=99 gid=99 name=- geo="" msg="start LRU scan on QDB"`  
`201008 17:45:52 time=1602168352.085978 func=ConvertMatch level=INFO logid=static.............................. unit=mgm@dvl-eos-m01.jinr.ru:1094 tid=00007f2862ff5700 source=LRU:621 tident= sec=(null) uid=99 gid=99 name=- geo="" msg="applying match policy" dir="/eos/jinrdvl/tests/zar/pnpicache2/" match="*:1h"`  
`201008 17:45:52 time=1602168352.086153 func=ConvertMatch level=INFO logid=static.............................. unit=mgm@dvl-eos-m01.jinr.ru:1094 tid=00007f2862ff5700 source=LRU:671 tident= sec=(null) uid=99 gid=99 name=- geo="" time-tag=1h size-tag= <0 >0 limit=0`  
}  
Look for details:  
`grep -i lru /var/log/eos/mgm/xrdlog.mgm > ~/xrdlog.mgm.0.lru :`  
[https://cernbox.cern.ch/index.php/s/JGwdg4xTaCIlKIh](https://cernbox.cern.ch/index.php/s/JGwdg4xTaCIlKIh)

Check line:  
` time-tag=1h size-tag= <0 >0 limit=0`

a) time-tag=1h (not \>1h)  
b) size-tag=\<0 …

I changed tag:  
`sys.lru.convert.match="*:>1h:>1k"`

After 1 hour I see in the logfile:  
{  
201008 18:45:52 time=1602171952.086487 func=ConvertMatch level=INFO logid=static… unit=mgm@dvl-eos-m01.jinr.ru:1094 tid=00007f2862ff5700 source=LRU:671 tident= sec=(null) uid=99 gid=99 name=- geo="" time-tag=\>1h size-tag=1k \<0 \>1 limit=1000  
}  
I probe only:  
{  
`sys.lru.convert.match="*:>1h"`  
}  
But without result too((  
Files are not converted…

---

<div class="post-metadata">

**Author:** ![azaroche](https://eos-community.web.cern.ch/letter_avatar_proxy/v4/letter/a/f9ae1b/32.png) [@azaroche](https://eos-community.web.cern.ch/u/azaroche)\
**Post date:** [October 8, 2020, 7:52pm UTC](https://eos-community.web.cern.ch/t/lru-system-setting/542/13 "2020-10-08T19:52:14Z")

</div>

Maybe I found the error. I see, by log, that LRU is checking script. But I do not see result of converting. I started convert by hand, and see the next error:  
{  
`EOS Console [root://dvl-eos.jinr.ru] |/> file convert /eos/jinrdvl/tests/zar/pnpicache3/imm0 gathered:RU::PNPI`  
`error: cannot get default space settings from parent directory attributes (errc=22) (Invalid argument)`  
`EOS Console [root://dvl-eos.jinr.ru] |/> attr ls /eos/jinrdvl/tests/zar/pnpicache3`  
`sys.eos.btime="1596273569.773392128"`  
`sys.forced.checksum="adler"`  
`EOS Console [root://dvl-eos.jinr.ru] |/> attr ls /eos/jinrdvl/tests/zar`  
`sys.eos.btime="1596273569.773392128"`  
`sys.forced.checksum="adler"`  
}  
Maybe who can comment on this error?

---

<div class="post-metadata">

**Author:** ![azaroche](https://eos-community.web.cern.ch/letter_avatar_proxy/v4/letter/a/f9ae1b/32.png) [@azaroche](https://eos-community.web.cern.ch/u/azaroche)\
**Post date:** [October 9, 2020, 8:49am UTC](https://eos-community.web.cern.ch/t/lru-system-setting/542/14 "2020-10-09T08:49:47Z")

</div>

The problem with converting is clear. Need attribute “sys.forced.space” or “user.forced.space”. After fixation:  
{  
`EOS Console [root://dvl-eos.jinr.ru] |/> attr ls /eos/jinrdvl/tests/zar/pnpicache3`  
`sys.eos.btime="1596273569.773392128"`  
`sys.forced.checksum="adler"`  
`sys.forced.space="default"`  
`EOS Console [root://dvl-eos.jinr.ru] |/> file convert --rewrite /eos/jinrdvl/tests/zar/pnpicache3/imm1 'gathered:RU::PNPI'`  
`info:: rewriting into space 'default'`  
`info: conversion based layout+stripe arguments`  
`success: pushed conversion job '0000000000000066:default#00650002' to QuarkDB`  
`EOS Console [root://dvl-eos.jinr.ru] |/>`  
}

But I see next problem:  
{  
`dvl-eos-m01:~ # eos convert list`  
` ............................................................`  
`0000000000000065:default.0#00650002 [ERROR] Server responded with an error: [3009] Unable to get free physical space /eos/jinrdvl/proc/conversion 0000000000000065:default.0#00650002; No space left on device; (destination)`  
` -- tpc_src=root://dvl-eos.jinr.ru:1094//eos/jinrdvl/tests/zar/pnpicache3/imm0 tpc_dst=root://dvl-eos.jinr.ru:1094//eos/jinrdvl/proc/conversion/0000000000000065:default.0#00650002`  
}

But I do not see a problem with space

---

<div class="post-metadata">

**Author:** ![azaroche](https://eos-community.web.cern.ch/letter_avatar_proxy/v4/letter/a/f9ae1b/32.png) [@azaroche](https://eos-community.web.cern.ch/u/azaroche)\
**Post date:** [October 29, 2020, 1:53pm UTC](https://eos-community.web.cern.ch/t/lru-system-setting/542/15 "2020-10-29T13:53:39Z")

</div>

Some more details (permission of : `/eos/jinrdvl/proc/conversion `)  
{  
`dvl-eos-m01:~ # eos ls -la /eos/jinrdvl/proc/conversion`  
`drwxrwx--- 1 daemon daemon 0 Oct 29 16:46 .`  
`drwxr-xr-x 1 daemon daemon 0 Jan 1 1970 ..`  
`dvl-eos-m01:~ #`  
}  
Check permission:  
{  
`dvl-eos-m01:~ # eos -r 2 2 ls -la /eos/jinrdvl/proc/conversion`  
`drwxrwx--- 1 daemon daemon 0 Oct 28 21:32 .`  
`drwxr-xr-x 1 daemon daemon 0 Jan 1 1970 ..`  
`dvl-eos-m01:~ # eos -r 2 2 cp /etc/passwd /eos/jinrdvl/proc/conversion/000`  
`[eoscp] passwd Total 0.00 MB |====================| 100.00 % [0.0 MB/s]`  
`[eos-cp] copied 1/1 files and 1698 B in 0.27 seconds with 6368 B/s`  
`dvl-eos-m01:~ # eos -r 2 2 rm /eos/jinrdvl/proc/conversion/000`  
`# pre-configuring default route to /eos/user/r/root/`  
`# -use $EOSHOME variable to override`  
`dvl-eos-m01:~ #`  
}

---

<div class="post-metadata">

**Author:** ![esindril](https://eos-community.web.cern.ch/user_avatar/eos-community.web.cern.ch/esindril/32/9_2.png) [@esindril](https://eos-community.web.cern.ch/u/esindril)\
**Post date:** [October 30, 2020, 2:46pm UTC](https://eos-community.web.cern.ch/t/lru-system-setting/542/16 "2020-10-30T14:46:18Z")

</div>

Hi Andrey,

Sorry for the late reply! Let’s try something fresh. Could you please execute the following commands on your instance and post the output? Also please use the following sequence of characters to start the code block and the same to finis it ``` so that it gets properly formatted.

```auto
eos node ls
eos fs ls
eos space ls
eos mkdir /eos/jinrdvl/tests/zar/pnpicache3/replica/
eos attr set default=replica /eos/jinrdvl/tests/zar/pnpicache3/replica/
xrdcp -f /etc/passwd root://localhost//eos/jinrdvl/tests/zar/pnpicache3/replica/test1.dat
eos fileinfo /eos/jinrdvl/tests/zar/pnpicache3/replica/test1.dat
eos file convert --rewrite /eos/jinrdvl/tests/zar/pnpicache3/replica/test1.dat

```

Also please let me know if you get any errors in the MGM logs.

Thanks,  
Elvin

---

<div class="post-metadata">

**Author:** ![azaroche](https://eos-community.web.cern.ch/letter_avatar_proxy/v4/letter/a/f9ae1b/32.png) [@azaroche](https://eos-community.web.cern.ch/u/azaroche)\
**Post date:** [November 1, 2020, 10:12am UTC](https://eos-community.web.cern.ch/t/lru-system-setting/542/17 "2020-11-01T10:12:26Z")

</div>

Hello, Elvin!  
Thanks for your help.  
From root (long output, I will send by picture):  
{

 ![изображение](https://eos-community.web.cern.ch/uploads/default/original/1X/d52cd4210123175fbc14412d880e8646b52fc017.png)  
 ![изображение](https://eos-community.web.cern.ch/uploads/default/original/1X/f657c87aeaad3bf25b310d6915fac167262226c3.png)  
 ![изображение](https://eos-community.web.cern.ch/uploads/default/original/1X/fa38038e6cab24161c5cafe50bf437278e6d4752.png)  
 ![изображение](https://eos-community.web.cern.ch/uploads/default/original/1X/bada86e173e395d2a8309a1106bb1a1b7515c1bc.png)  
 ![изображение](https://eos-community.web.cern.ch/uploads/default/original/1X/6d96497cd9aea2f207a16663e07ecef924379261.png)  
 ![изображение](https://eos-community.web.cern.ch/uploads/default/original/1X/6c2d42a54d6bb2216b4cbd0787934ac4a5343c01.png)  
}  
From user, from UI:  
{  
 ![изображение](https://eos-community.web.cern.ch/uploads/default/original/1X/9e4503857a3077799647b7ef9dc5f0105a13ec4b.png)  
}  
The user has not permission to change attributes.  
From root:  
{  
 ![изображение](https://eos-community.web.cern.ch/uploads/default/original/1X/e82ac1596c9d0481ac087386e5754531923dc97f.png)  
}  
Again from user:  
{  
 ![изображение](https://eos-community.web.cern.ch/uploads/default/original/1X/b7384608788333c705cf1a6b2c359fd1d2aed0d0.png)  
 ![изображение](https://eos-community.web.cern.ch/uploads/default/original/1X/6d61b17258ec03e022ac0da7df8d54998851edda.png)  
 ![изображение](https://eos-community.web.cern.ch/uploads/default/original/1X/83ab47757314081129c95532007d78faa002a685.png)  
 ![изображение](https://eos-community.web.cern.ch/uploads/default/original/1X/39f218ffde6f320019d95f4c70a3334eb41b575e.png)  
}  
And from root:  
{  
 ![изображение](https://eos-community.web.cern.ch/uploads/default/original/1X/366bee4c2db7db9b8eeb70294d1a959b9ed6cafa.png)  
}

And mgm log:

> **[CERNBox](https://cernbox.cern.ch/index.php/s/YvH0f0T9jW0f0Ir)**

---

<div class="post-metadata">

**Author:** ![esindril](https://eos-community.web.cern.ch/user_avatar/eos-community.web.cern.ch/esindril/32/9_2.png) [@esindril](https://eos-community.web.cern.ch/u/esindril)\
**Post date:** [November 2, 2020, 10:30am UTC](https://eos-community.web.cern.ch/t/lru-system-setting/542/18 "2020-11-02T10:30:56Z")

</div>

Hi Andrey,

Thanks for all the info and especially the logs which helped in finding the problem.  
So the issue comes from the fact that you don’t have group `0` in your default space. If no scheduling group is specified explicitly in the convert command the fallback is to use the same space as the original file and group `0` - this means `default.0`.

But in your particular setup, you don’t have such a group. This most likely comes from the way you configured the instance by explicitly avoiding to create the group `0`. The logic in the converter can be improved to select a random group from the current space rather than using this default value - I will fix it in the code for the next release.

In the meantime, as a workaround please also specify the scheduling group in your converter command and thing should work just fine - for example use `default.1`. Alternatively, you can also create the `default.0` scheduling group by adding a few filesystems to it and then the command will work as it is.

Let me know if this fixes you issue and thanks for this report.

Cheers,  
Elvin

---

<div class="post-metadata">

**Author:** ![azaroche](https://eos-community.web.cern.ch/letter_avatar_proxy/v4/letter/a/f9ae1b/32.png) [@azaroche](https://eos-community.web.cern.ch/u/azaroche)\
**Post date:** [November 2, 2020, 2:53pm UTC](https://eos-community.web.cern.ch/t/lru-system-setting/542/19 "2020-11-02T14:53:53Z")

</div>

Thanks for the help, but, unfortunately, I have not to result now.

1. “specify the scheduling group in your converter command”:  
user.foced.group:  
 ![изображение](https://eos-community.web.cern.ch/uploads/default/original/1X/0bd6dc67d3103c576569cdab3d7587d3bcaa00d3.png)  
Or sys.forced.group  
 ![изображение](https://eos-community.web.cern.ch/uploads/default/original/1X/97ce3db37181e90c9145a43eb57fcec6dab399a8.png)  
I have one result:  
 ![изображение](https://eos-community.web.cern.ch/uploads/default/original/1X/12ec0b29fb08aed350ac965beea88fde4b592d40.png)

MGM log: [https://cernbox.cern.ch/index.php/s/ejIWSqJ3cN5svUp](https://cernbox.cern.ch/index.php/s/ejIWSqJ3cN5svUp)

1. With group default.0:  
Group created:  
 ![изображение](https://eos-community.web.cern.ch/uploads/default/original/1X/6300d257274153cdce72445193328c1597e90d39.png)  
But:  
 ![изображение](https://eos-community.web.cern.ch/uploads/default/original/1X/5af182e222fe44e05897b64363f8ffd819127df6.png)  
(One note!! “user.forced.group” is not work)  
 ![изображение](https://eos-community.web.cern.ch/uploads/default/original/1X/7a3e02d65f214c3a27eb7d4378c7112c2a39ef40.png)  
And I see again:  
 ![изображение](https://eos-community.web.cern.ch/uploads/default/original/1X/d19097fd0f9d3a79160da7694a0af500313be4fa.png)

Mgm log file for group defoult.0: [https://cernbox.cern.ch/index.php/s/97QAsaxtGvOHxxW](https://cernbox.cern.ch/index.php/s/97QAsaxtGvOHxxW)

---

<div class="post-metadata">

**Author:** ![esindril](https://eos-community.web.cern.ch/user_avatar/eos-community.web.cern.ch/esindril/32/9_2.png) [@esindril](https://eos-community.web.cern.ch/u/esindril)\
**Post date:** [November 2, 2020, 3:09pm UTC](https://eos-community.web.cern.ch/t/lru-system-setting/542/20 "2020-11-02T15:09:27Z")

</div>

Hi Andrey,

You need to specify the scheduling group to the `file convert` command as follows:

```auto
eos file convert --rewrite <your_file> default.1 gathered:RU::PNPI

```

Then if you want to add the `default.0` group you need to put at least two file systems in it since this is a two replica layout. Give it one more try and let me know.

Cheers,  
Elvin

[Next page](https://eos-community.web.cern.ch/t/lru-system-setting/542.md?page=2)
