Created
June 3, 2021 18:29
-
-
Save mohit242/c6809458758f1d205f9e4e15ee149817 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
sudo mount -t xfs -o discard /dev/md0 /mnt/temp | |
sudo mount /dev/sdb /mnt/staging | |
sudo rm /mnt/temp/* || true | |
# add python script for dynamic hdd destination loading and copying over staging to destination | |
screen -dm -S staging bash -c "python copy-script.py" | |
screen -dm -S logging bash -c "while sleep 600; do plotman status >> plotman_log.txt; done" | |
screen -dm -S plotting bash -c "plotman plot" | |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment