Re: what is the best practice to deleteing a gluster volume?

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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@xxxxxx> 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@xxxxxxxxxxx
http://supercolony.gluster.org/mailman/listinfo/gluster-users

_______________________________________________
Gluster-users mailing list
Gluster-users@xxxxxxxxxxx
http://supercolony.gluster.org/mailman/listinfo/gluster-users

[Index of Archives]     [Gluster Development]     [Linux Filesytems Development]     [Linux ARM Kernel]     [Linux ARM]     [Linux Omap]     [Fedora ARM]     [IETF Annouce]     [Bugtraq]     [Linux OMAP]     [Linux MIPS]     [eCos]     [Asterisk Internet PBX]     [Linux API]

  Powered by Linux