Hello!
I’ve set up an EOS cluster with separate FST nodes:
[root@master1 ~]# eos node ls
┌──────────┬────────────────────────────────┬────────────────┬──────────┬────────────┬────────────────┬─────┐
│type │ hostport│ geotag│ status│ activated│ heartbeatdelta│ nofs│
└──────────┴────────────────────────────────┴────────────────┴──────────┴────────────┴────────────────┴─────┘
nodesview fst1.eos:1095 local::geo online on 1 0
nodesview fst2.eos:1095 local::geo online on 1 0
nodesview fst3.eos:1095 local::geo online on 1 0
nodesview fst4.eos:1095 local::geo online on 1 0
nodesview fst5.eos:1095 local::geo online on 1 0
but I see no FS and groups available:
[root@master1 ~]# eos group ls
[root@master1 ~]# eos fs ls
though, I have default space created:
[root@master1 ~]# eos space ls -l
┌──────────┬────────────────┬────────────┬────────────┬──────┬─────────┬───────────────┬──────────────┬─────────────┬─────────────┬──────┐
│type │ name│ groupsize│ groupmod│ N(fs)│ N(fs-rw)│ sum(usedbytes)│ sum(capacity)│ capacity(rw)│ nom.capacity│ quota│
└──────────┴────────────────┴────────────┴────────────┴──────┴─────────┴───────────────┴──────────────┴─────────────┴─────────────┴──────┘
spaceview default 0 24 0 0 0 B 0 B 0 B 0 B off
----------------------------------------------------------------------------------------------------------------------------------------
I can create directories, so metadata gets stored, but can’t create files:
[root@master1 ~]# eos mkdir /eos/dev/test/qqqq
[root@master1 ~]# eos cp /etc/passwd /eos/dev/test
error: target file open failed - errno=28 : No space left on device [[ERROR] Error response: no space left on device]
error: failed copying path=root://localhost//eos/dev/test/passwd
#WARNING [eos-cp] copied 0/1 files and 0 B in 0.05 seconds with 0 B/s
[root@master1 ~]# eos ls /eos/dev/test
qqqq
Please help me understand what I miss for storing data.
So far, I’ve got “u:eosnobody g:eosnobody n:eosnobody” in both /etc/eos.keytab and /etc/eos/fuse.sss.keytab, copied across all nodes, but on master1.eos I have no groups:
[root@master1 ~]# eos group ls
and an error in /var/log/eos/mgm/Clients.log:
240118 13:55:25 INFO [00099/00099] - ::IdMap sec.prot=sss sec.name="eosnobody" sec.host="fst5.eos" sec.vorg="" sec.grps="eosnobody" sec.role="" sec.info="" sec.app="" sec.tident="root.1025:418@fst5" vid.uid=99 vid.gid=99 sudo=0 gateway=0
240118 13:55:25 INFO [00099/00099] eosnobody ::open op=read path=/proc/admin/ info=mgm.cmd.proto=MigSJhokNmI3ZDM3Y2YtMTY2ZC00YjhjLWI3YjUtNWQ3MTc0NGI4ZGZh
240118 13:55:25 ERROR [00099/00099] eosnobody ::Emsg Unable to execute proc command - you don't have the requested permissions for that operation (2) /proc/admin/; Operation not permitted
The main entry you need is for the ‘daemon’ in /etc/eos.keytab
The order in the file is also important. For the time being you can delete the eosnfsnobody entry and this should resolve the problem.
You can also try on the FST:
env XrdSecPROTOCOL=sss eos root://master1 whoami
And it should say, that you are daemon and not eosnfsnobody !