Open Narushima2030 opened 1 month ago
What version of iRODS is your NFSRODS server communicating with?
Aside from the iRODS version, I could not reproduce this against iRODS 4.3.2. Are you able to reproduce this consistently?
Are there any log messages in the iRODS server log related to the error?
Thank you for your reply.
The version of irods you are communicating with is 4.3.2
ubuntu@dmsirods:~$ ienv
irods_version - 4.3.2
nfsrods is built with 2.3.0.
2024-05-30 05:14:53.244 INFO Thread 1 [ServerMain] - Build time => 2024-05-22T06:09:37+0000
2024-05-30 05:14:53.244 INFO Thread 1 [ServerMain] - Build version => 2.3.0
2024-05-30 05:14:53.244 INFO Thread 1 [ServerMain] - Build SHA => ec7b053c774722ced98e033bc901c25c58167f5c
2024-05-30 05:14:53.398 INFO Thread 1 [ServerMain] - Main - Server config ==> {
Server side error log not found. I checked the irods related logs in /var/log/syslog but there don't seem to be any logs related to this error.
Sorry, I don't think I'm providing any useful information.
Is there any other information I need to provide?
Are you able to reproduce the issue consistently?
Yes, I will reproduce it. Check the phenomenon again.
Prepare a test file.
ubuntu@dmsirods:~$ ls -la |grep testfile
-rw-rw-r-- 1 ubuntu ubuntu 34 May 30 11:44 testfile1
-rw-rw-r-- 1 ubuntu ubuntu 34 May 30 14:35 testfile2
-rw-rw-r-- 1 ubuntu ubuntu 34 Jun 13 08:49 testfile3
Initially, the only file registered in iRODS is testfile1.
ubuntu@dmsirods:~$ ils -L
/rikenZone/home/rods:
rods 0 dmsresc 34 2024-06-12.09:33 & testfile1
generic /home/irodsResc/home/rods/testfile1
The iput command can register testfile2 without any problems.
ubuntu@dmsirods:~$ iput testfile2
ubuntu@dmsirods:~$ ils -L
/rikenZone/home/rods:
rods 0 dmsresc 34 2024-06-12.09:33 & testfile1
generic /home/irodsResc/home/rods/testfile1
rods 0 dmsresc 34 2024-06-13.08:51 & testfile2
generic /home/irodsResc/home/rods/testfile2
When testfile3 is placed in the nfsrods area of XXX, a Remote I/O error is output. When checking with ils, testfile3 is registered, but its size is 0.
ubuntu@dmsirods:~$ mount |grep nfs
nfsd on /proc/fs/nfsd type nfsd (rw,relatime)
10.1.19.4:/ on /data type nfs4 (rw,relatime,vers=4.1,rsize=1048576,wsize=1048576,namlen=255,hard,proto=tcp,port=40049,timeo=600,retrans=2,sec=sys,clientaddr=10.1.19.4,local_lock=none,addr=10.1.19.4)
ubuntu@dmsirods:~$ sudo cp testfile3 /data/home/rods/
cp: cannot create regular file '/data/home/rods/testfile3': Remote I/O error
ubuntu@dmsirods:~$ ils -L
/rikenZone/home/rods:
rods 0 dmsresc 34 2024-06-12.09:33 & testfile1
generic /home/irodsResc/home/rods/testfile1
rods 0 dmsresc 34 2024-06-13.08:51 & testfile2
generic /home/irodsResc/home/rods/testfile2
rods 0 dmsresc 0 2024-06-13.08:52 & testfile3
generic /home/irodsResc/home/rods/testfile3
I still haven't been able to reproduce the issue.
I have some questions for you.
sudo
?rods
user account? (sudo
is viewed as the rods
account)Please show the resource information for dmsresc
using ilsresc dmsresc
.
Also, please show the permissions on the home collection for rods
(i.e. ils -A /rikenZone/home/rods
).
Thank you for your reply.
An error is output with or without sudo.
ubuntu@dmsirods:~$ cp testfile3 /data/home/rods/
cp: cannot stat '/data/home/rods/testfile3': Remote I/O error
ubuntu@dmsirods:~$ sudo cp testfile3 /data/home/rods/
cp: cannot stat '/data/home/rods/testfile3': Remote I/O error
I copied a file to the nfsrods directory (/data/home/www-data/) using a different account, but I got the same error message.
www-data@dmsirods:/local/home/ubuntu$ ls -la testfile*
-rw-rw-r-- 1 ubuntu ubuntu 34 May 30 11:44 testfile1
-rwxrwxrwx 1 ubuntu ubuntu 34 May 30 14:35 testfile2
-rw-rw-r-- 1 ubuntu ubuntu 34 Jun 13 08:49 testfile3
-rwxrwxrwx 1 www-data www-data 34 Jun 20 11:05 testfile4
www-data@dmsirods:/local/home/ubuntu$ cp ./testfile1 /data/home/www-data/
cp: cannot create regular file '/data/home/www-data/testfile1': Remote I/O error
www-data@dmsirods:/local/home/ubuntu$ cp ./testfile2 /data/home/www-data/
cp: cannot create regular file '/data/home/www-data/testfile2': Remote I/O error
www-data@dmsirods:/local/home/ubuntu$ cp ./testfile3 /data/home/www-data/
cp: cannot create regular file '/data/home/www-data/testfile3': Remote I/O error
www-data@dmsirods:/local/home/ubuntu$ cp ./testfile4 /data/home/www-data/
cp: cannot create regular file '/data/home/www-data/testfile4': Remote I/O error
ubuntu@dmsirods:~$ ils -L
/rikenZone/home/www-data:
www-data 0 dmsresc 0 2024-06-20.16:41 & testfile1
generic /home/irodsResc/home/www-data/testfile1
www-data 0 dmsresc 0 2024-06-20.16:43 & testfile2
generic /home/irodsResc/home/www-data/testfile2
www-data 0 dmsresc 0 2024-06-20.16:43 & testfile3
generic /home/irodsResc/home/www-data/testfile3
www-data 0 dmsresc 0 2024-06-20.16:43 & testfile4
generic /home/irodsResc/home/www-data/testfile4
The differences from when using nfsrods without any problems are:
Also, please show the permissions on the home collection for rods (i.e. ils -A /rikenZone/home/rods).
The information for dmsresc is as follows:
ubuntu@dmsirods:~$ ils -A /rikenZone/home/rods
/rikenZone/home/rods:
ACL - rods#rikenZone:own
Inheritance - Disabled
testfile1
ACL - rods#rikenZone:own
testfile2
ACL - rods#rikenZone:own
testfile3
ACL - rods#rikenZone:own
ubuntu@dmsirods:~$ ilsresc -l dmsresc
resource name: dmsresc
id: 10013
zone: rikenZone
type: unixfilesystem
location: dmsirods.riken.jp
vault: /home/irodsResc
free space:
free space time: : Never
status:
info:
comment:
create time: 01714111611: 2024-04-26.15:06:51
modify time: 01714111611: 2024-04-26.15:06:51
context:
parent:
parent context:
Could there be a problem with my account or file permissions? I would be grateful if you could give me some examples of correct account information and file permissions.
I get an error when registering files to nfsrods. Please tell me where the problem is.
I am running nfsrods docker on server1(10.1.19.4) and mounting nfsrods on another server:server2(10.1.19.22). On another server:server2(10.1.19.22), I mount nfsrods.
I try to copy the above small file to a directory on nfsrods,
Remote I/O error occurs for some files.
Remote I/O error occurs in testfile2, but not in testfile1. testfile2 shows Remote I/O error.
Only testfile1 is able to execute the cp command.
The iRODS registration process seems to be taking place, but the file size is zero.
The nfsrods docker is outputting the following error in the log. Do you know the cause of the problem?