Difference between revisions of "Storage"

From Public PIC Wiki
Jump to navigation Jump to search
(Created page with "= Tape = Status and attributes of tape-backed storage can be accessed through special dot commands. Some of them are listed here: https://www.dcache.org/manuals/Book-10.2/r...")
 
 
Line 6: Line 6:
 
Some of them are listed here: https://www.dcache.org/manuals/Book-10.2/rf-dot-commands.shtml
 
Some of them are listed here: https://www.dcache.org/manuals/Book-10.2/rf-dot-commands.shtml
  
For example:
 
  
 +
== Check folder tags ==
  
To check if a folder is backed by tape or not, you can use the `grep "" $(cat  ".(tags)()")`
+
To check if a folder is backed by tape or not, you can use the <code>grep "" $(cat  ".(tags)()")</code>
  
 
On a tape-backed folder you will see something like this.
 
On a tape-backed folder you will see something like this.
Line 31: Line 31:
 
     .(tag)(RetentionPolicy):REPLICA
 
     .(tag)(RetentionPolicy):REPLICA
 
     .(tag)(storage_group):vo-incaem
 
     .(tag)(storage_group):vo-incaem
 +
 +
== File locality ==
 +
 +
    $ cat ".(get)(test_500M_1)(locality)"
 +
    ONLINE

Latest revision as of 15:43, 9 January 2025

Tape

Status and attributes of tape-backed storage can be accessed through special dot commands.

Some of them are listed here: https://www.dcache.org/manuals/Book-10.2/rf-dot-commands.shtml


Check folder tags

To check if a folder is backed by tape or not, you can use the grep "" $(cat ".(tags)()")

On a tape-backed folder you will see something like this.

   [torradeflot@tds280 albag20240319044]$ grep "" $(cat  ".(tags)()")
   .(tag)(AccessLatency):NEARLINE
   .(tag)(file_family):tape
   .(tag)(file_family_width):1
   .(tag)(file_family_wrapper):cpio_odc
   .(tag)(library):IBML8
   .(tag)(OSMTemplate):StoreName vo-incaem
   .(tag)(RetentionPolicy):CUSTODIAL
   .(tag)(sGroup):incaem
   .(tag)(storage_group):vo-incaem

In a non-tape folder:

   [torradeflot@tds280 incaem]$ grep "" $(cat  ".(tags)()")
   .(tag)(AccessLatency):ONLINE
   .(tag)(file_family):incaem
   .(tag)(RetentionPolicy):REPLICA
   .(tag)(storage_group):vo-incaem

File locality

   $ cat ".(get)(test_500M_1)(locality)"
   ONLINE