I have two drivepools on my server. My main drivepool (E:) contains drives in two 8 bay usb enclosures and is roughly 80tb. My second drivepool (Z:) is 48 4tb drives in two 24 bay jbods that are connected to my server via HD MiniSAS cables connected to an internal HBA. The second drive pool is meant to be used as a backup destination for my primary drivepool.
The 24 bay JBODs are VERY loud, even when I have turned their fans all the way down. They are server grade equipment, so they are built well and designed to keep the drives cool (at the expense of our ears )
I am in the process of writing a script which will run nightly while we are asleep to do the following -
power on both JBODs (which will cause the second drive pool to automatically appear in the OS once all of the disks are back online)
Robocopy mirror each disk from the main drivepool to it's respective folder on the second drive pool (IE f: -> z:\f\; g: -> z:\g\; etc)
Once all Robocopies have finished, gracefully shut down the second drivepool (THIS IS THE PART I'M NOT SURE HOW TO DO)
power off both JBODs (saving on energy and lessening the ambient noise in our house)
I'm pretty sure If i just power off both JBODs after the robocopies have finished when the JBODs power on the next time they will need to re-measure and check the pool. I am worried that if they are in the process of doing this when the next Robocopy finishes and the JBODs are powered off again that there may be corruption in the pool.
I should probably mention that both pools have no duplication settings, and the primary pool has balancing turned off (mostly to limit the amount of writing that has to happen to the secondary drive pool, I am not firmly set that this is necessary at this point, but that's how it's set up at the moment).
Is there a way to gracefully shutdown or take offline a drivepool via the command line? I have done some reading on dpcmd, but i'm not sure if any of it's commands would work. I'm thinking maybe ignoring all poolparts at the end of my script, and adding the pool parts back in at the beginning of my script might work, but wanted to reach out to the professionals before I tinker with it too much...
Question
snarfsmojo
A little backstory first
I have two drivepools on my server. My main drivepool (E:) contains drives in two 8 bay usb enclosures and is roughly 80tb. My second drivepool (Z:) is 48 4tb drives in two 24 bay jbods that are connected to my server via HD MiniSAS cables connected to an internal HBA. The second drive pool is meant to be used as a backup destination for my primary drivepool.
The 24 bay JBODs are VERY loud, even when I have turned their fans all the way down. They are server grade equipment, so they are built well and designed to keep the drives cool (at the expense of our ears
)
I am in the process of writing a script which will run nightly while we are asleep to do the following -
I'm pretty sure If i just power off both JBODs after the robocopies have finished when the JBODs power on the next time they will need to re-measure and check the pool. I am worried that if they are in the process of doing this when the next Robocopy finishes and the JBODs are powered off again that there may be corruption in the pool.
I should probably mention that both pools have no duplication settings, and the primary pool has balancing turned off (mostly to limit the amount of writing that has to happen to the secondary drive pool, I am not firmly set that this is necessary at this point, but that's how it's set up at the moment).
Is there a way to gracefully shutdown or take offline a drivepool via the command line? I have done some reading on dpcmd, but i'm not sure if any of it's commands would work. I'm thinking maybe ignoring all poolparts at the end of my script, and adding the pool parts back in at the beginning of my script might work, but wanted to reach out to the professionals before I tinker with it too much...
TIA for any help / suggestions you can provide
Link to comment
Share on other sites
7 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.