Hi,
Thanks.
I have tried. Unfortunately, I'm still seeing errors. The following is what I have/tried:
1. Now "dsmarc" is in "msiExecCmd_bin" directory:
$ ls /var/lib/irods/msiExecCmd_bin/
dsmarc dsmarc.c hello include irodsServerMonPerf Makefile test_execstream.py univMSSInterface.sh.template
2. I created compound ressource:
$ iadmin mkresc cacheResc13 unixfilesystem 'irods_server_FQDN':/var/lib/irods/Vault13
$ iadmin mkresc archiveTsmResc13 univmss 'irods_server_FQDN':/var/lib/irods/Vault13 dsmarc
$ iadmin mkresc compResc13 compound
$ iadmin addchildtoresc compResc13 cacheResc13 cache
$ iadmin addchildtoresc compResc13 archiveTsmResc13 archive $ ilsresc -l compResc13resource name: compResc13
id: 10632
zone: uniTestZone
type: compound
location: EMPTY_RESC_HOST
vault: EMPTY_RESC_PATH
free space:
free space time: : Never
status:
info:
comment:
create time: 01646038535: 2022-02-28.09:55:35
modify time: 01646038535: 2022-02-28.09:55:35
context:
parent:
parent context:
3. Upload a file to irods:
$ nano testi.txt
$ iput -R compResc13 testi.txt
After this iput command, I checked in "/var/lib/irods/log" directory and see the message/error below:
$ nano /var/lib/irods/log/rodsLog.2022.02.26
...
Feb 28 10:09:13 pid:29533 NOTICE: execCmd:../../var/lib/irods/msiExecCmd_bin/dsmarc argv:mkdir '/var/lib/irods/Vault13/home/alice'
Feb 28 10:09:13 pid:29530 remote addresses: <irods_server_ip_address> ERROR: _rsExecCmd: waitpid status = 29533, myExecCmdOut->status = 0, childStatus = 256
Feb 28 10:09:13 pid:29553 NOTICE: execCmd:../../var/lib/irods/msiExecCmd_bin/dsmarc argv:syncToArch '/var/lib/irods/Vault13/home/alice/testi.txt' '/var/lib/irods/Vault13/home/alice/testi.txt'
Feb 28 10:09:13 pid:29530 remote addresses: <irods_server_ip_address> ERROR: _rsExecCmd: waitpid status = 29553, myExecCmdOut->status = 0, childStatus = 256
Feb 28 10:09:13 pid:29530 remote addresses: <irods_server_ip_address> ERROR: [-] /repos/irods/server/api/src/rsFileSyncToArch.cpp:182:int _rsFileSyncToArch(rsComm_t *, fileStageSyncInp_t *, fileSyncOut_t **) : status [UNIV_MSS_SYNCTOARCH_ERR] errno [Transport endpoint is not connected] -- message [fileSyncToArch failed for [/var/lib/irods/Vault13/home/alice/testi.txt]]
[-] /repos/irods/server/drivers/src/fileDriver.cpp:612:irods::error fileSyncToArch(rsComm_t *, irods::first_class_object_ptr, const std::string &) : status [UNIV_MSS_SYNCTOARCH_ERR] errno [Transport endpoint is not connected] -- message [failed to call 'synctoarch']
[-] /repos/irods/plugins/resources/univmss/libunivmss.cpp:648:irods::error univ_mss_file_sync_to_arch(irods::plugin_context &, const char *) : status [UNIV_MSS_SYNCTOARCH_ERR] errno [Transport endpoint is not connected] -- message [univ_mss_file_sync_to_arch: copy of [/var/lib/irods/Vault13/home/alice/testi.txt] to [/var/lib/irods/Vault13/home/alice/testi.txt] failed. stdout buff [(nil)] stderr buff [0x18bc970] status [-344000]]
Feb 28 10:09:13 pid:29530 WARNING: No replica access token in L1 descriptor. Ignoring replica access table. [path=/uniTestZone/home/alice/testi.txt, resource_hierarchy=compResc13;archiveTsmResc13]
Feb 28 10:09:13 pid:29573 NOTICE: execCmd:../../var/lib/irods/msiExecCmd_bin/dsmarc argv:stat '/var/lib/irods/Vault13/home/alice/testi.txt'
Feb 28 10:09:13 pid:29530 remote addresses: <irods_server_ip_address> ERROR: _rsExecCmd: waitpid status = 29573, myExecCmdOut->status = 0, childStatus = 256
Feb 28 10:09:13 pid:29530 remote addresses:<irods_server_ip_address> ERROR: [get_size_in_vault:159] - getSizeInVault error [error_code=[-555107], path=[/uniTestZone/home/alice/testi.txt], hierarchy=[compResc13;archiveTsmResc13]]
Feb 28 10:09:13 pid:29530 remote addresses: <irods_server_ip_address> ERROR: [rsDataObjClose:794] - [UNIV_MSS_STAT_ERR: [update_replica_size_and_throw_on_failure:430] - failed to get size in vault [error_code=[-555107], path=[/uniTestZone/home/alice/testi.txt], hierarchy=[compResc13;archiveTsmResc13]]
]
Feb 28 10:09:13 pid:29530 remote addresses: <irods_server_ip_address> ERROR: [close_replica] - rsDataObjClose failed with [-555107]
4. Moreover, I' m seeing the following repeated message/error, even when I do nothing with irods:
$ nano /var/lib/irods/log/rodsLog.2022.02.26
...
Feb 28 12:11:25 pid:6368 remote addresses: 131.246.121.101, 131.246.121.66 ERROR: [-] /repos/irods/plugins/resources/compound/libcompound.cpp:365:irods::error compound_start_operation(irods::plugin_property_map &) : status [SYS_INVALID_INPUT_PARAM] errno [] -- message [compound resource: invalid number of children [0]]
Feb 28 12:11:55 pid:6403 remote addresses: 131.246.121.101, 131.246.121.66 ERROR: [-] /repos/irods/plugins/resources/compound/libcompound.cpp:365:irods::error compound_start_operation(irods::plugin_property_map &) : status [SYS_INVALID_INPUT_PARAM] errno [] -- message [compound resource: invalid number of children [0]]
Feb 28 12:12:25 pid:6428 remote addresses: 131.246.121.101, 131.246.121.66 ERROR: [-] /repos/irods/plugins/resources/compound/libcompound.cpp:365:irods::error compound_start_operation(irods::plugin_property_map &) : status [SYS_INVALID_INPUT_PARAM] errno [] -- message [compound resource: invalid number of children [0]]
Feb 28 12:12:55 pid:6462 remote addresses: 131.246.121.101, 131.246.121.66 ERROR: [-] /repos/irods/plugins/resources/compound/libcompound.cpp:365:irods::error compound_start_operation(irods::plugin_property_map &) : status [SYS_INVALID_INPUT_PARAM] errno [] -- message [compound resource: invalid number of children [0]]
...
I really don't know how to fix these errors. Am I doing something wrong somewhere? Has someone succeeded to connect irods and tsm, for example by creating compound resource (cache and archive), so that he/she is able to use archive resource from TSM without a problem/error? If yes, please share how you have achieved this? Thanks in advance.
Kind Regards,
Mary