sharedfs has no effect in 'eos fs add' command
(Using gitlab-registry.cern.ch/dss/eos/eos-all:5.2.22)
According to docs and the help output:
fs add [-m|--manual <fsid>] <uuid> <node-queue>|<host>[:<port>] <mountpoint> [<space_info> [<status> [<sharedfs>]]]
add and assign a filesystem based on the unique identifier of the disk <uuid>
-m|--manual : add with user specified <fsid> and <space>
<fsid> : numeric filesystem id 1...65535
<uuid> : unique string identifying current filesystem
<node-queue> : internal EOS identifier for a node e.g /eos/<host>:<port>/fst
it is preferable to use the host:port syntax
<host> : FQDN of host where filesystem is mounter
<port> : FST XRootD port number [usually 1095]
<mountponit> : local path of the mounted filesystem e.g /data/
<space_info> : space or space.group location where to insert the filesystem,
if nothing is specified then space "default" is used. E.g:
default, default.7, ssd.3, spare
<status> : set filesystem status after insertion e.g off|rw|ro|empty etc.
<sharedfs> : set the name of a shared filesystem
The 'sharedfs' parameter can be set when adding a FS.
However this seems to have no effect:
[root@eos-fst-2 /]# eos -r 0 0 fs add `uuidgen` eos-fst-2.eos-fst.eos.svc.kermes-dev.local:1095 /eos-storage/eos-data/eos-fst-3 default rw cephfs
success: mapped '23c65f0d-951c-44aa-bec6-842e5c771000' <=> fsid=4
[root@eos-mgm-0 /]# eos fs status 4 |grep shared
It can only be set by 'eos fs config' on an existing FS:
[root@eos-mgm-0 /]# eos fs config 1 sharedfs=cephfs
[root@eos-mgm-0 /]# eos fs status 1 |grep shared
sharedfs := cephfs
Edited by Ryan Taylor