当前位置: > 虚拟化 Virtualization > oVirt >

oVirt解锁快照方法

时间:2019-11-30 11:58来源:linux.it.net.cn 作者:IT
oVirt Unlock procedure

QUERY :
[root@engine dbutils]# pwd
/usr/share/ovirt-engine/setup/dbutils

[root@engine dbutils]# /usr/share/ovirt-engine/setup/dbutils/unlock_entity.sh -q -t snapshot

Locked snapshots

 5e299a19-85e6-461c-9db5-c012fc5ac92e | 66ee029a-308f-4e47-a751-347fea14038f
 

* REMOVE

[root@engine dbutils]# /usr/share/ovirt-engine/setup/dbutils/unlock_entity.sh -t snapshot 66ee029a-308f-4e47-a751-347fea14038f

[root@engine dbutils]# pwd
/usr/share/ovirt-engine/setup/dbutils
[root@engine dbutils]# /usr/share/ovirt-engine/setup/dbutils/unlock_entity.sh -t snapshot 66ee029a-308f-4e47-a751-347fea14038f

##########################################
CAUTION, this operation may lead to data corruption and should be used with care. Please contact support prior to running this command
##########################################

Are you sure you want to proceed? [y/n]
y
select fn_db_unlock_snapshot('66ee029a-308f-4e47-a751-347fea14038f');


INSERT 0 1
unlock snapshot 66ee029a-308f-4e47-a751-347fea14038f completed successfully.
[root@engine dbutils]#

[root@engine dbutils]# /usr/share/ovirt-engine/setup/dbutils/unlock_entity.sh -q -t snapshot

Locked snapshots


[root@engine dbutils]#

(责任编辑:IT)
------分隔线----------------------------