[Openstack] [OpenStack][Swift] Reset Swift | Clear Swift and Account Database

2013-01-14 Thread Leander Bessa Beernaert
Hello all,

I've come to realize that my swift storage partitions are setup with the
wrong node size. The only way for me to fix this is to format the
partitions. I was wondering how I could reset swift (remove all data from
stored files) without having to install it again.

Regards,

Leander
___
Mailing list: https://launchpad.net/~openstack
Post to : openstack@lists.launchpad.net
Unsubscribe : https://launchpad.net/~openstack
More help   : https://help.launchpad.net/ListHelp


Re: [Openstack] [OpenStack][Swift] Reset Swift | Clear Swift and Account Database

2013-01-14 Thread Chuck Thier
Hi Leander,

The following assumes that the cluster isn't in production yet:

1.  Stop all services on all machines
2.  Format and remount all storage devices
3.  Re-create rings with the correct partition size
4.  Push new rings out to all servers
5.  Start services back up and test.

--
Chuck

On Mon, Jan 14, 2013 at 8:02 AM, Leander Bessa Beernaert
leande...@gmail.com wrote:
 Hello all,

 I've come to realize that my swift storage partitions are setup with the
 wrong node size. The only way for me to fix this is to format the
 partitions. I was wondering how I could reset swift (remove all data from
 stored files) without having to install it again.

 Regards,

 Leander

 ___
 Mailing list: https://launchpad.net/~openstack
 Post to : openstack@lists.launchpad.net
 Unsubscribe : https://launchpad.net/~openstack
 More help   : https://help.launchpad.net/ListHelp


___
Mailing list: https://launchpad.net/~openstack
Post to : openstack@lists.launchpad.net
Unsubscribe : https://launchpad.net/~openstack
More help   : https://help.launchpad.net/ListHelp


Re: [Openstack] [OpenStack][Swift] Reset Swift | Clear Swift and Account Database

2013-01-14 Thread Leander Bessa Beernaert
Thanks!

Regards,

Leander


On Mon, Jan 14, 2013 at 4:29 PM, Chuck Thier cth...@gmail.com wrote:

 Hi Leander,

 The following assumes that the cluster isn't in production yet:

 1.  Stop all services on all machines
 2.  Format and remount all storage devices
 3.  Re-create rings with the correct partition size
 4.  Push new rings out to all servers
 5.  Start services back up and test.

 --
 Chuck

 On Mon, Jan 14, 2013 at 8:02 AM, Leander Bessa Beernaert
 leande...@gmail.com wrote:
  Hello all,
 
  I've come to realize that my swift storage partitions are setup with the
  wrong node size. The only way for me to fix this is to format the
  partitions. I was wondering how I could reset swift (remove all data from
  stored files) without having to install it again.
 
  Regards,
 
  Leander
 
  ___
  Mailing list: https://launchpad.net/~openstack
  Post to : openstack@lists.launchpad.net
  Unsubscribe : https://launchpad.net/~openstack
  More help   : https://help.launchpad.net/ListHelp
 

___
Mailing list: https://launchpad.net/~openstack
Post to : openstack@lists.launchpad.net
Unsubscribe : https://launchpad.net/~openstack
More help   : https://help.launchpad.net/ListHelp