It IT/Releases/12/Features/libguestfs

From FedoraProject

< It IT | Releases
Revision as of 17:03, 28 January 2010 by Lewis41 (Talk | contribs)

(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to: navigation, search

Contents

libguestfs e guestfish

Sommario

Libguestfs is a library for accessing and modifying virtual machine disk images.

guestfish is an interactive shell tool for editing virtual machine disk images (examples here).

Progettista

Stato attuale

Detailed Description

libguestfs is a library for accessing and modifying guest disk images. Amongst the things this is good for: making batch configuration changes to guests, viewing and editing files inside guests, getting disk used/free statistics (see also: virt-df), migrating between virtualization systems (see also: virt-p2v), performing partial backups, performing partial guest clones, cloning guests and changing registry/UUID/hostname info, and much else besides.

libguestfs uses Linux kernel and qemu code, and can access any type of guest filesystem that Linux and qemu can, including but not limited to: ext2/3/4, btrfs, FAT and NTFS, LVM, many different disk partition schemes, qcow, qcow2, vmdk.

Typical usage, to edit the password file in a virtual machine called 'F11' ('F11' is the libvirt name):

$ guestfish -i F11
><fs> vi /etc/passwd

Lots more examples here.

Benefit to Fedora

The previous methods for doing this in Fedora were cumbersome and error-prone, usually involving creating loopback mounts as root, using kpartx, reconfiguring LVM.

libguestfs gets rid of all that and makes it easy to access and edit disk images. You don't even need to be root to do it.

Altre informazioni

Per:

  • Obbiettivi
  • Test Plan
  • Esperienza Utente
  • Dipendenze
  • Progetto corrente
  • Documentazione
  • Note di rilascio
  • Commenti e Discussioni

consultare la pagina originale di questo documento.