Open main menu
Home
Random
Log in
Settings
About Sugar Labs
Disclaimers
Sugar Labs
Search
Changes
← Older edit
Newer edit →
Sysadmin/Migrate virtual machine
(view source)
Revision as of 17:23, 27 February 2022
365 bytes added
,
17:23, 27 February 2022
no edit summary
Line 1:
Line 1:
+
=== Importing an existing disk image into libvirt ===
+
+
Let's assume you already have a disk file and you want to add it to a pool.
+
There doesn't seem to be a direct way to do this with virsh, but you can create a blank disk and then copy your image into it:
+
+
# virsh vol-create-as boot new.img 1G --format raw
+
# virsh vol-upload --pool boot new.img existing.img
+
=== How to migrate a file-based guest to LVM (online method) ===
=== How to migrate a file-based guest to LVM (online method) ===
Bernie
Bureaucrats
,
Check users
,
Administrators
1,784
edits