Jump to content

Question

Posted

Is it possible to command DP to set the pool in a "Read-Only" state so that no writes can happen through the pool itself? And to revert this change on command later?
I believe it does this when there is no valid license or a drive is missing. But I am looking to schedule this for specific tasks that need the data to stay static while they run. After these tasks are complete the drive could be set back to a normal state.

1 answer to this question

Recommended Posts

  • 0
Posted

Short answer: there is no command that directly toggles a pool Read-Only.

As a workaround, if you add a drive* to the pool and then use the Drive Usage Limiter to instruct DrivePool to never use it, you can use the dpcmd ignore-poolpart and dpcmd unignore-poolpart administrator commands to make that poolpart drive go temporarily "missing" which will result in the pool being read-only in the interim (without any files becoming unavailable, because none are on that poolpart). However note that this will also result in DrivePool remeasuring the pool afterwards.

You may also be interested in the DrivePool_RunningFile setting (link) to help detect when DrivePool is performing any background tasks (e.g. remeasuring).

*for example you could add a small USB thumb drive, or partition off a tiny volume from a larger drive

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Answer this question...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Loading...
×
×
  • Create New...