I sucessfully removed the secondary storage. I have uploaded the detailed steps performed on my blog at http://eaxiom.net/cloudstack/manually-mirgating-data-from-one-secondary-storage-to-another-so-to-freeup-a-seondary-storage/ so that it could be helpful for someone in need.
Thanks, -----Original Message----- From: Imran Ahmed [mailto:[email protected]] Sent: Thursday, April 20, 2017 2:29 PM To: [email protected] Subject: RE: Removing Additional Secondary Storage Thanks Abhinandan . -----Original Message----- From: Abhinandan Prateek [mailto:[email protected]] Sent: Thursday, April 20, 2017 8:28 AM To: [email protected] Subject: Re: Removing Additional Secondary Storage Appropriate update of references in image_store table should be good enough. On 19/04/17, 11:17 PM, "Imran Ahmed" <[email protected]> wrote: >Hi team, > >We have two secondary storages on our in-production cloudstack. Also, it's >not new secondary storage. We currently have two, and want to remove the >second (so we only have the first). We have rsync'd all data from the 2nd >secondary storage to the 1st, and just verified that nothing new has been >placed on the 2nd: > >root@XXXX:~# rsync -av /mnt/secondary2/ /mnt/secondary1/ >sending incremental file list > >sent 2,946 bytes received 40 bytes 5,972.00 bytes/sec >total size is 119,738,306,443 speedup is 40,099,901.69 > > > >What would be the best option to delete secondary storage2 ? We are >planning to do this by updating the references in the database. > >Any suggestions? > >Regards, > >Imran > [email protected] www.shapeblue.com 53 Chandos Place, Covent Garden, London WC2N 4HSUK @shapeblue
