[Libguestfs] guestfish emergency extension

Gottschalk gottschalk at raw.de
Tue May 18 13:02:02 UTC 2021


Hello Mr. Jones,

thank you for the quick response.


Mit freundlichen Grüßen
ppa. Olaf Gottschalk

raw Rechen-Anlage West GmbH 	
		
Postfach 1120 | 52368 Kreuzau 	
		

	
		

Empfang: 	+49 2421 9555-0 <tel:+49 2421 9555-0> | raw at raw.de 
<mailto:raw at raw.de> 	Sitz der Gesellschaft: 	Am Burgholz 33-35 | 52372 
Kreuzau-Stockheim
Hotline: 	+49 2421 9555-55 <tel:+49 2421 9555-55> | hotline at raw.de 
<mailto:hotline at raw.de> 	Geschäftsführer: 	Dipl.-Ing. Alexander Kutsch
Internet: 	www.raw.de <https://www.raw.de> 	Handelsregister: 
Amtsgericht Düren HRB 134

	
	UST- ID: 	DE 122 278 535

Der Inhalt dieser E-Mail ist ausschließlich für den bezeichneten 
Adressaten bestimmt. Wenn Sie nicht der vorgesehene Adressat dieser 
E-Mail oder dessen Vertreter sein sollten, so beachten Sie bitte, dass 
jede Form der Kenntnisnahme, Veröffentlichung, Vervielfältigung oder 
Weitergabe des Inhalts dieser E-Mail unzulässig sind. Wir bitten Sie, 
sich in diesem Fall mit dem Absender der E-Mail in Verbindung zu setzen. 
Aussagen gegenüber dem Adressaten unterliegen den Regelungen des 
zugrundeliegenden Angebotes bzw. Auftrages, insbesondere den allgemeinen 
Auftragsbedingungen und der individuellen Haftungsvereinbarung. Der 
Inhalt dieser E-Mail ist nur rechtsverbindlich, wenn er unsererseits 
durch einen Brief entsprechend bestätigt wird. Die Versendung von 
E-Mails an uns hat keine fristwahrende Wirkung. Wir möchten Sie außerdem 
darauf hinweisen, dass die Kommunikation per E-Mail über das Internet 
unsicher ist, da für unberechtigte Dritte grundsätzlich die Möglichkeit 
der Kenntnisnahme und Manipulation besteht.

Am 18.05.21 um 11:37 schrieb Richard W.M. Jones:
> On Tue, May 18, 2021 at 09:36:12AM +0200, Gottschalk wrote:
>> Hello Mr. Jones,
>>
>> we use guestfish 1.4
> This version was released 11 years ago??
>
>> we have an emergency of Data Recovery. We restored a ESXi 6.7 VMware-Image and
>> wanted to read the data inside with guestfish.
>>
>> The structure of the vm is based on LVM.
>>
>> The first disk with the os inside a LV can be mounted correctly.
>>
>> Two disks a 400GB are covered in a Volumegroup. There is one logical Volume
>> with 800GB in this VG.
>>
>> Guestfish does not read the filesystem in this LV.
>>
>> I tried
>>
>>> <fs>add disk1.vmdk
>>> <fs>add disk2.vmdk
>>> <fs>add disk3.vmdk
>>> <fs>run
>>> <fs>list-devices
>> /dev/sda
>> /dev/sdb
>> /dev/sdc
>>
>>> <fs>list-partitions
>> /dev/sda1
>> On sdb and sdc there are no partitions. The LV resides directly on these disks.
>> I simulated  this with partitioned disks and identically result.
>>
>> behavior without partitions on sdb and sdc
>>> <fs> list-filesystems
>> /dev/mailxxx-vg/root: ext4
>> /dev/mailxxx-vg/swap_1: swap
>> /dev/vmail-vg/vmail-lv: unknown
>>
>> behavior with partitions on sdb and sdc
>>> <fs> list-filesystems
>> libguestfs: error: list_filesystems: parted exited with status 1: Error: Can't
>> have a partition outside the disk!
>>> <fs>
>>
>>> <fs>mount /dev/mailxxx-vg/root /
>> works fine
>>> <fs>mount/dev/vmail-vg/vmail-lv /
>> libguestfs: error: mount: mount_stub: /dev/vmail-vg/vmail-lv: expecting a
>> device name
>>
>> How can i get access to this LV?
>> Can you help me please?
>> Thank you very much.
> I would suggest enabling debugging to start with, which should give
> you more information about what is actually going on.  This section of
> the FAQ will explain how to do that:
>
> https://libguestfs.org/guestfs-faq.1.html#debugging-libguestfs
>
> Rich.
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://listman.redhat.com/archives/libguestfs/attachments/20210518/5171eb27/attachment.htm>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: smime.p7s
Type: application/pkcs7-signature
Size: 4210 bytes
Desc: S/MIME Cryptographic Signature
URL: <http://listman.redhat.com/archives/libguestfs/attachments/20210518/5171eb27/attachment.p7s>


More information about the Libguestfs mailing list