A search of the subforum turns up the following threads with some answers:
https://community.wd.com/t/defragmentation/96182
https://community.wd.com/t/defrag-mycloud/94989