Posts

Showing posts with the label locked

Virtual Disk ( HDD ) stuck in locked status ( ovirt, rhv, olvm )

  Applies to : 1) Ovirt 4.X 2) RHV 4.X 3) OLVM Problem Description : - Virtual Disk show status " Locked " in Storage Domain. FCP / Gluster / iSCSI / NFS - Virtual Disk image can not be removed from inventory due to " Locked " Status. Problem Cause : - Usually, this problem occurs due to network or any other interruption while uploading /copying disk image operation to the storage domain. - Keep disk entry for operation resume, but after a certain time Image get's "Locked" - engine is not keeping the operations state in the DB, and it should handle failures, unlocking the disk if an operation fails. - VDSM is storing partial disks on the storage domain in spite of copy operation failure. Resolution :  - Login to Ovirt-Engine / Management-Engine VM via SSH with "ROOT" user. - go to " /usr/share/ovirt-engine/setup/dbutils/ " - type command " sh unlock_entity.sh -t all " ( Warning !! Affected Virtual Disk data may corrupt , U...