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

[Xen-API] Re: [Xen-users] XCP 1.0 beta - Locked VDI after power loss

To: Chris Petrolino <cpetrolino@xxxxxxxxx>, xen-api@xxxxxxxxxxxxxxxxxxx
Subject: [Xen-API] Re: [Xen-users] XCP 1.0 beta - Locked VDI after power loss
From: Chris Percol <chris.percol@xxxxxxxxx>
Date: Thu, 17 Feb 2011 10:42:00 +0000
Cc:
Delivery-date: Thu, 17 Feb 2011 02:43:30 -0800
Dkim-signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:in-reply-to:references:date :message-id:subject:from:to:content-type; bh=Gl/xKvOfeCMe+ZzvEefzgDxq25+tQmIZxD5P+pX1JU0=; b=hDiS4/xTjgYnZXIX9g8RI17S91HzeCJYfF2XZnBacunubRolXYLKrEXD0ZDe9nPGa6 dxNcJETxcIefyh2Aou6BDOW8+YR/BbtR5hncYqSfsL4SWMs+PupMScQraQ9jClmr2g6G NEMdU+Nk4Gu4CXoKqXDzdLsuNMkq8bnO5GD8U=
Domainkey-signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :content-type; b=ecclklPxzTh4d7SK0CrqJiuQ+3D5pXOBa2jP9dH//T0aQlAOVYvMaza6h4pW8mTnYn S0dV2+domLVtBUI1O5ANxDaW4sFGSEYQyvCIMvrLd+XmqbXZ9wnj7OLV1Bzami4GDemM AYQalyRXA3w2obbslViIDAZj3rvMndUVMuIS0=
Envelope-to: www-data@xxxxxxxxxxxxxxxxxxx
In-reply-to: <CA65857C-DC31-430C-9D22-FAAF80D2F055@xxxxxxxxx>
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: <99DA356A-6795-4DFD-9751-103C87606E6D@xxxxxxxxx> <CA65857C-DC31-430C-9D22-FAAF80D2F055@xxxxxxxxx>
Sender: xen-api-bounces@xxxxxxxxxxxxxxxxxxx
Hi,

Just wanted to post an update on how we fixed 'vdi not available' and 'sr backend failure' issues after pulling the power on two of our xcp hosts several seconds after initiating a shutdown. We are usng an iSCSI san for storage (qsan).

###Fix VDI Problems after Power Failure###

#Steps that fixed 'vdi not available', sr backend failure

console
xe pbd-list sr-uuid=<uuid>
xe pbd-unplug uuid=<uuid>

Xen Center
Storage Forget
Storage > New Storage

xsconsole
Restore Virtual Machine Metadata

Thanks for previous help on this issue.

Chris

On Fri, Jan 21, 2011 at 1:18 PM, Chris Petrolino <cpetrolino@xxxxxxxxx> wrote:
Thanks guys I'll give these a shot as soon as I get into the office! 

Kind Regards,

Christopher James Petrolino


On Jan 21, 2011, at 5:54 AM, Kristoffer <kegefelt@xxxxxxxxx> wrote:

Hi,

I've worked around this issue a couple of times - These are my notes:

    • xe sr-forget uuid=c208e85a-b5ea-8b89-62ff-52ebbf5263f8
    • xe sr-introduce uuid=c208e85a-b5ea-8b89-62ff-52ebbf5263f8 type=ext name-label='Local storage' content-type=user
    • xe pbd-create sr-uuid=c208e85a-b5ea-8b89-62ff-52ebbf5263f8 device-config:device=/dev/disk-by-id/scsi-360345678123456781300046d062de2ee-part3 host-uuid=a600493f-d142-4785-8618-d00dc5069b1e
    • xe pbd-plug uuid=dc103449-ef50-6a05-c58b-995de0314edd
    • vgrename VG_XenStorage-c208e85a-b5ea-8b89-62ff-52ebbf5263f8 XSLocalEXT-c208e85a-b5ea-8b89-62ff-52ebbf5263f8
    • xe pbd-plug uuid=dc103449-ef50-6a05-c58b-995de0314edd
    • restore metadata or guess which VDI's are connected to VMs



Hey guys I have seen a couple other folks post about this happening
but haven't seen if anyone has successfully figured out the cause and
or solution to this problem.

One of our network guys did an accidental plug pulls on one of our XCP
1.0 beta boxes. I have a couple VDI on this box " a few that are on
shared storage, and a few that are on local storage. Every time I try
to start any of them I get "the vdi is unavailable" or on open xen
manager I get - Error parameters: , The VDI is not available
[opterr=VDI fc77b366-950b-49be-90ce-2a466cf73502 already attached RW],

Any advice?

Also if this isn't the right list can anyone point me to the appropriate list?

thanks so much

_______________________________________________
Xen-users mailing list
Xen-users@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-users

_______________________________________________
Xen-users mailing list
Xen-users@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-users

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