virt-format(1) Virtualization Support virt-format(1) (NAME) virt-format - (SYNOPSIS) virt-format [--options] -a disk.img [-a disk.img ...] (WARNING) "virt-format" . . (DESCRIPTION) virt-format ( LV ) . . virt-make-fs(1) . guestfish(1) -N guestfish . : virt-format -a disk.qcow : virt-format -a /dev/VG/LV disk.qcow /dev/VG/LV . . . . : --filesystem=[ext3|ntfs|vfat|...] ("ext3" "ntfs" ) . --lvm[=/dev/VG/LV] Linux LVM2 . --filesystem LV . << (OPTIONS)>> . --format ( ) . . (OPTIONS) --help . -a file --add file file LV USB . . --format=.. . . -a URI --add URI . "ADDING REMOTE STORAGE" guestfish(1) . --blocksize=512 --blocksize=4096 --blocksize . . --blocksize . "guestfs_add_drive_opts" guestfs(3) . --filesystem=ext3|ntfs|vfat|... . libguestfs . --filesystem=none . . --format=raw|qcow2|.. --format -a . -a . --format -a . : virt-format --format=raw -a disk.img raw ( ) disk.img . virt-format --format=raw -a disk.img --format -a another.img raw ( ) disk.img another.img . raw . (CVE-2010-3851). --label=LABEL (Label) . --lvm=/dev/VG/LV Linux LVM2 /dev/VG/LV. (Volume Group) . --lvm Linux LVM2 (/dev/VG/LV). --lvm=none . . --partition MBR GPT . MBR GPT . . --partition=gpt GPT. --partition=mbr MBR. --partition=none . . -v --verbose . -V --version . --wipe virt-format (Wipe) ( ). virt-format . virt-format . -x API libguestfs. (EXIT STATUS) 0 1 . (SEE ALSO) guestfs(3), guestfish(1), virt-filesystems(1), virt-make-fs(1), virt-rescue(1), virt-resize(1), http://libguestfs.org. (AUTHOR) Richard W.M. Jones http://people.redhat.com/~rjones (COPYRIGHT) Copyright (C) 2012 Red Hat Inc. (LICENSE) (GNU GPL) ( ) . . . : Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. (BUGS) libguestfs : https://bugzilla.redhat.com/buglist.cgi?component=libguestfs&product=Virtualization+Tools libguestfs : https://bugzilla.redhat.com/enter_bug.cgi?component=libguestfs&product=Virtualization+Tools : o libguestfs. o libguestfs ( ). o . o libguestfs-test-tool(1) . guestfs-tools-1.56.0 2026-07-11 virt-format(1)