Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Open
rjsears opened this issue Oct 9, 2023 · 0 comments
Open

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

rjsears opened this issue Oct 9, 2023 · 0 comments

Comments

@rjsears
Copy link

rjsears commented Oct 9, 2023

# 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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant