virt-filesystems(1) Virtualization Support virt-filesystems(1) (NAME) virt-filesystems - LVM (SYNOPSIS) virt-filesystems [--options] -d domname virt-filesystems [--options] -a disk.img [-a disk.img ...] (DESCRIPTION) (Logical Volumes) . virt-list-filesystems(1) virt-list-partitions(1) . (Shell Scripts) : for fs in $(virt-filesystems -a disk.img); do # ... done ( virt-resize(1)). virt-inspector(1) . . libvirt -a -d . : $ virt-filesystems -a disk.img /dev/sda1 /dev/vg_guest/lv_root -l --long : $ virt-filesystems -a disk.img -l Name Type VFS Label Size /dev/sda1 filesystem ext4 boot 524288000 /dev/vg_guest/lv_root filesystem ext4 root 10212081664 --extra ( swap ) : $ virt-filesystems -a disk.img --extra /dev/sda1 /dev/vg_guest/lv_root /dev/vg_guest/lv_swap /dev/vg_guest/lv_data --partitions : $ virt-filesystems -a disk.img --partitions /dev/sda1 /dev/sda2 --logical-volumes --volume-groups --physical-volumes --block-devices . ( --filesystems ). ( /dev/sda1 ). . virt-filesystems --all . UUID ( ) . UUID --uuid . --all --long --uuid . $ virt-filesystems -a win.img --all --long --uuid -h Name Type VFS Label Size Parent UUID /dev/sda1 filesystem ntfs System Reserved 100M - F81C92571C92112C /dev/sda2 filesystem ntfs - 20G - F2E8996AE8992E3B /dev/sda1 partition - - 100M /dev/sda - /dev/sda2 partition - - 20G /dev/sda - /dev/sda device - - 20G - - --csv (CSV) . (OPTIONS) --help . -a file --add file file . -a . . --format=.. . -a URI --add URI . "ADDING REMOTE STORAGE" guestfish(1) . --all . : --filesystems --extra --partitions --block-devices --logical-volumes --volume-groups --physical-volumes. ( ). --long . --blkdevs --block-devices . --blocksize=512 --blocksize=4096 --blocksize . . --blocksize . "guestfs_add_drive_opts" guestfs(3) . -c URI --connect URI libvirt URI . libvirt . (-a) libvirt . --csv CSV ( ). " CSV" . -d guest --domain guest libvirt. UUID . --echo-keys virt-filesystems (echoing) . Tempest . --extra . swap . --filesystems . --filesystems . . --extra . --format=raw|qcow2|.. --format -a . -a . --format -a . : virt-filesystems --format=raw -a disk.img raw ( ) disk.img . virt-filesystems --format=raw -a disk.img --format -a another.img raw ( ) disk.img another.img . raw . (CVE-2010-3851). --fs-version --fs-versions --long . XFS 4 ( XFS v4) 5 ( XFS v5) . XFS v4 . -h --human-readable --long . --keys-from-stdin (stdin). /dev/tty . . -l --long (<< >>). --no-title . . --csv / csvtool(1) . -h . . --fs-version . --uuid UUID . --lvs --logvols --logical-volumes LVM. LV . --no-title --long . virt-filesystems . --parts --partitions . . --pvs --physvols --physical-volumes LVM. --uuid --uuids --long UUID . -v --verbose . -V --version . --vgs --volgroups --volume-groups LVM. -x API libguestfs. (COLUMNS) . Name LVM. libguestfs /dev/sda2 . --long Name . Type "filesystem" "lv" "device" . VFS "ext4". Label ( ) . MBR . : http://www.win.tue.nl/~aeb/partitions/partition_types-1.html DOS (MBR) . Size . --human . Parent - . . (Logical Volume) (Volume Group) . ( ) "/dev/sda,/dev/sdb". UUID UUID ( ) UUID . UUID --uuid . CSV (NOTE ABOUT CSV FORMAT) (CSV) . . : . : . : "foo,bar",baz : . : . : "foo bar",baz "csvtool" (https://github.com/Chris00/ocaml-csv ) . CSV ( "Text::CSV" Perl csv ). CSV . (EXIT STATUS) 0 . (SEE ALSO) guestfs(3), guestfish(1), virt-cat(1), virt-df(1), virt-drivers(1), virt-list-filesystems(1), virt-list-partitions(1), csvtool(1), http://libguestfs.org. (AUTHOR) Richard W.M. Jones http://people.redhat.com/~rjones (COPYRIGHT) Copyright (C) 2010-2025 Red Hat Inc. (LICENSE) (GNU General Public License) ( ) . . . : 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-filesystems(1)