You should  disable  sharding  prior  using the volume  as  a  storage domain.
Disabling  sharding  while  you have data on the volume will  fause havoc.

Can you try disabling before  creating  the storage domain  ?

Best Regards,
Strahil Nikolov

На 3 юни 2020 г. 20:35:13 GMT+03:00, Gianluca Cecchi 
<gianluca.cec...@gmail.com> написа:
>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
_______________________________________________
Users mailing list -- users@ovirt.org
To unsubscribe send an email to users-le...@ovirt.org
Privacy Statement: https://www.ovirt.org/privacy-policy.html
oVirt Code of Conduct: 
https://www.ovirt.org/community/about/community-guidelines/
List Archives: 
https://lists.ovirt.org/archives/list/users@ovirt.org/message/NQALKNKYKH4BAKSLKVU4R4SJQO66WYFT/

Reply via email to