diff --git a/weed/shell/command_volume_balance.go b/weed/shell/command_volume_balance.go index 3a9e7dea0..5380d5e63 100644 --- a/weed/shell/command_volume_balance.go +++ b/weed/shell/command_volume_balance.go @@ -329,6 +329,10 @@ func maybeMoveOneVolume(commandEnv *CommandEnv, volumeReplicas map[uint32][]*Vol return false, fmt.Errorf("lock is lost") } + if candidateVolume.RemoteStorageName != "" { + return false, nil + } + if candidateVolume.ReplicaPlacement > 0 { replicaPlacement, _ := super_block.NewReplicaPlacementFromByte(byte(candidateVolume.ReplicaPlacement)) if !isGoodMove(replicaPlacement, volumeReplicas[candidateVolume.Id], fullNode, emptyNode) {