A
A
Andrew Romanov2015-06-07 14:01:13
Xen
Andrew Romanov, 2015-06-07 14:01:13

Xen partition with LVM fell off after reboot?

Server with Xen 6.5, two partitions with lvm. After the reboot, one partition with disks from virtual machines fell off.
Because of this, during the startup of machines that have disks on these virtual machines
xe vm-start vm=web

Error code: SR_BACKEND_FAILURE_46
Error parameters: , The VDI is not available [opterr=Command ['/usr/sbin/lvchange', '-ay', '/dev/VG_XenStorage-9319cf5e-eea8-9214-f26c-c3a4de90f105/VHD-03450ab1-242a-4ae7-8ba4-23d449a28789'] failed (5): device-mapper: reload ioctl failed: Invalid argument],

there is a weird partition
in dmsetup status
isw_bdibgcaaad_Volume0: 0 1855762432 linear
VG_XenStorage--9319cf5e--eea8--9214--f26c--c3a4de90f105-VHD--22937467--8ea9--43fb--ad9e--cd460a921200:
VG_XenStorage--9319cf5e--eea8--9214--f26c--c3a4de90f105-VHD--7e867ab0--9190--4e4a--acc6--99333ad16523:
VG_XenStorage--9319cf5e--eea8--9214--f26c--c3a4de90f105-MGT:
VG_XenStorage--9319cf5e--eea8--9214--f26c--c3a4de90f105-VHD--f531a6f0--2329--46e0--92b2--49da382824ea:
VG_XenStorage--9319cf5e--eea8--9214--f26c--c3a4de90f105-VHD--03450ab1--242a--4ae7--8ba4--23d449a28789:

To the heap
of pvdisplay
--- Physical volume ---
  PV Name               /dev/sdb1
  VG Name               VG_XenStorage-9319cf5e-eea8-9214-f26c-c3a4de90f105
  PV Size               931.51 GB / not usable 11.19 MB
  Allocatable           yes
  PE Size (KByte)       4096
  Total PE              238464
  Free PE               187285
  Allocated PE          51179
  PV UUID               kM3rhD-5Kyg-gwbN-4fPx-F2RE-pmZj-y1kztU

vgdisplay
--- Volume group ---
  VG Name               VG_XenStorage-9319cf5e-eea8-9214-f26c-c3a4de90f105
  System ID
  Format                lvm2
  Metadata Areas        1
  Metadata Sequence No  11
  VG Access             read/write
  VG Status             resizable
  MAX LV                0
  Cur LV                5
  Open LV               0
  Max PV                0
  Cur PV                1
  Act PV                1
  VG Size               931.50 GB
  PE Size               4.00 MB
  Total PE              238464
  Alloc PE / Size       51179 / 199.92 GB
  Free  PE / Size       187285 / 731.58 GB
  VG UUID               fptxlO-quSk-6Je7-Xons-uCYt-JRsY-UBoSX4

lvdisplay
/dev/mapper/VG_XenStorage--9319cf5e--eea8--9214--f26c--c3a4de90f105-MGT: open failed: No such file or directory
  --- Logical volume ---
  LV Name                /dev/VG_XenStorage-9319cf5e-eea8-9214-f26c-c3a4de90f105/MGT
  VG Name                VG_XenStorage-9319cf5e-eea8-9214-f26c-c3a4de90f105
  LV UUID                coYKmO-eeSc-wn6i-npfl-r33F-jqHS-MZWnFH
  LV Write Access        read/write
  LV Status              NOT available
  LV Size                4.00 MB
  Current LE             1
  Segments               1
  Allocation             inherit
  Read ahead sectors     auto

  /dev/mapper/VG_XenStorage--9319cf5e--eea8--9214--f26c--c3a4de90f105-VHD--f531a6f0--2329--46e0--92b2--49da382824ea: open failed: No such file or directory
  --- Logical volume ---
  LV Name                /dev/VG_XenStorage-9319cf5e-eea8-9214-f26c-c3a4de90f105/VHD-f531a6f0-2329-46e0-92b2-49da382824ea
  VG Name                VG_XenStorage-9319cf5e-eea8-9214-f26c-c3a4de90f105
  LV UUID                4CvD02-92YU-cNx3-d91H-C6aQ-ef4X-xyK14r
  LV Write Access        read only
  LV Status              NOT available
  LV Size                49.60 GB
  Current LE             12697
  Segments               1
  Allocation             inherit
  Read ahead sectors     auto

  /dev/mapper/VG_XenStorage--9319cf5e--eea8--9214--f26c--c3a4de90f105-VHD--22937467--8ea9--43fb--ad9e--cd460a921200: open failed: No such file or directory
  --- Logical volume ---
  LV Name                /dev/VG_XenStorage-9319cf5e-eea8-9214-f26c-c3a4de90f105/VHD-22937467-8ea9-43fb-ad9e-cd460a921200
  VG Name                VG_XenStorage-9319cf5e-eea8-9214-f26c-c3a4de90f105
  LV UUID                rlkZyi-bSAi-O5ip-byF4-FBXc-28gW-6LdlwF
  LV Write Access        read/write
  LV Status              NOT available
  LV Size                100.20 GB
  Current LE             25652
  Segments               1
  Allocation             inherit
  Read ahead sectors     auto

  /dev/mapper/VG_XenStorage--9319cf5e--eea8--9214--f26c--c3a4de90f105-VHD--03450ab1--242a--4ae7--8ba4--23d449a28789: open failed: No such file or directory
  --- Logical volume ---
  LV Name                /dev/VG_XenStorage-9319cf5e-eea8-9214-f26c-c3a4de90f105/VHD-03450ab1-242a-4ae7-8ba4-23d449a28789
  VG Name                VG_XenStorage-9319cf5e-eea8-9214-f26c-c3a4de90f105
  LV UUID                SlY1VN-fFcf-WZzv-KDmU-PDvn-fdug-gV2Ob2
  LV Write Access        read/write
  LV Status              NOT available
  LV Size                50.11 GB
  Current LE             12827
  Segments               1
  Allocation             inherit
  Read ahead sectors     auto

  /dev/mapper/VG_XenStorage--9319cf5e--eea8--9214--f26c--c3a4de90f105-VHD--7e867ab0--9190--4e4a--acc6--99333ad16523: open failed: No such file or directory
  --- Logical volume ---
  LV Name                /dev/VG_XenStorage-9319cf5e-eea8-9214-f26c-c3a4de90f105/VHD-7e867ab0-9190-4e4a-acc6-99333ad16523
  VG Name                VG_XenStorage-9319cf5e-eea8-9214-f26c-c3a4de90f105
  LV UUID                kvTQG6-U8pq-lPc1-EQRC-24f3-Wzmw-4wCx6I
  LV Write Access        read/write
  LV Status              NOT available
  LV Size                8.00 MB
  Current LE             2
  Segments               1
  Allocation             inherit
  Read ahead sectors     auto

Answer the question

In order to leave comments, you need to log in

2 answer(s)
P
Puma Thailand, 2015-06-07
@opium

What is the question then?
Well, you made a hardress and beat the disks, probably, well, it is logical that virtual machines cannot start without disks.
well, look at the section of your disk that has not been determined and what is left on it.

A
Argenon, 2015-06-09
@Argenon

Disk physically one or RAID? Most likely this is a hardware problem, check the disks (put another one in a different port), the controller. Check the logs for hard drive errors.

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question