diff --git a/extensions/Servers/Proxmox/Livewire/Storage.php b/extensions/Servers/Proxmox/Livewire/Storage.php index 9c51cf090..26614b650 100644 --- a/extensions/Servers/Proxmox/Livewire/Storage.php +++ b/extensions/Servers/Proxmox/Livewire/Storage.php @@ -831,6 +831,12 @@ class Storage extends Component $drive = $this->drives[$this->movingDriveKey]; $targetBus = $this->moveDriveTargetBus; + // Prevent moving to the same bus type + if ($drive['bus'] === $targetBus) { + $this->notify('Drive is already on the ' . $this->busTypes[$targetBus]['label'] . ' bus.', 'error'); + return; + } + // Get next available index on target bus $targetIndex = $this->getNextAvailableIndex($targetBus); if ($targetIndex === null) { diff --git a/extensions/Servers/Proxmox/views/storage.blade.php b/extensions/Servers/Proxmox/views/storage.blade.php index 2d06e3cd2..2f6a4f312 100644 --- a/extensions/Servers/Proxmox/views/storage.blade.php +++ b/extensions/Servers/Proxmox/views/storage.blade.php @@ -619,7 +619,9 @@ @@ -640,7 +642,7 @@