Defragmentation of remote volumes