The drive instance can have different states in its lifecycle. Here are the following of each state of the drive.
|NotStarted||The Drive waits for the minimal count of Storage Replicator Nodes|
|Pending||The Drive waits for the end of the Drive or the payment next billing period.|
|InProgress||The Drive contract is being executed|
|Finished||The Drive is terminated or it is over.|
- When it is waiting for the start of the next billing period.
- When it is waiting for the end of the Drive.
In this state any Storage Replicator Node or the Storage Director Node can start verify Storage Replicator Nodes that they are still saving user's data. During billing period the Drive has this state and continues billing period blocks. After billing period blocks, the Drive goes to the Pending state.
The Drive has the Finished state when the duration is over or Drive doesn't contain XPX on the balance of the account for the next billing period. This means that Storage Replicator Nodes should no longer store the user's data. When the Drive goes to the Finished state, Blockchain returns deposits (both for participation in the Drive and for files) to Storage Replicator Nodes. When the Drive is finished, any transaction related to the Drive is impossible, besides the reward transaction if the Drive account has SM on balance.