Ticket #97 (closed feature: fixed)

Opened 8 months ago

Last modified 8 months ago

Improved display options for the SrmSpaceManager 'ls' command (Doris #2606)

Reported by: patrick Assigned to: litvinse
Priority: major Milestone: 1.8.0-14
Component: srm Version: 1.8.0
Keywords: space manager, ls-command, options, display Cc:
Sub Version:

Description

Hi supporters, The SpaceManager is not easy to use for us as a big site, so it would be nice if you could create some admin commands to make my life easier. Maybe this does not need lots of code changes, so what I mean would be:

At the moment I do in the SrmSpaceManager:

************************************************************************ ***********************************************

"Ls" And I get an awful long list of reservations (SRM1 is still used and for each request its own reservation is done) followed by the list of LinkGroups?, so I have to look for the number before the linkGroup I am interested in.

-> I would prefer to do "ls atlas-tape-linkGroup" directly since I know my linkGroups but not the id's by heart.

Then: The output of "ls 7"

Reservations: Space with id=7 not found

LinkGroups?: 7 Name:atlas-tape-linkGroup FreeSpace:16001494546358 ReservedSpace:5046364738436 AvailableSpace:10955129807922 VOs:{atlas001:*} onlineAllowed:false nearlineAllowed:true replicaAllowed:false custodialAllowed:true outputAllowed:true UpdateTime:Thu Mar 13 18:08:20 CET 2008(1205428100127)

-> I would like to see all reservations within this linkGroup maybe with an extra option like "ls -a atlas-tape-linkGroup" returns the linkGroup including all its reservations. And maybe something like "ls -l atlas-tape-linkGroup" returning all linkGroups which have a meaningfull description, so excluding the onces done for SRM_v1 transfers on a file basis. And "ls" without a parameter would only return the linkGroup without reservation.

************************************************************************ ***********************************************

Also I know the reservations I have done, that is I know the description and not the id for this description, so if I want further information about this reservation I need to check the id of the linkGroup then look through the long list of reservations to find one with the correct linkGroupId and check if the description is correct and take the id of this reservation then I can do: (this simply is not usable so what we do: we safe this id in our wiki. This is not really nice there will be the time where we forget to save this option).

The output of "ls 745824" Reservations: 745824 voGroup:atlas001 voRole:production linkGroupId:7 size:5000000000000 created:Thu Jan 31 09:49:09 CET 2008 lifetime:-1ms expiration:NEVER descr:ATLASDATATAPE state:RESERVED used:55841138152 allocated:0

LinkGroups?: LinkGroup? with id=745824 not found

-> I would like to do something like "ls ATLASDATATAPE" and would get something like:

Reservations: 745824 voGroup:atlas001 voRole:production linkGroupId:7 size:5000000000000 created:Thu Jan 31 09:49:09 CET 2008 lifetime:-1ms expiration:NEVER descr:ATLASDATATAPE state:RESERVED used:55841138152 allocated:0

LinkGroups?: 7 Name:atlas-tape-linkGroup FreeSpace:16001494546358 ReservedSpace:5046364738436 AvailableSpace:10955129807922 VOs:{atlas001:*} onlineAllowed:false nearlineAllowed:true replicaAllowed:false custodialAllowed:true outputAllowed:true UpdateTime:Thu Mar 13 18:08:20 CET 2008(1205428100127)

************************************************************************ ***********************************************

-> Also it would be nice to ask for something like all reservations for a particular VO

************************************************************************ ***********************************************

-> or other wide cards

************************************************************************ ***********************************************

If you prefer you simply could add some new commands like "ls linkGroup -l" or however you want to call it, just as an example.

That would be really nice.

Cheers, Doris

Change History

03/22/08 23:22:26 changed by patrick

  • summary changed from Improved display options for the SrmSpaceManager 'ls' command (Doris #2606) + < Prev + Next > + Last >> o #2606 + Display + History + Basics + Dates + People + Links + Jumbo * Tools * Configuration * Preferences * Approval #2606 to Improved display options for the SrmSpaceManager 'ls' command (Doris #2606).

03/31/08 08:50:21 changed by tigran

  • status changed from new to closed.
  • resolution set to fixed.