# qm template 100
실행 예시:
Renamed "vm-100-disk-0" to "base-100-disk-0" in volume group "pve"
Logical volume pve/base-100-disk-0 changed.
WARNING: Combining activation change with other commands is not advised.
# pvesm status
실행 예시:
Name Type Status Total Used Available %
directory01 dir active 134151148 45757316 88393832 34.11%
local dir active 75537236 20369108 51285328 26.97%
local-lvm lvmthin active 161591296 14413943 147177352 8.92%
lvm lvmthin active 268165120 0 268165120 0.00%
# qm clone 100 103 --name Rocky94-02 --full --storage directory01
실행 예시:
create full clone of drive scsi0 (local-lvm:base-100-disk-0)
Formatting '/mnt/pve/directory01/images/103/vm-103-disk-0.raw', fmt=raw size=137438953472 preallocation=off
transferred 0.0 B of 128.0 GiB (0.00%)
transferred 1.3 GiB of 128.0 GiB (1.00%)
...
transferred 126.8 GiB of 128.0 GiB (99.10%)
transferred 128.0 GiB of 128.0 GiB (100.00%)
transferred 128.0 GiB of 128.0 GiB (100.00%)
# qm list
실행 예시:
VMID NAME STATUS MEM(MB) BOOTDISK(GB) PID
100 Rocky94-01 stopped 8192 128.00 0
101 Win11-01 stopped 8192 128.00 0
102 Win11-02 stopped 8192 128.00 0
103 Rocky94-02 stopped 8192 128.00 0
template: 1
항목을 삭제할 수 있습니다.# sed -i '/template: 1/d' /etc/pve/qemu-server/500.conf
1. 개요 본 글은 LVM의 스냅샷(snapshot) 기능으로 복구 지점 생성 → 파일 변경 → 스냅샷 병합(rollback) 과정을 실습합니다. 동일한…
https://youtu.be/ZcxB7akkDKs 1. 개요 두 개의 디스크(/dev/vdb, /dev/vdc)로 LVM을 구성하고, ext4·XFS 파일시스템 생성 → 마운트 → VG/LV 확장 → ext4 축소(오프라인)까지 전체…
https://youtu.be/XYBR1ZFrV9s 1. 개요 parted를 사용해 새 디스크에 GPT 라벨 생성 → 파티션 생성(ext4/XFS) → 포맷/마운트 →…
https://youtu.be/yYV8RQKCFzA 1. 개요 이 문서는 fdisk를 사용해 MBR(DOS) 디스크에 파티션을 생성하고, ext4/XFS 파일시스템을 포맷·마운트, /etc/fstab에 등록했다가, 안전하게 해제·삭제하는 전…
1. 개요 Linux에서 디스크 파티션 스타일은 MBR(Master Boot Record) 와 GPT(GUID Partition Table)에 대해 설명합니다. 2. MBR이란? 디스크…
https://youtu.be/CNd1bJV4wGY 1. 개요 Windows Server를 새로 설치할 때의 설치 과정을 단계별로 정리하였습니다. Windows Server 설치…