How to delete a HP Data Protector StoreOnce Software Deduplication store

In one of my earlier blogposts, I mentioned what you could do when you are confronted with a “corrupted” HP Data Protector software StoreOnce store. Today, we decided to delete the deduplication store to free up the diskspace.

Before a “HP Data Protector StoreOnce Software Deduplication Store” can be deleted, the media retained within needs to be exported. Please note, deleting the store in DataProtector does not mean the Store is deleted in StoreOnceSoftware.

The deletion required a set of steps to be executed. The plan of approach we followed, can be found below.

Step 1: clear the retention time on all file depots in the deduplication store by recycling the media
Open the HP Data Protector Manager and open the “Devices & Media” section in the dropdownlist. In the tree, navigate to “Environment > Devices > DeduplicationStore > Store > StoreLocation“.

Select all file depots and choose “Recycle“.

DeleteHPSODeduplicationStore-01

Step 2: export all file depots to delete them from the HP Data Protector Media Management Database
Once step 1 is completed, select all file depots again and choose now for the option “Export“. As of this moment, the file depots are deleted from the Media Management Database.

Step 3: delete the HP Data Protector Software StoreOnce Deduplication Store
After removing all the file depots in the StoreOnce store, you can go forward with removing the store from the HP Data Protector configuration. In the “Devices & Media” section, right-click on the StoreOnce Deduplication Store and choose “Delete“.

DeleteHPSODeduplicationStore-02

Step 4: delete the Store within the StoreOnceSoftware configuration
Deleting the store within the HP Data Protector configuration is not sufficient to delete the store in the StoreOnceSoftware! Execute the following steps to delete the StoreOnce Deduplication store.

  • Put the store back in read/write modus.
    “C:\Users\admin>storeoncesoftware –set_readonly=OFF –name=HPDP_SOS01
    Read only option for the store HPDP_SOS01 has been successfully set to OFF“.
  • Stop the store.
    C:\Users\admin>storeoncesoftware –stop_store –name=HPDP_SOS01
    The store HPDP_SOS01 has been stopped successfully“.
  • Delete the store.
    C:\Users\admin>storeoncesoftware –delete_store –name=HPDP_SOS01
    The store HPDP_SOS01 has been deleted successfully.“.
  • Verify successful deletion.
    C:\Users\admin>storeoncesoftware –list_stores
  • Verify if the system is freeing up the diskspace. As the StoreOnce data is merged into the root volume of the StoreOnceSoftware, the space reclamation can take a significant time. Therefore it’s adviseable to follow-up on the storage allocation.
    C:\Users\admin>storeoncesoftware –get_server_properties
    Store Root: D:\B2D
    Existing Stores: 1
    Available Stores: 31
    Disk Capacity: 11264 GB
    Disk Space Free: 3194 GB
    Read only: OFF

Step 5: clean the HP Data Protector configuration
Open the HP Data Protector Manager again and navigate to “Devices & Media > Environment > Media > Pools“. Delete the pools which were associated with the StoreOnce Deduplication store. In our case we had to delete the regular pool and the free pool.

That’s it! :-)

Thanks for reading!

Leave a Reply