For an iput targetting a resource marked as down, the default resource is used instead without a warning

10 views
Skip to first unread message

Francisco Morales

unread,
Oct 3, 2025, 2:06:38 AM (6 days ago) Oct 3
to iRODS-Chat
Hi,

I have noticed that if an irods resource is marked as down, and an put attempts to upload a file to that resource, the iput command completes successfully using the default resource instead without warning. This is an issue because the default resource is not intended to store data and it can be filled up quickly without a warning.

The documentation (https://docs.irods.org/4.3.4/icommands/administrator/) says:

"Setting the resource status to 'down' will cause iRODS to ignore that
resource and bypass communications with that server."

What I would expect, is something like this:

1. Execute: iput -R myresc_down myfile 
2. The iput command returns a warning message stating that the resource myresc_down is marked as down and that the default resc will be used instead. This message should also appear in the irods log
3. The iput command has a flag to override the default behavior and simply fail in case the resource is down.

PS:  checked the documentation, google groups conversations, and github issues, but I didn't find a conversation about this behavior.

Thanks for your attention, 

Francisco

Terrell Russell

unread,
Oct 3, 2025, 7:46:18 AM (5 days ago) Oct 3
to irod...@googlegroups.com
Thanks Francisco,

There are a number of places where 'down' behaves inconsistently / incorrectly.
This is exhibiting an inherent conflict between a direct configuration and policy execution.

Option 2 is where we're leaning... (removal of 'up/down' itself, replacing with hierarchy resolution)

Until that is implemented and carefully rolled out, I would suggest pointing the resource default elsewhere and/or carefully monitoring the default resource for surprising usage (maybe this is how you already noticed the behavior you're seeing).

Terrell





--
--
The Integrated Rule-Oriented Data System (iRODS) - https://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.
To view this discussion visit https://groups.google.com/d/msgid/irod-chat/142be1bf-c0ea-42d8-aa21-ce0c89f39888n%40googlegroups.com.

Francisco Morales

unread,
Oct 3, 2025, 7:55:58 AM (5 days ago) Oct 3
to iRODS-Chat
Hi Terrell, 

Thanks for sharing the extra information and the current state regarding down resources. Yes, we'll deal with the downed resources somehow else.

Best regards, 
Francisco
Reply all
Reply to author
Forward
0 new messages