# – requires given linux-commands to be executed with root privileges either directly as a root user or by use of sudo command Root privileges to perform administrative tasks Requirements, Conventions or Software Version Used How to resize a qcow2 disk image on Linux Software Requirements and Linux Command Line Conventions Category How to connect a qcow2 disk image to the host system using the NBD protocol. ![]() How to reclaim unused space from a qcow2 image which uses thin-provisioning.In this article we see how to “sparsify” a qcow2 disk image to reclaim available space, how to expand it or shrink it, and how to manage the partitions layout on it from the host system, connecting it by using the NBD protocol. This image format makes use of thin provisioning, so, after we initially set the maximum virtual size of a disk, space is actually allocated only when used, but not made available back to the host when freed. ![]() Qcow2 is the default virtual disk storage format used by Qemu (qcow stands for qemu copy-on-write).
0 Comments
Leave a Reply. |
Details
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |