Scroll to navigation

virt-list-partitions(1) Virtualization Support virt-list-partitions(1)

名前

virt-list-partitions - 仮想マシンまたはディスクイメージのパーティションの一覧表示

書式

 virt-list-partitions [--options] domname

 virt-list-partitions [--options] disk.img [disk.img ...]

非推奨

This tool is obsolete. Use virt-filesystems(1) as a more flexible replacement.

説明

"virt-list-partitions" は、仮想マシンまたはディスクイメージに含まれるパーティションを一覧表示するためのコマンドラインツールです。おもに virt-resize(1) を使用するための最初の手順として有用です。

"virt-list-partitions"libguestfs(3) の機能の簡単なラッパーです。より複雑な場合に対しては guestfish(1) ツールを参照してください。

オプション

--help
簡単なヘルプを表示します。
--version
バージョン番号を表示して、終了します。
-c URI
--connect URI
libvirt を使用していると、指定された URI に接続します。 省略すると、デフォルトの libvirt ハイパーバイザーに接続します。

仮想マシンのブロックデバイスを直接指定すると、libvirt はまったく使用されません。

--format raw
Specify the format of disk images given on the command line. If this is omitted then the format is autodetected from the content of the disk image.

If disk images are requested from libvirt, then this program asks libvirt for this information. In this case, the value of the format parameter is ignored.

If working with untrusted raw-format guest disk images, you should ensure the format is always specified.

-h
--human-readable
容量を読みやすい形式で表示します(例: "1G")。
-l
--long
このオプションを用いると、 "virt-list-partitions" は各パーティションの形式と容量も表示します(ここで "形式" は "ext3", "pv" などを意味します)。
-t
--total
各ブロックデバイスの合計容量を(別の列として)表示します。

関連項目

guestfs(3), guestfish(1), virt-filesystems(1), virt-list-filesystems(1), virt-resize(1), Sys::Guestfs(3), Sys::Virt(3), http://libguestfs.org/.

著者

Richard W.M. Jones http://people.redhat.com/~rjones/

COPYRIGHT

Copyright (C) 2009-2016 Red Hat Inc.

LICENSE

BUGS

To get a list of bugs against libguestfs, use this link: https://bugzilla.redhat.com/buglist.cgi?component=libguestfs&product=Virtualization+Tools

To report a new bug against libguestfs, use this link: https://bugzilla.redhat.com/enter_bug.cgi?component=libguestfs&product=Virtualization+Tools

When reporting a bug, please supply:

  • The version of libguestfs.
  • Where you got libguestfs (eg. which Linux distro, compiled from source, etc)
  • Describe the bug accurately and give a way to reproduce it.
  • Run libguestfs-test-tool(1) and paste the complete, unedited output into the bug report.
2017-03-08 libguestfs-1.34.6