calculating checksums

88 views
Skip to first unread message

Alex Greif

unread,
Sep 26, 2014, 5:40:56 AM9/26/14
to irod...@googlegroups.com
Hi,

i plan to migrate Files from a legacy system to irods.
In the legacy system we have md5 checkums.

AFAIK irods uses SHA checksums.

Is there a way that I can verify that the irods (SHA) checksums correspond to my provided MD5 checksums?

On (https://wiki.irods.org/index.php/iput) the --hash is mentioned, but in icommands (irods 4.0.3) it is missing unfortunately. If --hash would exist, my problem would be solved easyly.

thanks,
ALex. 

Adil Hasan

unread,
Sep 26, 2014, 5:45:17 AM9/26/14
to irod...@googlegroups.com
Hello Alex,
perhaps a clumsy way would be to compute the md5, compare, if the same
then compute the SHA for the data and then store in iRODS and compare SHA
that way you'd have done the mapping. Depending on how many files you have
it can probably take a fair bit of time to do, but it's scriptable.
I'm not sure if that's helpful,
adil
> --
> --
> "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
>
> ---
> You received this message because you are subscribed to the Google Groups "iRODS-Chat" group.
> To unsubscribe from this group and stop receiving emails from it, send an email to irod-chat+...@googlegroups.com.
> For more options, visit https://groups.google.com/d/optout.

Alex Greif

unread,
Sep 26, 2014, 5:59:33 AM9/26/14
to irod...@googlegroups.com
I think I found a solutiuon:
in the ~/.irods/.irodsEnv I can set the following:
irodsDefaultHashScheme 'MD5'

another possibility would be to set this in the global /etc/irods/server.config
default_hash_scheme MD5

Alex.
Reply all
Reply to author
Forward
0 new messages