Jump to content
Welcome to our new Citrix community!
  • 0

Xenserver 7.1.2 sr-scan failed


di zhang1709161066

Question

Hello All

I have an ISCSI SR storage in my cluster. The previous VDI was corrupted due to an error after the online migration of vdi.

Later, I executed the get operation on the VDI through the CLI, and then used lvmremove to delete the LV volume corresponding to the VDI.

Now when sr-scan is executed, it fails, but other operations for this SR, such as reading, writing, creating, and deleting, are normal.

 

 

Error code: SR_BACKEND_FAILURE_40
Error parameters: , The SR scan failed  [opterr=Command ['/sbin/lvchange', '-ay', '/dev/VG_XenStorage-155f0774-2448-4db8-7036-090b7e68981f/VHD-13eca895-1c34-454c-890d-6e95e43e9fa6'] failed (WARNING: duplicate PV QaSkmxgN1FYo10j2reWsV2Z8OeP2KHUo is being used from both devices /dev/disk/by-scsid/36000d31004aa36000000000000000052/mapper and /dev/disk/by-scsid/36000d31004aa36000000000000000052/sdaj
  Found duplicate PV QaSkmxgN1FYo10j2reWsV2Z8OeP2KHUo: using /dev/disk/by-scsid/36000d31004aa36000000000000000052/mapper not /dev/disk/by-scsid/36000d31004aa36000000000000000052/sdaj
  Using duplicate PV /dev/disk/by-scsid/36000d31004aa36000000000000000052/mapper from subsystem DM, ignoring /dev/disk/by-scsid/36000d31004aa36000000000000000052/sdaj
  WARNING: duplicate PV QaSkmxgN1FYo10j2reWsV2Z8OeP2KHUo is being used from both devices /dev/disk/by-scsid/36000d31004aa36000000000000000052/mapper and/dev/disk/by-scsid/36000d31004aa36000000000000000052/sdau
  Found duplicate PV QaSkmxgN1FYo10j2reWsV2Z8OeP2KHUo: using /dev/disk/by-scsid/36000d31004aa36000000000000000052/mapper not /dev/disk/by-scsid/36000d31004aa36000000000000000052/sdau
  Using duplicate PV /dev/disk/by-scsid/36000d31004aa36000000000000000052/mapper from subsystem DM, ignoring /dev/disk/by-scsid/36000d31004aa36000000000000000052/sdau
  Failed to find logical volume "VG_XenStorage-155f0774-2448-4db8-7036-090b7e68981f/VHD-13eca895-1c34-454c-890d-6e95e43e9fa6"): Input/output error],

 

 

 

 

How can I get this SR back to normal?

Link to comment

4 answers to this question

Recommended Posts

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...