close Warning: Can't synchronize with repository "(default)" (/SVN/atlas does not appear to be a Subversion repository.). Look in the Trac log for more information.

Changes between Version 16 and Version 17 of GestionDesDonnees


Ignore:
Timestamp:
Dec 18, 2015 6:50:15 PM (6 years ago)
Author:
/C=FR/O=CNRS/OU=UMR5821/CN=Sabine Crepe-Renaudin/emailAddress=crepe@…
Comment:

--

Legend:

Unmodified
Added
Removed
Modified
  • GestionDesDonnees

    v16 v17  
    2222
    2323== Is my rucio account properly defined ==
     24* After having set up ATLAS environnement (setupATLAS), to enable rucio command do:
     25lsetup rucio
    2426* You can check if you are registered in Rucio in the correct country with the command  [[BR]]
    2527rucio-admin account list-attributes --account myaccount  [[BR]]
     
    2830* To check what quota you have used: rucio list-account-usage myaccount
    2931
     32== How to transfer my data to IN2P3-LPSC_LOCALGROUPDISK ==
     33* for existing data on the grid, use [https://rucio-ui.cern.ch/r2d2/request r2d2] and define a new rule for the dataset
     34
    3035== Data management in IN2P3-LPSC_LOCALGROUPDISK ==
    31 To list the datasets in IN2P3-LPSC_LOCALGROUPDISK:
    32 >
     36* To list the datasets in IN2P3-LPSC_LOCALGROUPDISK:
     37>  rucio list-rules --account=USERNAME
    3338
    34 To know the owner of a dataset replica:
    35 >
     39* To know the owner of a dataset replica, the last time it was used, etc:
     40>  rucio get-metadata name_of_the_file
    3641
    37 To list your datasets replicas:
    38 >
     42* To list your datasets replicas:
     43> rucio list-rules user.USERNAME
    3944
    40 To list their size:
    41 > awk -F"," -v a=0,b=0 '{print $6; a=a+$6; print "total = " a; b=a/1000000000; print "total en Giga = " b}' mesdatasets.txt
     45* To remove your datasets replicas (rucio rules):
     46> $ rucio list-rules user.tkouba:user.tkouba.prun_test2.130307124138
     47ID                                ACCOUNT    SCOPE:NAME                                       STATE[OK/REPL/STUCK    RSE_EXPRESSION               COPIES    EXPIRES (UTC)
     48--------------------------------  ---------  -----------------------------------------------  ---------------------  -------------------------  --------  ---------------
     4907ce2483740b5f0fe05317938a896446  tkouba     user.tkouba:user.tkouba.prun_test2.130307124138  OK[1/0/0]              CERN-PROD_LOCALGROUPDISK          1
     503985bba074ef4d64817b15bf7a2edd4b  tkouba     user.tkouba:user.tkouba.prun_test2.130307124138  OK[1/0/0]              PRAGUELCG2_LOCALGROUPDISK         1
    4251
    43 To remove your datasets replicas:
    44 >
     52$ rucio delete-rule --rse_expression PRAGUELCG2_LOCALGROUPDISK user.tkouba:user.tkouba.prun_test2.130307124138
     53$ #no output means success