You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@cloudstack.apache.org by Imran Ahmed <im...@eaxiom.net> on 2017/04/19 17:47:52 UTC

Removing Additional Secondary Storage

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 


RE: Removing Additional Secondary Storage

Posted by Imran Ahmed <im...@eaxiom.net>.
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:imran@eaxiom.net] 
Sent: Thursday, April 20, 2017 2:29 PM
To: users@cloudstack.apache.org
Subject: RE: Removing Additional Secondary Storage

Thanks Abhinandan .

-----Original Message-----
From: Abhinandan Prateek [mailto:abhinandan.prateek@shapeblue.com] 
Sent: Thursday, April 20, 2017 8:28 AM
To: users@cloudstack.apache.org
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" <im...@eaxiom.net> 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 
>

abhinandan.prateek@shapeblue.com 
www.shapeblue.com
53 Chandos Place, Covent Garden, London  WC2N 4HSUK
@shapeblue
  
 



RE: Removing Additional Secondary Storage

Posted by Imran Ahmed <im...@eaxiom.net>.
Thanks Abhinandan .

-----Original Message-----
From: Abhinandan Prateek [mailto:abhinandan.prateek@shapeblue.com] 
Sent: Thursday, April 20, 2017 8:28 AM
To: users@cloudstack.apache.org
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" <im...@eaxiom.net> 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 
>

abhinandan.prateek@shapeblue.com 
www.shapeblue.com
53 Chandos Place, Covent Garden, London  WC2N 4HSUK
@shapeblue
  
 



Re: Removing Additional Secondary Storage

Posted by Abhinandan Prateek <ab...@shapeblue.com>.
Appropriate update of references in image_store table should be good enough.


On 19/04/17, 11:17 PM, "Imran Ahmed" <im...@eaxiom.net> 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 
>

abhinandan.prateek@shapeblue.comĀ 
www.shapeblue.com
53 Chandos Place, Covent Garden, London  WC2N 4HSUK
@shapeblue