<div dir="ltr">Hi Tom,<div><br><div>Volume delete operation is not permitted when some of peers in cluster are down. Please check peer status output and make sure that all the nodes are up and running. and then you can go for volume delete operation.</div></div></div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">On Sun, Sep 29, 2019 at 8:53 AM TomK <<a href="mailto:tomkcpr@mdevsys.com">tomkcpr@mdevsys.com</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">Hello All,<br>
<br>
I'm not able to remove the last brick and consequently, the volume. How <br>
do I go about deleting it?<br>
<br>
[root@mdskvm-p01 ~]# gluster volume delete mdsgv01<br>
Deleting volume will erase all information about the volume. Do you want <br>
to continue? (y/n) y<br>
volume delete: mdsgv01: failed: Some of the peers are down<br>
[root@mdskvm-p01 ~]#<br>
<br>
[root@mdskvm-p01 ~]# gluster volume info<br>
<br>
Volume Name: mdsgv01<br>
Type: Distribute<br>
Volume ID: f5b57076-dbd4-4d77-ae13-c1f3ee3adbe0<br>
Status: Stopped<br>
Snapshot Count: 0<br>
Number of Bricks: 1<br>
Transport-type: tcp<br>
Bricks:<br>
Brick1: mdskvm-p01.nix.mds.xyz:/mnt/p01-d01/glusterv01<br>
Options Reconfigured:<br>
diagnostics.client-log-level: DEBUG<br>
diagnostics.brick-sys-log-level: INFO<br>
diagnostics.brick-log-level: DEBUG<br>
performance.readdir-ahead: on<br>
server.allow-insecure: on<br>
nfs.trusted-sync: on<br>
performance.cache-size: 1GB<br>
performance.io-thread-count: 16<br>
performance.write-behind-window-size: 8MB<br>
client.event-threads: 8<br>
server.event-threads: 8<br>
cluster.quorum-type: none<br>
cluster.server-quorum-type: none<br>
storage.owner-uid: 36<br>
features.shard: on<br>
features.shard-block-size: 512MB<br>
performance.low-prio-threads: 32<br>
cluster.data-self-heal-algorithm: full<br>
storage.owner-gid: 36<br>
[root@mdskvm-p01 ~]#<br>
<br>
<br>
[root@mdskvm-p01 ~]# gluster volume remove-brick mdsgv01 <br>
mdskvm-p01.nix.mds.xyz:/mnt/p01-d01/glusterv01 force<br>
Remove-brick force will not migrate files from the removed bricks, so <br>
they will no longer be available on the volume.<br>
Do you want to continue? (y/n) y<br>
volume remove-brick commit force: failed: Deleting all the bricks of the <br>
volume is not allowed<br>
[root@mdskvm-p01 ~]#<br>
<br>
<br>
[root@mdskvm-p01 ~]# rpm -aq|grep -Ei gluster<br>
glusterfs-client-xlators-6.5-1.el7.x86_64<br>
glusterfs-geo-replication-6.5-1.el7.x86_64<br>
libvirt-daemon-driver-storage-gluster-4.5.0-23.el7_7.1.x86_64<br>
glusterfs-events-6.5-1.el7.x86_64<br>
python2-gluster-6.5-1.el7.x86_64<br>
glusterfs-server-6.5-1.el7.x86_64<br>
glusterfs-fuse-6.5-1.el7.x86_64<br>
glusterfs-cli-6.5-1.el7.x86_64<br>
glusterfs-6.5-1.el7.x86_64<br>
glusterfs-libs-6.5-1.el7.x86_64<br>
glusterfs-api-6.5-1.el7.x86_64<br>
glusterfs-rdma-6.5-1.el7.x86_64<br>
[root@mdskvm-p01 ~]#<br>
<br>
<br>
<br>
<br>
<br>
-- <br>
Thx,<br>
TK.<br>
________<br>
<br>
Community Meeting Calendar:<br>
<br>
APAC Schedule -<br>
Every 2nd and 4th Tuesday at 11:30 AM IST<br>
Bridge: <a href="https://bluejeans.com/118564314" rel="noreferrer" target="_blank">https://bluejeans.com/118564314</a><br>
<br>
NA/EMEA Schedule -<br>
Every 1st and 3rd Tuesday at 01:00 PM EDT<br>
Bridge: <a href="https://bluejeans.com/118564314" rel="noreferrer" target="_blank">https://bluejeans.com/118564314</a><br>
<br>
Gluster-users mailing list<br>
<a href="mailto:Gluster-users@gluster.org" target="_blank">Gluster-users@gluster.org</a><br>
<a href="https://lists.gluster.org/mailman/listinfo/gluster-users" rel="noreferrer" target="_blank">https://lists.gluster.org/mailman/listinfo/gluster-users</a><br>
</blockquote></div><br clear="all"><div><br></div>-- <br><div dir="ltr" class="gmail_signature"><div dir="ltr"><div>Thanks,<br></div>Sanju<br></div></div>