WARNING - OLD ARCHIVES

This is an archived copy of the Xen.org mailing list, which we have preserved to ensure that existing links to archives are not broken. The live archive, which contains the latest emails, can be found at http://lists.xen.org/
   
 
 
Xen 
 
Home Products Support Community News
 
   
 

xen-api

Re: [Xen-API] problem accessing lvmoiscsi vhd : libvhd::vhd_validate_foo

To: Denis Cardon <denis.cardon@xxxxxxxxxxxxxxxxxxxxxx>
Subject: Re: [Xen-API] problem accessing lvmoiscsi vhd : libvhd::vhd_validate_footer: invalid footer cookie:
From: Julian Chesterfield <julian.chesterfield@xxxxxxxxxxxxx>
Date: Mon, 16 May 2011 17:27:59 +0100
Cc: "xen-api@xxxxxxxxxxxxxxxxxxx" <xen-api@xxxxxxxxxxxxxxxxxxx>
Delivery-date: Mon, 16 May 2011 09:26:33 -0700
Envelope-to: www-data@xxxxxxxxxxxxxxxxxxx
In-reply-to: <4DD1353A.4010300@xxxxxxxxxxxxxxxxxxxxxx>
List-help: <mailto:xen-api-request@lists.xensource.com?subject=help>
List-id: Discussion of API issues surrounding Xen <xen-api.lists.xensource.com>
List-post: <mailto:xen-api@lists.xensource.com>
List-subscribe: <http://lists.xensource.com/mailman/listinfo/xen-api>, <mailto:xen-api-request@lists.xensource.com?subject=subscribe>
List-unsubscribe: <http://lists.xensource.com/mailman/listinfo/xen-api>, <mailto:xen-api-request@lists.xensource.com?subject=unsubscribe>
References: <4DD1353A.4010300@xxxxxxxxxxxxxxxxxxxxxx>
Sender: xen-api-bounces@xxxxxxxxxxxxxxxxxxx
User-agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.9.1.10) Gecko/20100527 Thunderbird/3.0.5
Hi Denis,

This sounds possibly like a different sort of failure to the hotfix issue. Can you run an sr-scan on that SR and check the output. See if you get a failure and entries in the /var/log/SMlog file that indicate vhd-util scan was unable to read VHD headers.

Thanks,
Julian

On 16/05/11 15:31, Denis Cardon wrote:
Hi everyone,

this is my first post on this list, I hope I won't be off topic (Dave
Scott's last post make me think that VDI issue are covered here).

I think I have a VHD that has been victim of the bug covered in the
Hotfix XS56EFP1006 (http://support.citrix.com/article/CTX129267). I've
attached a /var/log/xensource output below.

I'd like to know what are the option to get the data in that VDI? Is it
possible to apply the fix on a XCP 1.0 pool? (2 servers, storage on
lvmoicsi).

Thanks for the help,

Denis


May 16 10:28:26 srvxen1 tapdisk[2893]: tapdisk-control: init, 10 x 4k
buffers
May 16 10:28:26 srvxen1 tapdisk[2893]: I/O queue driver: lio
May 16 10:28:26 srvxen1 tapdisk[2893]: tapdisk-log: started, level 0
May 16 10:28:26 srvxen1 tapdisk[2893]: Loading driver 'vhd' for vbd 10
/dev/VG_XenStorage-f489b51d-7b20-62a7-d9f3-829a149cfb2e/VHD-847c6b12-de04-446d-9551-6b8ebc4e01d8
0x00000000
May 16 10:28:26 srvxen1 tapdisk[2893]: libvhd::vhd_validate_footer:
invalid footer cookie:
May 16 10:28:26 srvxen1 tapdisk[2893]: libvhd::vhd_read_footer_at:
/dev/VG_XenStorage-f489b51d-7b20-62a7-d9f3-829a149cfb2e/VHD-847c6b12-de04-446d-9551-6b8ebc4e01d8:
reading footer at 0x2017ffe00 failed: -22
May 16 10:28:26 srvxen1 tapdisk[2893]: libvhd::vhd_read:
/dev/VG_XenStorage-f489b51d-7b20-62a7-d9f3-829a149cfb2e/VHD-847c6b12-de04-446d-9551-6b8ebc4e01d8:
read of 512 returned 0, errno: -22
May 16 10:28:26 srvxen1 tapdisk[2893]: libvhd::vhd_validate_footer:
invalid footer cookie:
May 16 10:28:26 srvxen1 tapdisk[2893]: libvhd::vhd_read_short_footer:
/dev/VG_XenStorage-f489b51d-7b20-62a7-d9f3-829a149cfb2e/VHD-847c6b12-de04-446d-9551-6b8ebc4e01d8:
failed reading short footer: -22
May 16 10:28:26 srvxen1 tapdisk[2893]: libvhd::vhd_validate_footer:
invalid footer cookie:
May 16 10:28:26 srvxen1 tapdisk[2893]: libvhd::vhd_read_footer_at:
/dev/VG_XenStorage-f489b51d-7b20-62a7-d9f3-829a149cfb2e/VHD-847c6b12-de04-446d-9551-6b8ebc4e01d8:
reading footer at 0x00000000 failed: -22
May 16 10:28:26 srvxen1 tapdisk[2893]: tap-err:__vhd_open: Unable to
open
[/dev/VG_XenStorage-f489b51d-7b20-62a7-d9f3-829a149cfb2e/VHD-847c6b12-de04-446d-9551-6b8ebc4e01d8]
(-22)!
May 16 10:28:26 srvxen1 tap-ctl: tap-err:tap_ctl_open: open failed, err -22
May 16 10:28:26 srvxen1 tapdisk[2893]: tapdisk-log: closing after 0 errors
May 16 10:28:26 srvxen1 tapdisk[2893]: tapdisk-syslog: 6 messages, 450
bytes, xmits: 7, failed: 0, dropped: 0
May 16 10:28:26 srvxen1 tapdisk[2893]: tapdisk-control: draining 1
connections
May 16 10:28:26 srvxen1 tapdisk[2893]: tapdisk-control: done
May 16 10:28:26 srvxen1 fe: 2813 (/opt/xensource/sm/LVMoISCSISR
<methodCall><methodName>vdi_activate</methodNam...) exitted with code 1
May 16 10:28:26 srvxen1 xapi: [error|srvxen1.pnrvf.local|1080378
unix-RPC|VM.start R:340b87ae50bc|xapi] Memory F 493288 KiB S 0 KiB T
12278 MiB


_______________________________________________
xen-api mailing list
xen-api@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/mailman/listinfo/xen-api