Error In Metadata Volume Operation For Sr Citrix
Developer Network (CDN) ForumsCitrix Insight ServicesCitrix ReadyCitrix Success KitsCloud Provider PackCloudBridgeCloudPlatform (powered by Apache CloudStack)CloudPortalDemo CenterDesktopPlayerEdgeSightEducationForum PrototypeHDX MonitorHDX RealTime Optimization PackHotfix Rollup PackJapanese ForumsKnowledge Center FeedbackLicensingLTSRNetScalerNetScaler E-Business CommunityNetScaler Gateway (Formerly Access Gateway)Profile ManagementProof of Concept KitsProvisioning ServerQuick Demo ToolkitReceiver, Plug-ins, and Merchandising ServerSecure GatewayShareFileSingle Sign-On (Password Manager)SmartAuditorStoreFrontTechnology PreviewsTrial SoftwareUniversal Print ServerUser Group CommunityVDI-in-a-BoxWeb InterfaceXenAppXenClientXenDesktopXenMobileXenServer Discussions Support Forums Products XenServer XenServer Product Family Storage Javascript Disabled Detected You currently have javascript disabled. Several functions may not work. Please re-enable javascript to access full functionality. Error In metadata Volume Operation For SR Started by Kevin Gurney , 19 October 2011 - 10:23 AM Login to Reply Page 1 of 8 1 2 3 150 replies to this topic Kevin Gurney Members #1 Kevin Gurney 3 posts Posted 19 October 2011 - 10:23 AM Scanning SR 'Local Storage' Error: Error In metadata Volume Operation For SR. Just done a new installation of Xenserver 6.0 and created a single VM running Windows Server 2003 which all went fine - need a couple of VM's to run as a test environment for some development work so this seemed to be the perfect solution. I took a snapshot of the fully updated VM with the intention of creating a second VM using the snapshot of the first but get the above error when I try to create the second VM. In fact I get the error when I try and do anything storage related. 1366-295713-1589650 Back to top Florian Wicke Members #2 Florian Wicke 22 posts Posted 19 October 2011 - 11:24 AM We get the same error. LVMoiSCSI - worked fine for a few hours and then started to give this failure
Modified:14 Apr 2016 Languages log in to start download LOGIN Don't have an account? Create one here. Or Continue As Guest Which best describes you: IT Admin Business User DOWNLOAD Symptoms or Error After installation or upgrade to XenServer 6.0, user experiences issues with any storage related operations. http://discussions.citrix.com/topic/295713-error-in-metadata-volume-operation-for-sr/ The following error message appears: “SR_BACKEND_FAILURE_181 Error In metadata Volume Operation For SR.” The following entries appears in the log /var/log/SMlog file: Error code: SR_BACKEND_FAILURE_181 Error parameters: , Error in Metadata volume operation for SR. opterr=VDI delete operation failed for parameters: http://support.citrix.com/article/CTX131660 /dev/VG_XenStorage-427796a3-6891-dcb7-681f-cc7c5463ea0a/MGT, 7b496cd3-9d9c-4cb4-b510-4613e65e7141. Error: not well-formed (invalid token): line 1, column 99, [10146] 2011-11-27 08:05:10.977985 Raising exception [181, Error in Metadata volume operation for SR. [opterr=VDI delete operation failed for parameters: /dev/VG_XenStorage-511f729e-0f0e-a679-9b8e-4d7ed28f6537/MGT, 65f8e675-9416-4909-8cd1-b7d75af06762. Error: not well-formed (invalid token): line 1, column 65]] [10146] 2011-11-27 08:05:10.978109 lock: released /var/lock/sm/511f729e-0f0e-a679-9b8e-4d7ed28f6537/sr [10146] 2011-11-27 08:05:10.979583 ***** sr_scan: EXCEPTION SR.SROSError, Error in Metadata volume operation for SR. [opterr=VDI delete operation failed for parameters: /dev/VG_XenStorage-511f729e-0f0e-a679-9b8e-4d7ed28f6537/MGT, 65f8e675-9416-4909-8cd1-b7d75af06762. Error: not well-formed (invalid token): line 1, column 65] Solution As a workaround, you can remove all special characters from the virtual machine name-label and description fields. Contact Citrix Technical Support to assist you in resolving the issue. Note: Special character should not be used for the storage repository and description field. In situation w
Developer Network (CDN) ForumsCitrix Insight ServicesCitrix ReadyCitrix Success KitsCloud Provider PackCloudBridgeCloudPlatform (powered by Apache CloudStack)CloudPortalDemo CenterDesktopPlayerEdgeSightEducationForum PrototypeHDX MonitorHDX RealTime Optimization PackHotfix Rollup PackJapanese ForumsKnowledge Center FeedbackLicensingLTSRNetScalerNetScaler E-Business CommunityNetScaler Gateway (Formerly Access http://discussions.citrix.com/topic/315124-error-in-metadata-volume-operation-for-sr/ Gateway)Profile ManagementProof of Concept KitsProvisioning ServerQuick Demo ToolkitReceiver, Plug-ins, and Merchandising ServerSecure http://mike-graham.co.uk/blog/2013/06/07/error-scanning-sr-error-in-metadata-volume-operation-for-sr-following-an-upgrade-from-xenserver-5-6/ GatewayShareFileSingle Sign-On (Password Manager)SmartAuditorStoreFrontTechnology PreviewsTrial SoftwareUniversal Print ServerUser Group CommunityVDI-in-a-BoxWeb InterfaceXenAppXenClientXenDesktopXenMobileXenServer Discussions Support Forums Products XenServer XenServer Product Family Storage Javascript Disabled Detected You currently have javascript disabled. Several functions may not work. Please re-enable javascript to access full functionality. Error in Metadata volume operation for SR error in Started by Uli Stärk , 18 October 2012 - 02:31 PM Login to Reply 6 replies to this topic Best Answer shitiz bansal , 18 October 2012 - 06:13 PM hi use the latest patch which addresses the issue http://support.citrix.com/article/CTX135303 . else try renaming the MGT volume using lvrename.HTH !! Go to the full post
Uli Stärk Members error in metadata #1 Uli Stärk 20 posts Posted 18 October 2012 - 02:31 PM I get the following error, when adding a VDI to a VM:Error in Metadata volume operation for SRIn the log I can see the following in the logs:http://nopaste.info/a5af26133c.htmlThe cause should be the exception at /opt/xensource/sm/srmetadata.py:opterr=Failed to read file with params [3, 0, 512, 512]. Error: Input/output errorAn xe-sr scan seems to work: # xe sr-scan uuid=7e44c61a-1421-2bdb-2a72-3f0d7d158602Output: http://nopaste.info/621b4e974e.htmlAfter the scan I can see a new VDI without name and the requested size.An lvscan gives me an error: # lvscan /dev/sdb: read failed after 0 of 2048 at 0: Input/output error /dev/sdc: read failed after 0 of 2048 at 0: Input/output error /dev/sdd: read failed after 0 of 2048 at 0: Input/output error /dev/sde: read failed after 0 of 2048 at 0: Input/output error /dev/sdf: read failed after 0 of 2048 at 0: Input/output errorMaybe this has something todo with it. I'm using a Dell MD36xxf with multipath. Usually lvscan should not scan the sdX-Devices directly, but the devmapper devices /dev/dm-X. The SR seems toGraham I've recently come across an issue whereby performing an upgrade from XenServer 5.6 to XenServer 6 has caused the metadata on an SR to become corrupt. The cause of the problem, believe it or not, is special characters, things like ‘-‘, which often go in server names. First thing to check, as with anything storage is the SMlog, under /var/logs. You will probably see something which looks like the following: Error code: SR_BACKEND_FAILURE_181 Error parameters: , Error in Metadata volume operation for SR. opterr=VDI delete operation failed for parameters: /dev/VG_XenStorage-427796a3-6891-dcb7-681f-cc7c5463ea0a/MGT, 7b496cd3-9d9c-4cb4-b510-4613e65e7141. Error: not well-formed (invalid token): line 1, column 99, [10146] 2011-11-27 08:05:10.977985 Raising exception [181, Error in Metadata volume operation for SR. [opterr=VDI delete operation failed for parameters: /dev/VG_XenStorage-511f729e-0f0e-a679-9b8e-4d7ed28f6537/MGT, 65f8e675-9416-4909-8cd1-b7d75af06762. Error: not well-formed (invalid token): line 1, column 65]] [10146] 2011-11-27 08:05:10.978109 lock: released /var/lock/sm/511f729e-0f0e-a679-9b8e-4d7ed28f6537/sr [10146] 2011-11-27 08:05:10.979583 ***** sr_scan: EXCEPTION SR.SROSError, Error in Metadata volume operation for SR. [opterr=VDI delete operation failed for parameters: /dev/VG_XenStorage-511f729e-0f0e-a679-9b8e-4d7ed28f6537/MGT, 65f8e675-9416-4909-8cd1-b7d75af06762. Error: not well-formed (invalid token): line 1, column 65] If you have upgraded to XenServer 6, you require patch http://support.citrix.com/article/CTX135411 If you have upgraded to XenServer 6.0.2 you require patch http://support.citrix.com/article/CTX135623 This issue has not been reported on XenServer 6.1. If like me, you already have this patch installed, yet still have the issue, the problem is a corruption of the MGT VDI on the affected SR, which holds the metadata. This VDI requires rebuilding, which sounds quite scary, but actually isn't. Citrix has a support article regarding this (http://support.citrix.com/article/CTX131660) however it doesn't really detail the solution correctly, and is far too complex, and involves unplugging storage which really isn't necessary! To rebuild your MGT volume, which can be done on a live production system, during operating hours, follow the steps below. Firstly run the following command to rename the existing MGT VDI on the affected SR lvrename /dev/VG_Xenstorage-