Hello,
I have a single host in 4.4 with HCI and Gluster.
I have only one brick for the volume and I disabled sharding:
[root@ovirt01 /root]# gluster volume set data features.shard off
volume set: success
[root@ovirt01 /root]#
In events of web admin I see it registered and updating db:
Detected change in value of option features.shard from on to off on volume
data of cluster Default, and updated it to engine DB.
6/3/206:46:52 PM
Then I delete a VM with a 65Gb disk, that I created while sharding was
enabled (I enabled the check box to remove disks) but it seems that files
under .shard are not removed.
[root@ovirt01 ~]# du -sh
/rhev/data-center/mnt/glusterSD/ovirt01st.lutwyn.storage\:_data/.shard/
62G /rhev/data-center/mnt/glusterSD/ovirt01st.lutwyn.storage:_data/.shard/
[root@ovirt01 ~]#
Is there any special command I have to run? Or can I simply remove the
.shard directory now?
I only had that VM in that storage domain before disabling sharding.
The files are all of type:
-rw-rw----. 1 root root 67100672 Jun 3 18:18
23f0c94c-cf2a-42c1-8e2e-a21c4e542774.1
-rw-rw----. 1 root root 67108864 Jun 3 18:18
23f0c94c-cf2a-42c1-8e2e-a21c4e542774.2
...
-rw-rw----. 1 root root 67108864 Jun 3 18:44
23f0c94c-cf2a-42c1-8e2e-a21c4e542774.1008
-rw-rw----. 1 root root 39845888 Jun 3 18:44
23f0c94c-cf2a-42c1-8e2e-a21c4e542774.1009
-rw-rw----. 1 root root 56643584 Jun 3 18:44
23f0c94c-cf2a-42c1-8e2e-a21c4e542774.1031
Thanks in advance,
Gianluca