I now get consistent errors that I am unable to explain. If I use my
original command:
irsync -rvV -R resc1 i:/bZone/archive/raw i:/aZone/archive/adb
the output is:
ERROR: rsyncCollToCollUtil: rsyncDataToDataUtil failed for
/aZone/archive/adb/1016508s.mdp.stat=-27150 status = -27150
SYS_COPY_LEN_ERR, Operation now in progress
ERROR: readMsgHeader:header read- read 0 bytes, expect 4, status = -4002
ERROR: readAndProcApiReply: readMsgHeader error. status = -4002 status =
-4002 SYS_HEADER_READ_LEN_ERR, No such file or directory
ERROR: rsyncCollToCollUtil: rsyncDataToDataUtil failed for
/aZone/archive/adb/1016608s.mdp.stat=-4002 status = -4002
SYS_HEADER_READ_LEN_ERR, No such file or directory
ERROR: rsyncUtil: rsync error for /aZone/archive/adb status = -4002
SYS_HEADER_READ_LEN_ERR, No such file or directory
Client Caught broken pipe signal. Connection to server may be down
NOTICE: writeMsgHeader: wrote 0 bytes, expect 140, status = -5032
If I try and copy the one file specifically, using:
irsync -vV -R resc1 i:/bZone/archive/raw/1016508s.mdp
i:/aZone/archive/adb/1016508s.mdp
the output is just:
ERROR: rsyncUtil: rsync error for /aZone/archive/adb/1016508s.mdp status
= -4150 SYS_HEADER_READ_LEN_ERR, Operation now in progress
I thought there might be corruption on zone "b" but the output of ils at
least shows the same size of file as what is actually on the file
system. I also looked at the permissions on zone "a", and nothing
looked out of the ordinary in either the file system or the zone.
However, when I looked at the file on zone "a", irods is reporting a
size of 33187760 bytes, while the file system is only showing 22859498
bytes. It would appear that an irsync was interrupted and has been
failing ever since. That said, what is the proper way to resolve this?
I'm hoping there's a better way than simply deleting the data object and
redoing the sync.
--
"iRODS: the Integrated Rule-Oriented Data-management System; A community driven, open source, data grid software solution" https://www.irods.org
iROD-Chat: http://groups.google.com/group/iROD-Chat
Another (unrelated) question: is there any way to change the umask of
files and directories created with the unix file system driver such that
local access is possible? Right now all files in the vault are 600, and
directories 700 (well, plus what appears to be something like a sticky
bit, the GNU ls man page doesn't go into that). I'd like for local
users to be able to bypass going through the server to get the data,
instead just using the iRODS server to locate the file(s) on the local
file system containing the desired data. The default permissions make
that impossible :-).
Which, according to the solaris man page, means:
"Undefined bit-state (the set-user-ID or set-group-id bit is on and the
user or group execution bit is off). For group permissions, this
applies only to non-regular files."
I set $DefFileMode=0644 and $DefDirMode=0755... and poked around in the
code a bit and didn't see anything obvious...
mw...@diceresearch.org wrote:
> John,
>
> In the file scripts/perl/irodsctl.pl <http://irodsctl.pl>, you can