I'm using Drivepool (without duplication) in combination with Snapraid. This is working well, but there is a issue I would like to solve - Snapraid doesn't tolerate writing to the disk while it's running a sync (creating a snapshot). Most of the time this isn't a problem, as my daily sync is scheduled late in the morning after any backups or similar would usually have completed. However, periodically the sync will overlap with other activity causing it to fail - for example, when a full backup is being written (and so takes longer), or the sync includes a full backup (which takes longer to calculate parity).
What I thought I could do is add another disk and use the SSD Optimizer plugin to create a landing zone. This would be in the pool, but not protected by Snapraid, which would allow for writes to happen without interfering with Snapraid if a sync is running. Now most of the time I'd want this to balance pretty quickly, but only if a sync isn't running. What would be ideal was if there a way to enable/disable balancing from the command line - then the script I use to run my daily sync could disable balancing as it starts, and re-enable it once complete. Is this possible?
Question
exterrestris
I'm using Drivepool (without duplication) in combination with Snapraid. This is working well, but there is a issue I would like to solve - Snapraid doesn't tolerate writing to the disk while it's running a sync (creating a snapshot). Most of the time this isn't a problem, as my daily sync is scheduled late in the morning after any backups or similar would usually have completed. However, periodically the sync will overlap with other activity causing it to fail - for example, when a full backup is being written (and so takes longer), or the sync includes a full backup (which takes longer to calculate parity).
What I thought I could do is add another disk and use the SSD Optimizer plugin to create a landing zone. This would be in the pool, but not protected by Snapraid, which would allow for writes to happen without interfering with Snapraid if a sync is running. Now most of the time I'd want this to balance pretty quickly, but only if a sync isn't running. What would be ideal was if there a way to enable/disable balancing from the command line - then the script I use to run my daily sync could disable balancing as it starts, and re-enable it once complete. Is this possible?
Link to comment
Share on other sites
1 answer to this question
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.