Khoi Mai
2014-Mar-04 02:56 UTC
[Gluster-users] what is the best practice to deleteing a gluster volume?
I was hoping for guidance on what is the best practice to deleting a gluster volume? I thought about it in 2 ways. 1. delete the content's of a volume through a client. a. then stopping the gluster volume b. delete the volume from the gluster cli b. delete the volume directory off the bricks? or 2. stop the gluster volume a. delete it from gluster cli b. delete brick directory of that volume Thanks, Khoi Mai ** This email and any attachments may contain information that is confidential and/or privileged for the sole use of the intended recipient. Any use, review, disclosure, copying, distribution or reliance by others, and any forwarding of this email or its contents, without the express permission of the sender is strictly prohibited by law. If you are not the intended recipient, please contact the sender immediately, delete the e-mail and destroy all copies. ** -------------- next part -------------- An HTML attachment was scrubbed... URL: <http://supercolony.gluster.org/pipermail/gluster-users/attachments/20140303/1f4d0602/attachment.html>
Carlos Capriotti
2014-Mar-04 08:19 UTC
[Gluster-users] what is the best practice to deleteing a gluster volume?
Hi. I personally would go for option 2, but read until the end before doing anything, right ? It is mandatory to stop the volume before you can delete it; Gluster will not allow you to delete it while it is on. After stopping, just delete the volume from the CLI. Next, just delete the contents from your shell. Normally volumes are contained within a folder, so using the traditional rm -fR /export/volume_you_want_to_delete will do the trick. But there is NO GOING BACK. Make sure you know what you are doing. Now, you will need to do this on all nodes. If you have too many, you might want to use a for or while loop to automate the process. KR, Carlos On Tue, Mar 4, 2014 at 3:56 AM, Khoi Mai <KHOIMAI at up.com> wrote:> I was hoping for guidance on what is the best practice to deleting a > gluster volume? > > I thought about it in 2 ways. > > 1. delete the content's of a volume through a client. > a. then stopping the gluster volume > b. delete the volume from the gluster cli > b. delete the volume directory off the bricks? > > or > > 2. stop the gluster volume > a. delete it from gluster cli > b. delete brick directory of that volume > > Thanks, > > Khoi Mai > > > > ** > > This email and any attachments may contain information that is > confidential and/or privileged for the sole use of the intended recipient. > Any use, review, disclosure, copying, distribution or reliance by others, > and any forwarding of this email or its contents, without the express > permission of the sender is strictly prohibited by law. If you are not the > intended recipient, please contact the sender immediately, delete the > e-mail and destroy all copies. > ** > > _______________________________________________ > Gluster-users mailing list > Gluster-users at gluster.org > http://supercolony.gluster.org/mailman/listinfo/gluster-users >-------------- next part -------------- An HTML attachment was scrubbed... URL: <http://supercolony.gluster.org/pipermail/gluster-users/attachments/20140304/575e9f78/attachment.html>