<div dir="ltr">Hi.<div><br></div><div>I personally would go for option 2, but read until the end before doing anything, right ?</div><div><br></div><div>It is mandatory to stop the volume before you can delete it; Gluster will not allow you to delete it while it is on.</div>
<div><br></div><div>After stopping, just delete the volume from the CLI. </div><div>Next, just delete the contents from your shell. Normally volumes are contained within a folder, so using the traditional </div><div><br></div>
<div>rm -fR /export/volume_you_want_to_delete</div><div><br></div><div>will do the trick. But there is NO GOING BACK. Make sure you know what you are doing.</div><div><br></div><div>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.</div>
<div><br></div><div>KR, </div><div><br></div><div>Carlos</div></div><div class="gmail_extra"><br><br><div class="gmail_quote">On Tue, Mar 4, 2014 at 3:56 AM, Khoi Mai <span dir="ltr">&lt;<a href="mailto:KHOIMAI@up.com" target="_blank">KHOIMAI@up.com</a>&gt;</span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><font face="sans-serif">I was hoping for guidance on what is the
best practice to deleting a gluster volume?</font><br><br><font face="sans-serif">I thought about it in 2 ways.  </font><br><br><font face="sans-serif">1. delete the content&#39;s of a volume
through a client.</font><br><font face="sans-serif">        a.
then stopping the gluster volume</font><br><font face="sans-serif">        b.
delete the volume from the gluster cli</font><br><font face="sans-serif">        b.
delete the volume directory off the bricks?</font><br><br><font face="sans-serif">or</font><br><br><font face="sans-serif">2. stop the gluster volume</font><br><font face="sans-serif">        a.
delete it from gluster cli</font><br><font face="sans-serif">        b.
delete brick directory of that volume</font><br><br><font face="sans-serif">Thanks,<br><br>Khoi Mai<br><br><br></font><br>
**<br>
<br>
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.<br>

**<br><br>_______________________________________________<br>
Gluster-users mailing list<br>
<a href="mailto:Gluster-users@gluster.org">Gluster-users@gluster.org</a><br>
<a href="http://supercolony.gluster.org/mailman/listinfo/gluster-users" target="_blank">http://supercolony.gluster.org/mailman/listinfo/gluster-users</a><br></blockquote></div><br></div>