Source: Installation von guestfs-tools unter Linux

From SEPsesam
Revision as of 15:58, 20 October 2020 by Fho (talk | contribs) (Created page with "Auf SLES (SUSE Linux Enterprise Server)")
Other languages:

Copyright © SEP AG 1999-2024. Alle Rechte vorbehalten.

Jede Form der Reproduktion der Inhalte dieses Benutzerhandbuches, ganz oder in Teilen, ist nur mit der ausdrücklichen schriftlichen Erlaubnis der SEP AG gestattet. Bei der Erstellung dieses Benutzerhandbuches wurde mit größtmöglicher Sorgfalt gearbeitet, um korrekte und fehlerfreie Informationen bereit stellen zu können. Trotzdem kann die SEP AG keine Gewähr für die Richtigkeit der Inhalte dieses Benutzerhandbuches übernehmen.

Docs latest icon.png Willkommen in der aktuellsten Version der SEP sesam Dokumentation 4.4.3/4.4.3 Beefalo V2. Frühere Versionen der Dokumentation finden Sie hier: VMware Archiv.


Übersicht

On Linux, SEP sesam single file restore from virtualization platform backups, e.g., VMware vSphere, requires the guestfs-tools package to be installed to be able to access and mount the file system of an image on Linux. If the package is not installed on your SEP sesam Server or RDS Linux server, you will not be able to mount VMDK and consequently, perform a single file restore.

To learn more about the guestfs-tools, see libguestfs tools for accessing and modifying virtual machine disk images.

Installing guestfs-tools package

Use the command line to install the guestfs-tools package according to your specific Linux distributions, i.e., SLES, Debian, Ubuntu, RHEL, or CentOS. For details on Linux installation, see SEP sesam Quick Install Guide.

Depending on your Linux distribution, specify the relevant command:

  • Auf SLES (SUSE Linux Enterprise Server)
  • zypper install guestfs-tools
  • Auf Debian und Ubuntu
  • apt-get install libguestfs-tools
  • Auf RHEL und CentOS
  • yum install libguestfs-tools

Restrictions and extra steps required on RHEL/CentOS

Due to restrictions on RHEL mounting Windows VMs will not work. Take a look at libguestfs FAQ for more information.

On RHEL and its Derivates there are additional steps required to get the single file restore working:

1. Open /etc/libvirt/qemu.conf and change the variable user from qemu to root

2. Restart the service libvirtd, by using

systemctl restart libvirtd

3. Add a new line to /usr/lib64/guestfs/supermin.d/packages containing libgpg-error

4. Remove old guestmount appliances

rm -rf /var/tmp/.guestfs-*

5. Test if the guestmount appliance builds without errors, by executing

libguestfs-test-tool 

This has to exit with

===== TEST FINISHED OK =====

6. If selinux is set to enforcing, guestfs-tools will not be able to access the Virtual Harddisks provided bu SEP sesam, so mounting still fails.

Checking guestmount capabilities on your system

You can check which things guestmount supports on your system currently, by running

guestfish -a /dev/null run : supported

on your SEP sesam Server or the SEP sesam RDS, where the savesets you want to mount are located.

This will show you whether vms with filesystems like btrfs or ntfs can be mounted. You may add this functionality by installing the required packages on your system. Also you have to add lines for those package names to

/usr/lib64/guestfs/supermin.d/packages

on the system.

Bekannte Themen

Wenn Sie Probleme mit VMware Einzeldateirücksicherung (Single File Restore) haben, überprüfen Sie den Troubleshooting Guide.

Siehe auch

VMware EinzeldateirücksicherungSEP sesam Installation - Kurzanleitunglibguestfs tools for accessing and modifying virtual machine disk images