Nir, can you please have a look?

On Mon, Jun 10, 2019 at 2:29 PM Aminur Rahman <aminur.rahman@iongroup.com> wrote:

Hi Eyal

 

We’re using:

 

ovirt-engine-4.2.8.2-1.el7.noarch

vdsm-client-4.20.46-1.el7.noarch

 

Thanks

 

From: Eyal Shenitzky <eshenitz@redhat.com>
Sent: 10 June 2019 07:20
To: Aminur Rahman <aminur.rahman@iongroup.com>; Nir Soffer <nsoffer@redhat.com>
Cc: users <users@ovirt.org>
Subject: Re: [ovirt-users] Failed to activate Storage Domain --- ovirt 4.2

 

Hi Aminur,

 

Can you please send the engine and vdsm versions?

 

 

On Fri, Jun 7, 2019 at 5:03 PM <aminur.rahman@iongroup.com> wrote:

Hi
Has anyone experiencing the following issue with Storage Domain -

Failed to activate Storage Domain cLUN-R940-DC2-dstore01 --
VDSM command ActivateStorageDomainVDS failed: Storage domain does not exist: (u'1b0ef853-fd71-45ea-8165-cc6047a267bc',)

Currently, the storge Domain is Inactive and strangely, the VMs are running as normal. We can't manage or extend the volume size of this storage domain. The pvscan shows as:
[root@uk1-ion-ovm-18  pvscan
  /dev/mapper/36000d310056978000000000000000014: Checksum error at offset 4397954425856
  Couldn't read volume group metadata from /dev/mapper/36000d310056978000000000000000014.
  Metadata location on /dev/mapper/36000d310056978000000000000000014 at 4397954425856 has invalid summary for VG.
  Failed to read metadata summary from /dev/mapper/36000d310056978000000000000000014
  Failed to scan VG from /dev/mapper/36000d310056978000000000000000014

I have tired the following steps:
1. Restarted ovirt-engine.service
2. tried to restore the metadata using vgcfgrestore but it failed with the following error:

[root@uk1-ion-ovm-19 backup]# vgcfgrestore 36000d310056978000000000000000014
  Volume group 36000d310056978000000000000000014 has active volume: .
  WARNING: Found 1 active volume(s) in volume group "36000d310056978000000000000000014".
  Restoring VG with active LVs, may cause mismatch with its metadata.
Do you really want to proceed with restore of volume group "36000d310056978000000000000000014", while 1 volume(s) are active? [y/n]: y
  /dev/mapper/36000d310056978000000000000000014: Checksum error at offset 4397954425856
  Couldn't read volume group metadata from /dev/mapper/36000d310056978000000000000000014.
  Metadata location on /dev/mapper/36000d310056978000000000000000014 at 4397954425856 has invalid summary for VG.
  Failed to read metadata summary from /dev/mapper/36000d310056978000000000000000014
  Failed to scan VG from /dev/mapper/36000d310056978000000000000000014
  /etc/lvm/backup/36000d310056978000000000000000014: stat failed: No such file or directory
  Couldn't read volume group metadata from file.
  Failed to read VG 36000d310056978000000000000000014 from /etc/lvm/backup/36000d310056978000000000000000014
  Restore failed.

Please let me know if anyone knows any possible resolution.

-AMinur
_______________________________________________
Users mailing list -- users@ovirt.org
To unsubscribe send an email to users-leave@ovirt.org
Privacy Statement: https://www.ovirt.org/site/privacy-policy/
oVirt Code of Conduct: https://www.ovirt.org/community/about/community-guidelines/
List Archives: https://lists.ovirt.org/archives/list/users@ovirt.org/message/W2JP7ZO5XMV66ATT3N33IKCZHKM6XPWJ/


 

--

Regards,

Eyal Shenitzky



--
Regards,
Eyal Shenitzky