Skip to content
This repository has been archived by the owner on Feb 8, 2024. It is now read-only.

Commit

Permalink
UDX-6435
Browse files Browse the repository at this point in the history
Glusterfs shared volume is getting full and not getting cleaned up
  • Loading branch information
john-a-fletcher committed Oct 20, 2021
1 parent 311f866 commit d8f8439
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 1 deletion.
3 changes: 2 additions & 1 deletion k8_cortx_cloud/destroy-cortx-cloud.sh
Original file line number Diff line number Diff line change
Expand Up @@ -139,7 +139,8 @@ do
printf "=================================================================================\n"
printf "Stop and delete GlusterFS volume: $gluster_node_name \n"
printf "=================================================================================\n"

kubectl exec --namespace=$namespace -i $gluster_node_name -- bash -c \
'rm -rf /etc/gluster/* /etc/gluster/.glusterfs/'
if [[ "$count" == 0 ]]; then
first_gluster_node_name=$gluster_node_name
echo y | kubectl exec --namespace=$namespace -i $gluster_node_name -- gluster volume stop $gluster_vol
Expand Down
1 change: 1 addition & 0 deletions k8_cortx_cloud/prereq-deploy-cortx-cloud.sh
Original file line number Diff line number Diff line change
Expand Up @@ -126,6 +126,7 @@ fi
# Prep for GlusterFS deployment
yum install glusterfs-fuse -y
mkdir -p $fs_mount_path/etc/gluster
mkdir -p $fs_mount_path/etc/gluster/var/log/cortx
mkdir -p $fs_mount_path/var/log/glusterfs
mkdir -p $fs_mount_path/var/lib/glusterd

Expand Down

0 comments on commit d8f8439

Please sign in to comment.