Skip to content

Instantly share code, notes, and snippets.

@natefoo
Created April 3, 2025 16:41
Show Gist options
  • Save natefoo/1b5826511ea026ba762563124633e8a4 to your computer and use it in GitHub Desktop.
Save natefoo/1b5826511ea026ba762563124633e8a4 to your computer and use it in GitHub Desktop.

Untested Galaxy object store configuration with nested distributed objects stores that allow moving between permanent and scratch

type: distributed
search_for_missing: false
backends:
  - type: distributed
    search_for_missing: false
    allow_selection: true
    name: "Permanent"
    backends:
      - id: permanent1
        type: disk
        device: data1
        store_by: uuid
        weight: 1
        private: false
        files_dir: /data1/objects
        extra_dirs:
          - type: job_work
            path: /data1/jobs
      - id: permanent2
        type: disk
        device: data2
        store_by: uuid
        private: false
        weight: 1
        files_dir: /data2/objects
        extra_dirs:
          - type: job_work
            path: /data2/jobs
  - type: distributed
    search_for_missing: false
    allow_selection: true
    name: "Scratch"
    backends:
      - id: scratch1
        type: disk
        device: data1
        store_by: uuid
        weight: 1
        private: false
        files_dir: /data1/objects
        extra_dirs:
          - type: job_work
            path: /data1/jobs
      - id: scratch2
        type: disk
        device: data2
        store_by: uuid
        private: false
        weight: 1
        files_dir: /data2/objects
        extra_dirs:
          - type: job_work
            path: /data2/jobs
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment