Skip to content

Two nvme drives full of plots, will only send from one.... #13

@rjsears

Description

@rjsears
# SOURCES = glob.glob('/mnt/*')
SOURCES = ['/mnt/nvme_drive1', '/mnt/nvme_drive0']

DESTS = [
'chianas03:/mnt/enclosure0/front/column0/drive2',
'chianas03:/mnt/enclosure0/front/column2/drive12',
'chianas03:/mnt/enclosure0/front/column2/drive13',
'chianas03:/mnt/enclosure0/front/column2/drive14',
'chianas03:/mnt/enclosure0/front/column2/drive15'
]

# Only send 1 plot at a time, regardless of source/dest. 
ONE_AT_A_TIME = False

# Each plot source can have a lock, so we don't send more than one file from
# that origin at any given time.
ONE_PER_DRIVE = True

root@plotripper03:~/plow# ./plow_chianas03.py
🌱 Plow running...
watching /mnt/nvme_drive1
watching /mnt/nvme_drive0
🧑‍🌾 plowing to chianas03:/mnt/enclosure0/front/column0/drive2
🚜 /mnt/nvme_drive1/plot-k32-c05-2023-10-09-01-04-35672f19ef42669deeec800d1452716b7504f54c5cbb451d5f5acdc258fae0f6.plot ➡️ chianas03:/mnt/enclosure0/front/column0/drive2
🧑‍🌾 plowing to chianas03:/mnt/enclosure0/front/column2/drive12
🧑‍🌾 plowing to chianas03:/mnt/enclosure0/front/column2/drive13
🧑‍🌾 plowing to chianas03:/mnt/enclosure0/front/column2/drive14
🧑‍🌾 plowing to chianas03:/mnt/enclosure0/front/column2/drive15

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions