Pcornel
Browse topics
Options
Recent
Favorites
Virtualization · Technical reference

Clone · Virtual Machine Lifecycle

Direct answer

Cloning a VM copies its disks and configuration into a new VM, either as a full independent copy or a linked clone. Change identity — name, MAC, IP, hostname, SID — before the clone joins the same network.

When to use this

Use this when cloning a VM in its lifecycle, such as for testing or scale-out.

First 30 seconds

1. Full clones copy disks; linked clones share a base.

2. Generalise guests (sysprep, machine-id) to avoid duplicate IDs.

3. New MAC addresses.

4. Linked clones depend on the base.

5. Rename hostname.

Operational verification

source VM/template → disks copied/linked → new identity

Context & applicabilityCommon mistakes · platform/version boundaries
Platform / version applicability
virtualization
applies
Structured applicability is explicit Topic metadata; it does not infer compatibility beyond the stored rows.
At a glance

Operational reference

Fast context before you go deeper.

Platformvirtualization
Scope / prerequisiteUse this when cloning a VM in its lifecycle, such as for testing or scale-out.
What next?3 suggested next steps
Evidence1
On this pageJump to a specific section
Operational workflow

Verification & Troubleshooting

Start with the observed symptom, prove the nearest boundary, and move outward only when the current state is understood.

2 steps Observe → verify → isolate → change minimally → repeat the original test.
ObservedRecord what the original test actually shows

Capture the concrete output, symptom, packet, log or counter before changing anything.

Step 1 Checks Verify boundary
  • New MAC addresses and VM UUID.
  • Hostname, IP and SSH host keys changed in the clone.
  • Not joined to the domain with the source's identity.
Step 2 Common mistakes Narrow the fault
  • Cloning a running domain-joined Windows VM without Sysprep (duplicate SIDs and computer accounts).
  • Same MAC/IP in clones.
Evidence references

Evidence · 1 on this Topic

Expected observations and documentation recipes are reference material. Record actual output, device identity, scope and time before claiming a verified result.

observation · 1
Key points
  • The clone must get a new hostname, IP and MAC.
Key checks
  • virt-clone --original <vm> --name <new> --auto-clone — clone (libvirt)
  • qm clone <vmid> <newid> --name <new> --full — full clone (Proxmox)
  • Export-VM / Import-VM -Copy -GenerateNewId — copy (Hyper-V)
ReferenceWhy it matters1 section · depth on demand

How it works

Cloning copies a VM's configuration and disks to create a new VM. Clones need new identities (hostname, MAC, machine ID, SID on Windows via Sysprep) to avoid conflicts on the network and in directories.

ReferenceImportant terms & boundaries1 section · depth on demand
Additional reference context Scope · expected state · examples · history · terminology Open only when you need the supporting context
Technical verification history

Verification history & basis

When and against what this Topic was checked. Later text edits do not count as a new check.

2026-09-14 · vendor docvirtualization current

Authoritative/upstream documentation reviewed for bounded claims in Virtual Machine Lifecycle → Clone. Documentation verification only; this is not observed lab or production Evidence.

Basis: https://libvirt.org/docs.html · confidence 94%
Confirmation

Confirm action

Continue?