Hey,

So the best way to find the volumes which is still there in that pool. So you 
can use DB i.e

1- Find the id of the storage pool which you want to remove.

mysql> select id from storage_pool where name = ‘<YOUR PRIMARY STORAGE NAME>’

2- Then, find the volumes which is still there but somehow removed date is 
still not NULL.

mysql> select * from volumes where pool_id = ‘<ID from 1st STEP>’ and removed 
is null;

If you see any volumes which is in destroyed state and still removed field is 
showing NULL, then put date in removed field and then all the volumes are 
removed then you can delete your primary storage from your ACS.


For you second Question - You can add any NFS directly.There are no 
prerequisites (that Secondary storage should be reachable from you POD and 
Management range)

Vivek Kumar
Manager - Cloud & DevOps 
IndiQus Technologies
24*7  O +91 11 4055 1411  |   M +91 7503460090 
www.indiqus.com <http://indiqus.com/>

This message is intended only for the use of the individual or entity to which 
it is addressed and may contain information that is confidential and/or 
privileged. If you are not the intended recipient please delete the original 
message and any copy of it from your computer system. You are hereby notified 
that any dissemination, distribution or copying of this communication is 
strictly prohibited unless proper authorization has been obtained for such 
action. If you have received this communication in error, please notify the 
sender immediately. Although IndiQus attempts to sweep e-mail and attachments 
for viruses, it does not guarantee that both are virus-free and accepts no 
liability for any damage sustained as a result of viruses.

> On 03-Feb-2021, at 1:33 PM, Adrian Morris <[email protected]> 
> wrote:
> 
> Hi Everyone,
> 
> I have some old primary storage I what to decommission. I have migrated all 
> the disks to a new storage cluster and the old storage is now in maintenance 
> mode, but the system won’t let me remove the storage as it says there is 
> still images on it. I have checked inside XCP and I can still see the old 
> images, but they have no VMs attached to them.
> 
> What is the correct way to now remove them?
> 
> Also to kill 2 birds with one stone, I want to add additional secondary 
> storage. This is a single zone. Is it just a case of adding the new NFS 
> servers in or do I need to run additional steps prior to adding to Cloudstack 
> as I can't seem to find documentation about any required steps.
> 
> TIA for the help.
> 
> Adrian

Reply via email to