[Libguestfs] guestfish emergency extension

Gottschalk gottschalk at raw.de
Wed May 19 13:12:14 UTC 2021


Hello Rich,

thank you very much for your help.


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 19.05.21 um 14:58 schrieb Richard W.M. Jones:
> On Wed, May 19, 2021 at 10:01:33AM +0200, Gottschalk wrote:
>> + lvm pvs
>>    WARNING: Device /dev/sdb has size of 398267904 sectors which is smaller than corresponding PV size of 838860800 sectors. Was device resized?
>>    WARNING: One or more devices used as PVs in VG vmail-vg have changed sizes.
>>    PV         VG         Fmt  Attr PSize    PFree
>>    /dev/sda1  mailxxx-vg lvm2 a--   <20.00g      0
>>    /dev/sdb   vmail-vg   lvm2 a--  <400.00g      0
>>    /dev/sdc   vmail-vg   lvm2 a--  <400.00g 192.00m
>> + lvm vgs
>>    WARNING: Device /dev/sdb has size of 398267904 sectors which is smaller than corresponding PV size of 838860800 sectors. Was device resized?
>>    WARNING: One or more devices used as PVs in VG vmail-vg have changed sizes.
>>    VG         #PV #LV #SN Attr   VSize   VFree
>>    mailxxx-vg   1   2   0 wz--n- <20.00g      0
>>    vmail-vg     2   1   0 wz--n- 799.99g 192.00m
>> + lvm lvs
>>    WARNING: Device /dev/sdb has size of 398267904 sectors which is smaller than corresponding PV size of 838860800 sectors. Was device resized?
>>    WARNING: One or more devices used as PVs in VG vmail-vg have changed sizes.
>>    LV       VG         Attr       LSize   Pool Origin Data%  Meta%  Move Log Cpy%Sync Convert
>>    root     mailxxx-vg -wi-a----- <19.04g
>>    swap_1   mailxxx-vg -wi-a----- 980.00m
>>    vmail-lv vmail-vg   -wi------- 799.80g
> There's the error - the LVM PV is corrupt and/or the underlying disk
> was shrunk without shrinking the PV.
>
> Restoration from backups is the way to go here, but you could also try
> examining the disk using the "virt-rescue" tool, which may allow you
> to recover something.
>
> Rich.
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://listman.redhat.com/archives/libguestfs/attachments/20210519/14dee6c8/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/20210519/14dee6c8/attachment.p7s>


More information about the Libguestfs mailing list