GithubHelp home page GithubHelp logo

Comments (6)

michael-conway avatar michael-conway commented on June 20, 2024

from irods_client_nfsrods.

trel avatar trel commented on June 20, 2024

We've settled on reporting zeroes for now since anything else would be misleading.

  • There is no 'actual' number (iRODS has multiple resources, possibly including AWS S3...).
  • Arbitrary 'ReallyBigNumber' is misleading and could cause certain problems to other programs using that information to make decisions.
  • Zero is a known pattern for other 'silent' mountpoints.

If there are good ideas, please share - otherwise, we're going with 0 for now.

from irods_client_nfsrods.

anderbubble avatar anderbubble commented on June 20, 2024

We're working on deploying quota support as seen here:

https://github.com/irods/irods_policy_examples/blob/master/irods_policy_logical_quotas.re

I'd love to have these quotas reflected in the df output. Maybe there should just be a standard set of irods metadata that should get reported out via NFSRODS? Or maybe it should read df data out of a PEP? (Sorry if these are the wrong terms; let me know if this isn't clear.)

from irods_client_nfsrods.

michael-conway avatar michael-conway commented on June 20, 2024

from irods_client_nfsrods.

anderbubble avatar anderbubble commented on June 20, 2024

To be fair, I think the current state is "nonexistent" except that we asked for it and that policy is what came out. :) We haven't deployed or tested it yet; but that's basically my next step for our environment (in competition with "get NFSRODS to work").

from irods_client_nfsrods.

trel avatar trel commented on June 20, 2024

The linked logical quotas policy is for 'all users' under a particular logical path. It handles keeping track of totals in the system via pre- and post- PEPs when data is added/removed from the system.
They possibly could be represented to df in the way you're describing - however...

iRODS also has the concept of both total and per-resource quotas as defined per-user and per-group. I can't figure out how to represent those to df at this time - or whether they get in the way at all.

Also, NFSRODS is only a single iRODS client - so we'd need to think through what representing 'capacity' means for other clients and how they can be fairly informed of the same type of information.

from irods_client_nfsrods.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.