Currently I have 5 disks of which 4 are Pooled in drivepool. The 5th drive acts as parity drive for Snapraid.
Now I want to add a new drive to the pool.
I can do 2 things, first thing is to simple add new drive to pool and add drive to snapraid config. As drivepool will fill the drives equally I expect all new files going to the newly added drive. My pool is not balancing automatically.
I actually want drivepool to spread all curent data from 4 to 5 drives. But this apposes a risk when moving files and a drive would die, from documentation of Snapraid to move files to new disk they advise following:
In case you need to move files from one data disk of the array to another disk also in the array, the 100% safe way to proceed is:
Copy the files to the new location.
Run a 'diff' command to verify that the just copied files are correctly identified as 'copy'.
Run a 'sync' command.
Delete the files from the original location.
Run again a 'sync' command.
This process gives the guarantee that even if disks die during the sync process, you will be able to recover everything. It also verifies that the hashes of all the moved files are matching the original ones.
I dont think I can achieve above with Drivepool as I do not have option to let drivepool copy files to new disk, then stop balancing process. Run diff and sync command and after resume balancing process so it will remove the copied files from the original location.
Only thing I think of to achieve above is to manually copy files to new disk from existing drives. Run diff and sync command and then manually delete the files from the original location. But this is a lot of work.
Please let me know your thoughts about above or provide me suggestions how I may can achieve what I want
Question
RobinM
Hi all,
Currently I have 5 disks of which 4 are Pooled in drivepool. The 5th drive acts as parity drive for Snapraid.
Now I want to add a new drive to the pool.
I can do 2 things, first thing is to simple add new drive to pool and add drive to snapraid config. As drivepool will fill the drives equally I expect all new files going to the newly added drive. My pool is not balancing automatically.
I actually want drivepool to spread all curent data from 4 to 5 drives. But this apposes a risk when moving files and a drive would die, from documentation of Snapraid to move files to new disk they advise following:
In case you need to move files from one data disk of the array to another disk also in the array, the 100% safe way to proceed is:
This process gives the guarantee that even if disks die during the sync process, you will be able to recover everything. It also verifies that the hashes of all the moved files are matching the original ones.
I dont think I can achieve above with Drivepool as I do not have option to let drivepool copy files to new disk, then stop balancing process. Run diff and sync command and after resume balancing process so it will remove the copied files from the original location.
Only thing I think of to achieve above is to manually copy files to new disk from existing drives. Run diff and sync command and then manually delete the files from the original location. But this is a lot of work.
Please let me know your thoughts about above or provide me suggestions how I may can achieve what I want
Link to comment
Share on other sites
6 answers 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.