“Qm命令基础”的版本间的差异

来自linux中国网wiki
跳到导航 跳到搜索
(创建页面,内容为“=常用= <pre> qm stop 106 root@pve:~# qm destroy 106 Logical volume "vm-106-disk-0" successfully removed #105 是模板id qm clone 105 106 --name k8…”)
 
第23行: 第23行:
  
 
</pre>
 
</pre>
 +
 +
 +
[[category:devops]]

2022年7月31日 (日) 14:32的版本

常用

 
 qm stop 106
 
root@pve:~# qm destroy 106
  Logical volume "vm-106-disk-0" successfully removed

#105 是模板id   
qm clone  105    106  --name k8s-master-debian11

qm  start 106

qm destroy 112  113  114  115 

root@pve:~# qm clone  116  117 --name k8s-master-centos7.8
create linked clone of drive scsi0 (local-lvm:base-116-disk-0)
  WARNING: You have not turned on protection against thin pools running out of space.
  WARNING: Set activation/thin_pool_autoextend_threshold below 100 to trigger automatic extension of thin pools before they get full.
  Logical volume "vm-117-disk-0" created.
  WARNING: Sum of all thin volume sizes (<544.21 GiB) exceeds the size of thin pool pve/data and the size of whole volume group (237.97 GiB).
root@pve:~# df  -h