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

after power off all pbd appear as attached false - all disks and vms down


Julio Cezar Nakasato

Question

[root@xenserver-~]# xe pbd-list

uuid ( RO)                  : 7d4ad271-94de-f265-a92f-18782233b92c

             host-uuid ( RO): e131ed35-1eb9-4220-9f7d-47d83901fabb

               sr-uuid ( RO): 28297a2f-e4d1-60ab-bf8a-280fddcabdb8

         device-config (MRO): device: /dev/disk/by-id/md-uuid-dd114bff:6ac28273:226465e7:c1a22b76-part3

    currently-attached ( RO): false

 

 

uuid ( RO)                  : a9a7447c-87ab-56c7-4fac-664bc380a2aa

             host-uuid ( RO): e131ed35-1eb9-4220-9f7d-47d83901fabb

               sr-uuid ( RO): 9ee64145-10ad-d272-ba8d-eec3d5f9facf

         device-config (MRO): location: /dev/xapi/cd

    currently-attached ( RO): false

 

 

uuid ( RO)                  : 36366d8b-366a-2d68-2977-2b7d1fd89910

             host-uuid ( RO): e131ed35-1eb9-4220-9f7d-47d83901fabb

               sr-uuid ( RO): f5fd8b5b-5f1e-d95c-dd69-7d0801a59e67

         device-config (MRO): device: /dev/sdc1

    currently-attached ( RO): false

 

 

uuid ( RO)                  : fce34dd0-5d14-1834-4dfe-6850cade5ebc

             host-uuid ( RO): e131ed35-1eb9-4220-9f7d-47d83901fabb

               sr-uuid ( RO): 0544c7cc-8c69-282f-fefa-2db3d965d993

         device-config (MRO): path: /opt/xensource/packages/iso; location: /opt/xensource/packages/iso; legacy_mode: true

    currently-attached ( RO): false

 

 

uuid ( RO)                  : ec1eb7b2-22cf-feb6-1f12-cb925b0d5931

             host-uuid ( RO): e131ed35-1eb9-4220-9f7d-47d83901fabb

               sr-uuid ( RO): 879afaf4-195c-9a16-86b3-2d3baff30f33

         device-config (MRO): device: /dev/sdc

    currently-attached ( RO): false

 

 

uuid ( RO)                  : 1c873b81-25dd-4617-c94a-5176f66b936a

             host-uuid ( RO): e131ed35-1eb9-4220-9f7d-47d83901fabb

               sr-uuid ( RO): 6f95db65-97d0-d208-3302-e4c21ba0b8bf

         device-config (MRO): location: /dev/xapi/block

    currently-attached ( RO): false

 

 

all pbd I can connect again with the follow command

xe pbd-plug uuid=xxx

 

and sr scan works too

 

xe sr-scan uuid=

 

 

but the disks are unplugged and the vms are running, I can't shutdown the machines.

 

i`ve tryied to set other-config:auto_poweron=false on all vms, but all vms auto starts same way

 

some thing on the xenserver operational systems appears to be read only.

 

 

when reboot the server with all pbd fixed and sr-scan, all pbds appears again as attached: false and sr unplugged.

 

 

can somebody help me to fix this problem with the operational systems, maybe some permission or file was corrupted

 

 

 

5d4b4ec5d00ac_CapturadeTela2019-08-07s18_16_06.thumb.png.ae10d22b915da610fa18ed8870e85548.png

 

Link to comment

14 answers to this question

Recommended Posts

  • 0
17 minutes ago, Alan Lantz said:

I would check /var/log/SMlog and look for errors, it could be that you local storage disk is bad.

 

--Alan--

 

Hi,,,

 

 

 

yes, a lot of errors,

 

 

follows a little part of the log.

Aug  7 17:25:01 xenserver-netlogica SM: [20859] lock: closed /var/lock/sm/28297a2f-e4d1-60ab-bf8a-280fddcabdb8/sr
Aug  7 17:25:35 xenserver-netlogica SM: [21065] lock: opening lock file /var/lock/sm/f5fd8b5b-5f1e-d95c-dd69-7d0801a59e67/sr
Aug  7 17:25:35 xenserver-netlogica SM: [21065] LVMCache created for VG_XenStorage-f5fd8b5b-5f1e-d95c-dd69-7d0801a59e67
Aug  7 17:25:35 xenserver-netlogica SM: [21065] ['/sbin/vgs', 'VG_XenStorage-f5fd8b5b-5f1e-d95c-dd69-7d0801a59e67']
Aug  7 17:25:36 xenserver-netlogica SM: [21065] FAILED in util.pread: (rc 5) stdout: '', stderr: '  Volume group "VG_XenStorage-f5fd8b5b-5f1e-d95c-dd69-7d0801a59e67" not found
Aug  7 17:25:36 xenserver-netlogica SM: [21065]   Cannot process volume group VG_XenStorage-f5fd8b5b-5f1e-d95c-dd69-7d0801a59e67
Aug  7 17:25:36 xenserver-netlogica SM: [21065] '
Aug  7 17:25:36 xenserver-netlogica SM: [21065] LVMCache: will initialize now
Aug  7 17:25:36 xenserver-netlogica SM: [21065] LVMCache: refreshing
Aug  7 17:25:36 xenserver-netlogica SM: [21065] ['/sbin/lvs', '--noheadings', '--units', 'b', '-o', '+lv_tags', '/dev/VG_XenStorage-f5fd8b5b-5f1e-d95c-dd69-7d0801a59e67']
Aug  7 17:25:36 xenserver-netlogica SM: [21065] FAILED in util.pread: (rc 5) stdout: '', stderr: '  Volume group "VG_XenStorage-f5fd8b5b-5f1e-d95c-dd69-7d0801a59e67" not found
Aug  7 17:25:36 xenserver-netlogica SM: [21065]   Cannot process volume group VG_XenStorage-f5fd8b5b-5f1e-d95c-dd69-7d0801a59e67
Aug  7 17:25:36 xenserver-netlogica SM: [21065] '
Aug  7 17:25:36 xenserver-netlogica SM: [21065] lock: acquired /var/lock/sm/f5fd8b5b-5f1e-d95c-dd69-7d0801a59e67/sr
Aug  7 17:25:36 xenserver-netlogica SM: [21065] sr_attach {'sr_uuid': 'f5fd8b5b-5f1e-d95c-dd69-7d0801a59e67', 'subtask_of': 'DummyRef:|453d2c43-be0f-c8db-6d9b-cc0397cb884f|SR.attach', 'args': [], 'host_ref': 'OpaqueRef:d3a8ef8a-483a-0996-2f51-532bfcdbdf2f', 'session_ref': 'OpaqueRef:5886207c-4702-ae46-a245-9e0b008d18dd', 'device_config': {'device': '/dev/sdc1', 'SRmaster': 'true'}, 'command': 'sr_attach', 'sr_ref': 'OpaqueRef:0a9230fc-2b01-a52d-bec8-bf801961a2a5', 'local_cache_sr': '28297a2f-e4d1-60ab-bf8a-280fddcabdb8'}
Aug  7 17:25:36 xenserver-netlogica SM: [21065] lock: opening lock file /var/lock/sm/f5fd8b5b-5f1e-d95c-dd69-7d0801a59e67/running
Aug  7 17:25:36 xenserver-netlogica SM: [21065] lock: opening lock file /var/lock/sm/f5fd8b5b-5f1e-d95c-dd69-7d0801a59e67/sr
Aug  7 17:25:36 xenserver-netlogica SM: [21065] lock: acquired /var/lock/sm/f5fd8b5b-5f1e-d95c-dd69-7d0801a59e67/running
Aug  7 17:25:36 xenserver-netlogica SM: [21065] lock: acquired /var/lock/sm/f5fd8b5b-5f1e-d95c-dd69-7d0801a59e67/sr
Aug  7 17:25:36 xenserver-netlogica SM: [21065] RESET for SR f5fd8b5b-5f1e-d95c-dd69-7d0801a59e67 (master: True)
Aug  7 17:25:36 xenserver-netlogica SM: [21065] lock: released /var/lock/sm/f5fd8b5b-5f1e-d95c-dd69-7d0801a59e67/sr
Aug  7 17:25:36 xenserver-netlogica SM: [21065] lock: released /var/lock/sm/f5fd8b5b-5f1e-d95c-dd69-7d0801a59e67/running
Aug  7 17:25:36 xenserver-netlogica SM: [21065] lock: closed /var/lock/sm/f5fd8b5b-5f1e-d95c-dd69-7d0801a59e67/running
Aug  7 17:25:36 xenserver-netlogica SM: [21065] lock: closed /var/lock/sm/f5fd8b5b-5f1e-d95c-dd69-7d0801a59e67/sr
Aug  7 17:25:36 xenserver-netlogica SM: [21065] set_dirty 'OpaqueRef:0a9230fc-2b01-a52d-bec8-bf801961a2a5' succeeded
Aug  7 17:25:36 xenserver-netlogica SM: [21065] LVHDSR.attach for f5fd8b5b-5f1e-d95c-dd69-7d0801a59e67
Aug  7 17:25:36 xenserver-netlogica SM: [21065] ['/sbin/vgs', 'VG_XenStorage-f5fd8b5b-5f1e-d95c-dd69-7d0801a59e67']
Aug  7 17:25:36 xenserver-netlogica SM: [21065] FAILED in util.pread: (rc 5) stdout: '', stderr: '  Volume group "VG_XenStorage-f5fd8b5b-5f1e-d95c-dd69-7d0801a59e67" not found
Aug  7 17:25:36 xenserver-netlogica SM: [21065]   Cannot process volume group VG_XenStorage-f5fd8b5b-5f1e-d95c-dd69-7d0801a59e67
Aug  7 17:25:36 xenserver-netlogica SM: [21065] '
Aug  7 17:25:36 xenserver-netlogica SM: [21065] Raising exception [47, The SR is not available [opterr=no such volume group: VG_XenStorage-f5fd8b5b-5f1e-d95c-dd69-7d0801a59e67]]
Aug  7 17:25:36 xenserver-netlogica SM: [21065] lock: released /var/lock/sm/f5fd8b5b-5f1e-d95c-dd69-7d0801a59e67/sr
Aug  7 17:25:36 xenserver-netlogica SM: [21065] ***** generic exception: sr_attach: EXCEPTION <class 'SR.SROSError'>, The SR is not available [opterr=no such volume group: VG_XenStorage-f5fd8b5b-5f1e-d95c-dd69-7d0801a59e67]
Aug  7 17:25:36 xenserver-netlogica SM: [21065]   File "/opt/xensource/sm/SRCommand.py", line 110, in run
Aug  7 17:25:36 xenserver-netlogica SM: [21065]     return self._run_locked(sr)
Aug  7 17:25:36 xenserver-netlogica SM: [21065]   File "/opt/xensource/sm/SRCommand.py", line 159, in _run_locked
Aug  7 17:25:36 xenserver-netlogica SM: [21065]     rv = self._run(sr, target)
Aug  7 17:25:36 xenserver-netlogica SM: [21065]   File "/opt/xensource/sm/SRCommand.py", line 329, in _run
Aug  7 17:25:36 xenserver-netlogica SM: [21065]     return sr.attach(self.params['sr_uuid'])
Aug  7 17:25:36 xenserver-netlogica SM: [21065]   File "/opt/xensource/sm/LVMSR", line 662, in attach
Aug  7 17:25:36 xenserver-netlogica SM: [21065]     opterr='no such volume group: %s' % self.vgname)
Aug  7 17:25:36 xenserver-netlogica SM: [21065]   File "/opt/xensource/sm/xs_errors.py", line 52, in __init__
Aug  7 17:25:36 xenserver-netlogica SM: [21065]     raise SR.SROSError(errorcode, errormessage)
Aug  7 17:25:36 xenserver-netlogica SM: [21065]
Aug  7 17:25:36 xenserver-netlogica SM: [21065] ***** Local VHD on LVM: EXCEPTION <class 'SR.SROSError'>, The SR is not available [opterr=no such volume group: VG_XenStorage-f5fd8b5b-5f1e-d95c-dd69-7d0801a59e67]
Aug  7 17:25:36 xenserver-netlogica SM: [21065]   File "/opt/xensource/sm/SRCommand.py", line 352, in run
Aug  7 17:25:36 xenserver-netlogica SM: [21065]     ret = cmd.run(sr)
Aug  7 17:25:36 xenserver-netlogica SM: [21065]   File "/opt/xensource/sm/SRCommand.py", line 110, in run
Aug  7 17:25:36 xenserver-netlogica SM: [21065]     return self._run_locked(sr)
Aug  7 17:25:36 xenserver-netlogica SM: [21065]   File "/opt/xensource/sm/SRCommand.py", line 159, in _run_locked
Aug  7 17:25:36 xenserver-netlogica SM: [21065]     rv = self._run(sr, target)
Aug  7 17:25:36 xenserver-netlogica SM: [21065]   File "/opt/xensource/sm/SRCommand.py", line 329, in _run
Aug  7 17:25:36 xenserver-netlogica SM: [21065]     return sr.attach(self.params['sr_uuid'])
Aug  7 17:25:36 xenserver-netlogica SM: [21065]   File "/opt/xensource/sm/LVMSR", line 662, in attach
Aug  7 17:25:36 xenserver-netlogica SM: [21065]     opterr='no such volume group: %s' % self.vgname)
Aug  7 17:25:36 xenserver-netlogica SM: [21065]   File "/opt/xensource/sm/xs_errors.py", line 52, in __init__
Aug  7 17:25:36 xenserver-netlogica SM: [21065]     raise SR.SROSError(errorcode, errormessage)
Aug  7 17:25:36 xenserver-netlogica SM: [21065]
Aug  7 17:25:36 xenserver-netlogica SM: [21065] lock: closed /var/lock/sm/f5fd8b5b-5f1e-d95c-dd69-7d0801a59e67/sr
Aug  7 17:25:42 xenserver-netlogica SM: [21117] sr_attach {'sr_uuid': '9ee64145-10ad-d272-ba8d-eec3d5f9facf', 'subtask_of': 'DummyRef:|3f00fbf8-f100-d57e-7004-5874a50036b4|SR.attach', 'args': [], 'host_ref': 'OpaqueRef:d3a8ef8a-483a-0996-2f51-532bfcdbdf2f', 'session_ref': 'OpaqueRef:2a8e29b3-dc5b-2d8d-e373-61842c951d71', 'device_config': {'SRmaster': 'true', 'location': '/dev/xapi/cd'}, 'command': 'sr_attach', 'sr_ref': 'OpaqueRef:37c2cee5-c58d-1ffe-dcd8-5a18360f393c', 'local_cache_sr': '28297a2f-e4d1-60ab-bf8a-280fddcabdb8'}
Aug  7 17:25:42 xenserver-netlogica SM: [21117] lock: opening lock file /var/lock/sm/9ee64145-10ad-d272-ba8d-eec3d5f9facf/running
Aug  7 17:25:42 xenserver-netlogica SM: [21117] lock: opening lock file /var/lock/sm/9ee64145-10ad-d272-ba8d-eec3d5f9facf/sr
Aug  7 17:25:42 xenserver-netlogica SM: [21117] lock: acquired /var/lock/sm/9ee64145-10ad-d272-ba8d-eec3d5f9facf/running
Aug  7 17:25:42 xenserver-netlogica SM: [21117] lock: acquired /var/lock/sm/9ee64145-10ad-d272-ba8d-eec3d5f9facf/sr
Aug  7 17:25:42 xenserver-netlogica SM: [21117] RESET for SR 9ee64145-10ad-d272-ba8d-eec3d5f9facf (master: True)
Aug  7 17:25:42 xenserver-netlogica SM: [21117] lock: released /var/lock/sm/9ee64145-10ad-d272-ba8d-eec3d5f9facf/sr
Aug  7 17:25:42 xenserver-netlogica SM: [21117] lock: released /var/lock/sm/9ee64145-10ad-d272-ba8d-eec3d5f9facf/running
Aug  7 17:25:42 xenserver-netlogica SM: [21117] lock: closed /var/lock/sm/9ee64145-10ad-d272-ba8d-eec3d5f9facf/running
Aug  7 17:25:42 xenserver-netlogica SM: [21117] lock: closed /var/lock/sm/9ee64145-10ad-d272-ba8d-eec3d5f9facf/sr
Aug  7 17:25:42 xenserver-netlogica SM: [21117] set_dirty 'OpaqueRef:37c2cee5-c58d-1ffe-dcd8-5a18360f393c' succeeded
Aug  7 17:25:42 xenserver-netlogica SM: [21128] sr_update {'sr_uuid': '9ee64145-10ad-d272-ba8d-eec3d5f9facf', 'subtask_of': 'DummyRef:|8fa5539e-29e8-8a1a-dee3-3f4674ac15f9|SR.stat', 'args': [], 'host_ref': 'OpaqueRef:d3a8ef8a-483a-0996-2f51-532bfcdbdf2f', 'session_ref': 'OpaqueRef:d58d707c-2def-53a6-4bee-52abe9e2d9e7', 'device_config': {'SRmaster': 'true', 'location': '/dev/xapi/cd'}, 'command': 'sr_update', 'sr_ref': 'OpaqueRef:37c2cee5-c58d-1ffe-dcd8-5a18360f393c', 'local_cache_sr': '28297a2f-e4d1-60ab-bf8a-280fddcabdb8'}
Aug  7 17:25:43 xenserver-netlogica SM: [21143] sr_scan {'sr_uuid': '9ee64145-10ad-d272-ba8d-eec3d5f9facf', 'subtask_of': 'DummyRef:|1d7b13af-5f97-9c59-372f-23eda14b5268|SR.scan', 'args': [], 'host_ref': 'OpaqueRef:d3a8ef8a-483a-0996-2f51-532bfcdbdf2f', 'session_ref': 'OpaqueRef:86deb41e-42ec-07dc-5369-26e346382028', 'device_config': {'SRmaster': 'true', 'location': '/dev/xapi/cd'}, 'command': 'sr_scan', 'sr_ref': 'OpaqueRef:37c2cee5-c58d-1ffe-dcd8-5a18360f393c', 'local_cache_sr': '28297a2f-e4d1-60ab-bf8a-280fddcabdb8'}
Aug  7 17:25:43 xenserver-netlogica SM: [21160] sr_update {'sr_uuid': '9ee64145-10ad-d272-ba8d-eec3d5f9facf', 'subtask_of': 'DummyRef:|a73531e2-05d0-ee21-84f4-c6667208929e|SR.stat', 'args': [], 'host_ref': 'OpaqueRef:d3a8ef8a-483a-0996-2f51-532bfcdbdf2f', 'session_ref': 'OpaqueRef:bacce4ca-ea85-e239-50cf-67f9b554217f', 'device_config': {'SRmaster': 'true', 'location': '/dev/xapi/cd'}, 'command': 'sr_update', 'sr_ref': 'OpaqueRef:37c2cee5-c58d-1ffe-dcd8-5a18360f393c', 'local_cache_sr': '28297a2f-e4d1-60ab-bf8a-280fddcabdb8'}
Aug  7 17:25:43 xenserver-netlogica SM: [21172] sr_update {'sr_uuid': '9ee64145-10ad-d272-ba8d-eec3d5f9facf', 'subtask_of': 'DummyRef:|7d58e6d4-202f-5bbf-968b-1403d63942a1|SR.stat', 'args': [], 'host_ref': 'OpaqueRef:d3a8ef8a-483a-0996-2f51-532bfcdbdf2f', 'session_ref': 'OpaqueRef:33ca0dcf-306c-7022-e9a5-2cd0d42d0d8b', 'device_config': {'SRmaster': 'true', 'location': '/dev/xapi/cd'}, 'command': 'sr_update', 'sr_ref': 'OpaqueRef:37c2cee5-c58d-1ffe-dcd8-5a18360f393c', 'local_cache_sr': '28297a2f-e4d1-60ab-bf8a-280fddcabdb8'}
Aug  7 17:25:49 xenserver-netlogica SM: [21213] sr_attach {'sr_uuid': '0544c7cc-8c69-282f-fefa-2db3d965d993', 'subtask_of': 'DummyRef:|14a39ea3-39ea-4b89-73bd-20b5a97d9baf|SR.attach', 'args': [], 'host_ref': 'OpaqueRef:d3a8ef8a-483a-0996-2f51-532bfcdbdf2f', 'session_ref': 'OpaqueRef:962fe144-dc8b-b50f-2106-82f9a22a3ddf', 'device_config': {'path': '/opt/xensource/packages/iso', 'legacy_mode': 'true', 'SRmaster': 'true', 'location': '/opt/xensource/packages/iso'}, 'command': 'sr_attach', 'sr_ref': 'OpaqueRef:678dcc8c-e873-af01-4fce-88c4065b0b66', 'local_cache_sr': '28297a2f-e4d1-60ab-bf8a-280fddcabdb8'}
Aug  7 17:25:49 xenserver-netlogica SM: [21213] lock: opening lock file /var/lock/sm/0544c7cc-8c69-282f-fefa-2db3d965d993/running
Aug  7 17:25:49 xenserver-netlogica SM: [21213] lock: opening lock file /var/lock/sm/0544c7cc-8c69-282f-fefa-2db3d965d993/sr
Aug  7 17:25:49 xenserver-netlogica SM: [21213] lock: acquired /var/lock/sm/0544c7cc-8c69-282f-fefa-2db3d965d993/running
Aug  7 17:25:49 xenserver-netlogica SM: [21213] lock: acquired /var/lock/sm/0544c7cc-8c69-282f-fefa-2db3d965d993/sr
Aug  7 17:25:49 xenserver-netlogica SM: [21213] RESET for SR 0544c7cc-8c69-282f-fefa-2db3d965d993 (master: True)
Aug  7 17:25:49 xenserver-netlogica SM: [21213] lock: released /var/lock/sm/0544c7cc-8c69-282f-fefa-2db3d965d993/sr
Aug  7 17:25:49 xenserver-netlogica SM: [21213] lock: released /var/lock/sm/0544c7cc-8c69-282f-fefa-2db3d965d993/running
Aug  7 17:25:49 xenserver-netlogica SM: [21213] lock: closed /var/lock/sm/0544c7cc-8c69-282f-fefa-2db3d965d993/running
Aug  7 17:25:49 xenserver-netlogica SM: [21213] lock: closed /var/lock/sm/0544c7cc-8c69-282f-fefa-2db3d965d993/sr
Aug  7 17:25:49 xenserver-netlogica SM: [21213] set_dirty 'OpaqueRef:678dcc8c-e873-af01-4fce-88c4065b0b66' succeeded
Aug  7 17:25:50 xenserver-netlogica SM: [21223] sr_update {'sr_uuid': '0544c7cc-8c69-282f-fefa-2db3d965d993', 'subtask_of': 'DummyRef:|7867be60-e6bb-7708-668a-d96708ac1a4f|SR.stat', 'args': [], 'host_ref': 'OpaqueRef:d3a8ef8a-483a-0996-2f51-532bfcdbdf2f', 'session_ref': 'OpaqueRef:c052eec6-daeb-f260-af16-f440747b3d39', 'device_config': {'path': '/opt/xensource/packages/iso', 'legacy_mode': 'true', 'SRmaster': 'true', 'location': '/opt/xensource/packages/iso'}, 'command': 'sr_update', 'sr_ref': 'OpaqueRef:678dcc8c-e873-af01-4fce-88c4065b0b66', 'local_cache_sr': '28297a2f-e4d1-60ab-bf8a-280fddcabdb8'}
Aug  7 17:25:50 xenserver-netlogica SM: [21233] sr_scan {'sr_uuid': '0544c7cc-8c69-282f-fefa-2db3d965d993', 'subtask_of': 'DummyRef:|a32fbce3-3d41-0764-3f51-c11f3f67e269|SR.scan', 'args': [], 'host_ref': 'OpaqueRef:d3a8ef8a-483a-0996-2f51-532bfcdbdf2f', 'session_ref': 'OpaqueRef:000c3fb3-1ed8-a3de-ee3b-b93f359e774b', 'device_config': {'path': '/opt/xensource/packages/iso', 'legacy_mode': 'true', 'SRmaster': 'true', 'location': '/opt/xensource/packages/iso'}, 'command': 'sr_scan', 'sr_ref': 'OpaqueRef:678dcc8c-e873-af01-4fce-88c4065b0b66', 'local_cache_sr': '28297a2f-e4d1-60ab-bf8a-280fddcabdb8'}
Aug  7 17:25:50 xenserver-netlogica SM: [21233] version=7.0.0 build=0
Aug  7 17:25:50 xenserver-netlogica SM: [21248] version=7.0.0 build=0
Aug  7 17:25:50 xenserver-netlogica SM: [21248] vdi_update {'sr_uuid': '0544c7cc-8c69-282f-fefa-2db3d965d993', 'subtask_of': 'DummyRef:|da3f22b9-23a5-a6bc-ebcf-ce0571fc6cf7|VDI.stat', 'vdi_ref': 'OpaqueRef:a8f0f553-2610-1d0f-fcb1-022b231c4b15', 'vdi_on_boot': 'persist', 'args': [], 'vdi_location': 'guest-tools-7.0.0.iso', 'host_ref': 'OpaqueRef:d3a8ef8a-483a-0996-2f51-532bfcdbdf2f', 'session_ref': 'OpaqueRef:f5ca78d0-7dff-73bb-260a-019daca04d3c', 'device_config': {'path': '/opt/xensource/packages/iso', 'legacy_mode': 'true', 'SRmaster': 'true', 'location': '/opt/xensource/packages/iso'}, 'command': 'vdi_update', 'vdi_allow_caching': 'false', 'sr_ref': 'OpaqueRef:678dcc8c-e873-af01-4fce-88c4065b0b66', 'local_cache_sr': '28297a2f-e4d1-60ab-bf8a-280fddcabdb8', 'vdi_uuid': '11f47249-850a-4ce1-95f6-727e801010ea'}
Aug  7 17:25:50 xenserver-netlogica SM: [21257] sr_update {'sr_uuid': '0544c7cc-8c69-282f-fefa-2db3d965d993', 'subtask_of': 'DummyRef:|8cb1f725-c2f2-3d67-5dc0-4ad4d60173d8|SR.stat', 'args': [], 'host_ref': 'OpaqueRef:d3a8ef8a-483a-0996-2f51-532bfcdbdf2f', 'session_ref': 'OpaqueRef:77d61f27-7391-18ca-0ebb-5ccef6a49e98', 'device_config': {'path': '/opt/xensource/packages/iso', 'legacy_mode': 'true', 'SRmaster': 'true', 'location': '/opt/xensource/packages/iso'}, 'command': 'sr_update', 'sr_ref': 'OpaqueRef:678dcc8c-e873-af01-4fce-88c4065b0b66', 'local_cache_sr': '28297a2f-e4d1-60ab-bf8a-280fddcabdb8'}
Aug  7 17:25:50 xenserver-netlogica SM: [21264] sr_update {'sr_uuid': '0544c7cc-8c69-282f-fefa-2db3d965d993', 'subtask_of': 'DummyRef:|2b462bf6-82d6-86c1-fcc4-7bdb4c594923|SR.stat', 'args': [], 'host_ref': 'OpaqueRef:d3a8ef8a-483a-0996-2f51-532bfcdbdf2f', 'session_ref': 'OpaqueRef:44bd66f0-f3ca-01d4-dac3-4902c3f12109', 'device_config': {'path': '/opt/xensource/packages/iso', 'legacy_mode': 'true', 'SRmaster': 'true', 'location': '/opt/xensource/packages/iso'}, 'command': 'sr_update', 'sr_ref': 'OpaqueRef:678dcc8c-e873-af01-4fce-88c4065b0b66', 'local_cache_sr': '28297a2f-e4d1-60ab-bf8a-280fddcabdb8'}
Aug  7 17:26:04 xenserver-netlogica SM: [21444] sr_scan {'sr_uuid': '0544c7cc-8c69-282f-fefa-2db3d965d993', 'subtask_of': 'DummyRef:|f35d39b3-960a-b9c4-5765-4f21eab4948d|SR.scan', 'args': [], 'host_ref': 'OpaqueRef:d3a8ef8a-483a-0996-2f51-532bfcdbdf2f', 'session_ref': 'OpaqueRef:abbb60b8-e501-1832-55d6-b2bc7df048ff', 'device_config': {'path': '/opt/xensource/packages/iso', 'legacy_mode': 'true', 'SRmaster': 'true', 'location': '/opt/xensource/packages/iso'}, 'command': 'sr_scan', 'sr_ref': 'OpaqueRef:678dcc8c-e873-af01-4fce-88c4065b0b66', 'local_cache_sr': '28297a2f-e4d1-60ab-bf8a-280fddcabdb8'}
Aug  7 17:26:04 xenserver-netlogica SM: [21444] version=7.0.0 build=0
Aug  7 17:26:04 xenserver-netlogica SM: [21459] version=7.0.0 build=0
Aug  7 17:26:04 xenserver-netlogica SM: [21459] vdi_update {'sr_uuid': '0544c7cc-8c69-282f-fefa-2db3d965d993', 'subtask_of': 'DummyRef:|105e6581-7fca-0084-eb09-8d21d3fe9cbe|VDI.stat', 'vdi_ref': 'OpaqueRef:a8f0f553-2610-1d0f-fcb1-022b231c4b15', 'vdi_on_boot': 'persist', 'args': [], 'vdi_location': 'guest-tools-7.0.0.iso', 'host_ref': 'OpaqueRef:d3a8ef8a-483a-0996-2f51-532bfcdbdf2f', 'session_ref': 'OpaqueRef:5e8a9335-7071-c86a-78a5-4f46be6e8df7', 'device_config': {'path': '/opt/xensource/packages/iso', 'legacy_mode': 'true', 'SRmaster': 'true', 'location': '/opt/xensource/packages/iso'}, 'command': 'vdi_update', 'vdi_allow_caching': 'false', 'sr_ref': 'OpaqueRef:678dcc8c-e873-af01-4fce-88c4065b0b66', 'local_cache_sr': '28297a2f-e4d1-60ab-bf8a-280fddcabdb8', 'vdi_uuid': '11f47249-850a-4ce1-95f6-727e801010ea'}
Aug  7 17:26:04 xenserver-netlogica SM: [21468] sr_update {'sr_uuid': '0544c7cc-8c69-282f-fefa-2db3d965d993', 'subtask_of': 'DummyRef:|15c6cad6-3411-75b6-ad6b-919fa1a01dd6|SR.stat', 'args': [], 'host_ref': 'OpaqueRef:d3a8ef8a-483a-0996-2f51-532bfcdbdf2f', 'session_ref': 'OpaqueRef:a0b35b9d-e44c-7138-c1b3-f134ea47cfb0', 'device_config': {'path': '/opt/xensource/packages/iso', 'legacy_mode': 'true', 'SRmaster': 'true', 'location': '/opt/xensource/packages/iso'}, 'command': 'sr_update', 'sr_ref': 'OpaqueRef:678dcc8c-e873-af01-4fce-88c4065b0b66', 'local_cache_sr': '28297a2f-e4d1-60ab-bf8a-280fddcabdb8'}
Aug  7 17:26:10 xenserver-netlogica SM: [21502] sr_scan {'sr_uuid': '6f95db65-97d0-d208-3302-e4c21ba0b8bf', 'subtask_of': 'DummyRef:|cd9c7ab6-4d48-3385-d232-b0c7657b9b41|SR.scan', 'args': [], 'host_ref': 'OpaqueRef:d3a8ef8a-483a-0996-2f51-532bfcdbdf2f', 'session_ref': 'OpaqueRef:9dbc98b5-aebc-43ca-3b58-ea796c7ea751', 'device_config': {'SRmaster': 'true', 'location': '/dev/xapi/block'}, 'command': 'sr_scan', 'sr_ref': 'OpaqueRef:8c5b0d92-da08-02de-242e-5a324a69d686', 'local_cache_sr': '28297a2f-e4d1-60ab-bf8a-280fddcabdb8'}
Aug  7 17:26:10 xenserver-netlogica SM: [21519] sr_update {'sr_uuid': '6f95db65-97d0-d208-3302-e4c21ba0b8bf', 'subtask_of': 'DummyRef:|9fe1bded-bba2-ce37-fd3d-cb2080523c4a|SR.stat', 'args': [], 'host_ref': 'OpaqueRef:d3a8ef8a-483a-0996-2f51-532bfcdbdf2f', 'session_ref': 'OpaqueRef:74dcff57-35ca-aa8b-e5f2-5ef58b67b67f', 'device_config': {'SRmaster': 'true', 'location': '/dev/xapi/block'}, 'command': 'sr_update', 'sr_ref': 'OpaqueRef:8c5b0d92-da08-02de-242e-5a324a69d686', 'local_cache_sr': '28297a2f-e4d1-60ab-bf8a-280fddcabdb8'}
Aug  7 17:26:16 xenserver-netlogica SM: [21565] sr_scan {'sr_uuid': '9ee64145-10ad-d272-ba8d-eec3d5f9facf', 'subtask_of': 'DummyRef:|799a74e2-65dd-c56d-cbf2-0ec55fb7db29|SR.scan', 'args': [], 'host_ref': 'OpaqueRef:d3a8ef8a-483a-0996-2f51-532bfcdbdf2f', 'session_ref': 'OpaqueRef:86396675-652c-6bb1-0004-819de004e718', 'device_config': {'SRmaster': 'true', 'location': '/dev/xapi/cd'}, 'command': 'sr_scan', 'sr_ref': 'OpaqueRef:37c2cee5-c58d-1ffe-dcd8-5a18360f393c', 'local_cache_sr': '28297a2f-e4d1-60ab-bf8a-280fddcabdb8'}
Aug  7 17:26:16 xenserver-netlogica SM: [21582] sr_update {'sr_uuid': '9ee64145-10ad-d272-ba8d-eec3d5f9facf', 'subtask_of': 'DummyRef:|15340b60-58e9-c975-fa0a-1f91949769b0|SR.stat', 'args': [], 'host_ref': 'OpaqueRef:d3a8ef8a-483a-0996-2f51-532bfcdbdf2f', 'session_ref': 'OpaqueRef:5481cd16-f70c-a4d3-7e17-b7111888dba6', 'device_config': {'SRmaster': 'true', 'location': '/dev/xapi/cd'}, 'command': 'sr_update', 'sr_ref': 'OpaqueRef:37c2cee5-c58d-1ffe-dcd8-5a18360f393c', 'local_cache_sr': '28297a2f-e4d1-60ab-bf8a-280fddcabdb8'}
Aug  7 17:26:24 xenserver-netlogica SM: [21614] lock: opening lock file /var/lock/sm/28297a2f-e4d1-60ab-bf8a-280fddcabdb8/sr
Aug  7 17:26:24 xenserver-netlogica SM: [21614] lock: acquired /var/lock/sm/28297a2f-e4d1-60ab-bf8a-280fddcabdb8/sr
Aug  7 17:26:24 xenserver-netlogica SM: [21614] sr_scan {'sr_uuid': '28297a2f-e4d1-60ab-bf8a-280fddcabdb8', 'subtask_of': 'DummyRef:|7907ea4a-9eeb-e9e1-29c7-010fad44936c|SR.scan', 'args': [], 'host_ref': 'OpaqueRef:d3a8ef8a-483a-0996-2f51-532bfcdbdf2f', 'session_ref': 'OpaqueRef:be86d524-87c0-2261-07c1-819e75f2d8b9', 'device_config': {'device': '/dev/disk/by-id/md-uuid-dd114bff:6ac28273:226465e7:c1a22b76-part3', 'SRmaster': 'true'}, 'command': 'sr_scan', 'sr_ref': 'OpaqueRef:d005269a-89f9-1238-1559-df1642a8a2af', 'local_cache_sr': '28297a2f-e4d1-60ab-bf8a-280fddcabdb8'}
Aug  7 17:26:24 xenserver-netlogica SM: [21614] ['/usr/bin/vhd-util', 'scan', '-f', '-c', '-m', '/var/run/sr-mount/28297a2f-e4d1-60ab-bf8a-280fddcabdb8/*.vhd']
Aug  7 17:26:24 xenserver-netlogica SM: [21614]   pread SUCCESS
Aug  7 17:26:24 xenserver-netlogica SM: [21614] ['ls', '/var/run/sr-mount/28297a2f-e4d1-60ab-bf8a-280fddcabdb8', '-1', '--color=never']
Aug  7 17:26:24 xenserver-netlogica SM: [21614]   pread SUCCESS
Aug  7 17:26:24 xenserver-netlogica SM: [21614] lock: opening lock file /var/lock/sm/28297a2f-e4d1-60ab-bf8a-280fddcabdb8/running
Aug  7 17:26:24 xenserver-netlogica SM: [21614] lock: tried lock /var/lock/sm/28297a2f-e4d1-60ab-bf8a-280fddcabdb8/running, acquired: True (exists: True)
Aug  7 17:26:24 xenserver-netlogica SM: [21614] lock: released /var/lock/sm/28297a2f-e4d1-60ab-bf8a-280fddcabdb8/running
Aug  7 17:26:24 xenserver-netlogica SM: [21614] Kicking GC
Aug  7 17:26:24 xenserver-netlogica SMGC: [21614] === SR 28297a2f-e4d1-60ab-bf8a-280fddcabdb8: gc ===
Aug  7 17:26:24 xenserver-netlogica SMGC: [21626] Will finish as PID [21627]
Aug  7 17:26:24 xenserver-netlogica SM: [21627] lock: opening lock file /var/lock/sm/28297a2f-e4d1-60ab-bf8a-280fddcabdb8/running
Aug  7 17:26:24 xenserver-netlogica SMGC: [21614] New PID [21626]
Aug  7 17:26:24 xenserver-netlogica SM: [21627] lock: opening lock file /var/lock/sm/28297a2f-e4d1-60ab-bf8a-280fddcabdb8/gc_active
Aug  7 17:26:24 xenserver-netlogica SM: [21614] lock: closed /var/lock/sm/28297a2f-e4d1-60ab-bf8a-280fddcabdb8/running
Aug  7 17:26:24 xenserver-netlogica SM: [21627] lock: opening lock file /var/lock/sm/28297a2f-e4d1-60ab-bf8a-280fddcabdb8/sr
Aug  7 17:26:24 xenserver-netlogica SMGC: [21627] Found 0 cache files
Aug  7 17:26:24 xenserver-netlogica SM: [21627] lock: tried lock /var/lock/sm/28297a2f-e4d1-60ab-bf8a-280fddcabdb8/gc_active, acquired: False (exists: True)
Aug  7 17:26:24 xenserver-netlogica SMGC: [21627] Another GC instance already active, exiting
Aug  7 17:26:24 xenserver-netlogica SMGC: [21627] In cleanup
Aug  7 17:26:24 xenserver-netlogica SMGC: [21627] SR 2829 ('Local storage') (0 VDIs in 0 VHD trees): no changes
Aug  7 17:26:24 xenserver-netlogica SM: [21614] lock: released /var/lock/sm/28297a2f-e4d1-60ab-bf8a-280fddcabdb8/sr
Aug  7 17:26:24 xenserver-netlogica SM: [21614] lock: closed /var/lock/sm/28297a2f-e4d1-60ab-bf8a-280fddcabdb8/sr
Aug  7 17:26:25 xenserver-netlogica SM: [21650] lock: opening lock file /var/lock/sm/28297a2f-e4d1-60ab-bf8a-280fddcabdb8/sr
Aug  7 17:26:25 xenserver-netlogica SM: [21650] sr_update {'sr_uuid': '28297a2f-e4d1-60ab-bf8a-280fddcabdb8', 'subtask_of': 'DummyRef:|121b83e4-4608-03dd-009c-53256ec4d6fc|SR.stat', 'args': [], 'host_ref': 'OpaqueRef:d3a8ef8a-483a-0996-2f51-532bfcdbdf2f', 'session_ref': 'OpaqueRef:79df7f1d-c496-20f9-a5af-787aa117892e', 'device_config': {'device': '/dev/disk/by-id/md-uuid-dd114bff:6ac28273:226465e7:c1a22b76-part3', 'SRmaster': 'true'}, 'command': 'sr_update', 'sr_ref': 'OpaqueRef:d005269a-89f9-1238-1559-df1642a8a2af', 'local_cache_sr': '28297a2f-e4d1-60ab-bf8a-280fddcabdb8'}
Aug  7 17:26:25 xenserver-netlogica SM: [21650] lock: closed /var/lock/sm/28297a2f-e4d1-60ab-bf8a-280fddcabdb8/sr
Aug  7 17:30:01 xenserver-netlogica SMGC: [20824] GC active, quiet period ended
Aug  7 17:30:01 xenserver-netlogica SM: [20824] lock: tried lock /var/lock/sm/28297a2f-e4d1-60ab-bf8a-280fddcabdb8/sr, acquired: True (exists: True)
Aug  7 17:30:01 xenserver-netlogica SM: [20824] ['/usr/bin/vhd-util', 'scan', '-f', '-c', '-m', '/var/run/sr-mount/28297a2f-e4d1-60ab-bf8a-280fddcabdb8/*.vhd']
Aug  7 17:30:01 xenserver-netlogica SM: [20824]   pread SUCCESS
Aug  7 17:30:01 xenserver-netlogica SMGC: [20824] SR 2829 ('Local storage') (9 VDIs in 9 VHD trees):
Aug  7 17:30:01 xenserver-netlogica SMGC: [20824]         05e1286f(50.000G/4.012G)
Aug  7 17:30:01 xenserver-netlogica SMGC: [20824]         3fbce59d(10.000G/7.405G)
Aug  7 17:30:01 xenserver-netlogica SMGC: [20824]         037c87e1(200.000G/9.903G)
Aug  7 17:30:01 xenserver-netlogica SMGC: [20824]         a8288d75(250.000M/72.141M)
Aug  7 17:30:01 xenserver-netlogica SMGC: [20824]         84e22f06(50.000G/4.000G)
Aug  7 17:30:01 xenserver-netlogica SMGC: [20824]         d14b4048(50.000G/50.039G)
Aug  7 17:30:01 xenserver-netlogica SMGC: [20824]         48f3ee23(100.000G/6.532G)
Aug  7 17:30:01 xenserver-netlogica SMGC: [20824]         7164b1f6(50.000G/4.456G)
Aug  7 17:30:01 xenserver-netlogica SMGC: [20824]         3e5d0318(100.000G/49.478G)
Aug  7 17:30:01 xenserver-netlogica SMGC: [20824]
Aug  7 17:30:01 xenserver-netlogica SM: [20824] lock: released /var/lock/sm/28297a2f-e4d1-60ab-bf8a-280fddcabdb8/sr
Aug  7 17:30:01 xenserver-netlogica SMGC: [20824] No work, exiting
Aug  7 17:30:01 xenserver-netlogica SMGC: [20824] GC process exiting, no work left
Aug  7 17:30:01 xenserver-netlogica SM: [20824] lock: released /var/lock/sm/28297a2f-e4d1-60ab-bf8a-280fddcabdb8/gc_active
Aug  7 17:30:01 xenserver-netlogica SMGC: [20824] In cleanup
Aug  7 17:30:01 xenserver-netlogica SMGC: [20824] SR 2829 ('Local storage') (9 VDIs in 9 VHD trees): no changes
Aug  7 17:45:04 xenserver-netlogica SM: [2228] Warning: vdi_[de]activate present for dummy
Aug  7 18:11:25 xenserver-netlogica SM: [11610] sr_attach {'sr_uuid': '6f95db65-97d0-d208-3302-e4c21ba0b8bf', 'subtask_of': 'DummyRef:|b3181623-4b5a-f467-4ee9-08a8ce5bc9ba|SR.attach', 'args': [], 'host_ref': 'OpaqueRef:d3a8ef8a-483a-0996-2f51-532bfcdbdf2f', 'session_ref': 'OpaqueRef:0ae0d8ad-5315-aab1-30e7-f57495b2aac3', 'device_config': {'SRmaster': 'true', 'location': '/dev/xapi/block'}, 'command': 'sr_attach', 'sr_ref': 'OpaqueRef:8c5b0d92-da08-02de-242e-5a324a69d686', 'local_cache_sr': '28297a2f-e4d1-60ab-bf8a-280fddcabdb8'}
Aug  7 18:11:25 xenserver-netlogica SM: [11610] lock: opening lock file /var/lock/sm/6f95db65-97d0-d208-3302-e4c21ba0b8bf/running
Aug  7 18:11:25 xenserver-netlogica SM: [11610] lock: opening lock file /var/lock/sm/6f95db65-97d0-d208-3302-e4c21ba0b8bf/sr
Aug  7 18:11:25 xenserver-netlogica SM: [11610] lock: acquired /var/lock/sm/6f95db65-97d0-d208-3302-e4c21ba0b8bf/running
Aug  7 18:11:25 xenserver-netlogica SM: [11610] lock: acquired /var/lock/sm/6f95db65-97d0-d208-3302-e4c21ba0b8bf/sr
Aug  7 18:11:25 xenserver-netlogica SM: [11610] RESET for SR 6f95db65-97d0-d208-3302-e4c21ba0b8bf (master: True)
Aug  7 18:11:25 xenserver-netlogica SM: [11610] lock: released /var/lock/sm/6f95db65-97d0-d208-3302-e4c21ba0b8bf/sr
Aug  7 18:11:25 xenserver-netlogica SM: [11610] lock: released /var/lock/sm/6f95db65-97d0-d208-3302-e4c21ba0b8bf/running
Aug  7 18:11:25 xenserver-netlogica SM: [11610] lock: closed /var/lock/sm/6f95db65-97d0-d208-3302-e4c21ba0b8bf/running
Aug  7 18:11:25 xenserver-netlogica SM: [11610] lock: closed /var/lock/sm/6f95db65-97d0-d208-3302-e4c21ba0b8bf/sr
Aug  7 18:11:25 xenserver-netlogica SM: [11610] set_dirty 'OpaqueRef:8c5b0d92-da08-02de-242e-5a324a69d686' succeeded
Aug  7 18:11:25 xenserver-netlogica SM: [11621] sr_update {'sr_uuid': '6f95db65-97d0-d208-3302-e4c21ba0b8bf', 'subtask_of': 'DummyRef:|b7bbd568-0ddf-55e4-8b97-6dafc9c3239f|SR.stat', 'args': [], 'host_ref': 'OpaqueRef:d3a8ef8a-483a-0996-2f51-532bfcdbdf2f', 'session_ref': 'OpaqueRef:3ad83e39-b0df-a044-d3bd-af595d089984', 'device_config': {'SRmaster': 'true', 'location': '/dev/xapi/block'}, 'command': 'sr_update', 'sr_ref': 'OpaqueRef:8c5b0d92-da08-02de-242e-5a324a69d686', 'local_cache_sr': '28297a2f-e4d1-60ab-bf8a-280fddcabdb8'}
Aug  7 18:11:25 xenserver-netlogica SM: [11636] sr_scan {'sr_uuid': '6f95db65-97d0-d208-3302-e4c21ba0b8bf', 'subtask_of': 'DummyRef:|c9691115-7b84-2b6f-163e-43f1a110436b|SR.scan', 'args': [], 'host_ref': 'OpaqueRef:d3a8ef8a-483a-0996-2f51-532bfcdbdf2f', 'session_ref': 'OpaqueRef:b2f0a457-10d5-cb8a-a50d-cea3d56064f6', 'device_config': {'SRmaster': 'true', 'location': '/dev/xapi/block'}, 'command': 'sr_scan', 'sr_ref': 'OpaqueRef:8c5b0d92-da08-02de-242e-5a324a69d686', 'local_cache_sr': '28297a2f-e4d1-60ab-bf8a-280fddcabdb8'}
Aug  7 18:11:25 xenserver-netlogica SM: [11653] sr_update {'sr_uuid': '6f95db65-97d0-d208-3302-e4c21ba0b8bf', 'subtask_of': 'DummyRef:|79199a13-b553-0b49-c171-b8cc811cab7a|SR.stat', 'args': [], 'host_ref': 'OpaqueRef:d3a8ef8a-483a-0996-2f51-532bfcdbdf2f', 'session_ref': 'OpaqueRef:259578b5-20a4-12a0-ec17-c86c3f142f9e', 'device_config': {'SRmaster': 'true', 'location': '/dev/xapi/block'}, 'command': 'sr_update', 'sr_ref': 'OpaqueRef:8c5b0d92-da08-02de-242e-5a324a69d686', 'local_cache_sr': '28297a2f-e4d1-60ab-bf8a-280fddcabdb8'}
Aug  7 18:11:25 xenserver-netlogica SM: [11665] sr_update {'sr_uuid': '6f95db65-97d0-d208-3302-e4c21ba0b8bf', 'subtask_of': 'DummyRef:|755976a2-31d7-becc-1f6d-f0dcc7b3b656|SR.stat', 'args': [], 'host_ref': 'OpaqueRef:d3a8ef8a-483a-0996-2f51-532bfcdbdf2f', 'session_ref': 'OpaqueRef:b711c875-022c-fff2-4d2d-b89640ba5672', 'device_config': {'SRmaster': 'true', 'location': '/dev/xapi/block'}, 'command': 'sr_update', 'sr_ref': 'OpaqueRef:8c5b0d92-da08-02de-242e-5a324a69d686', 'local_cache_sr': '28297a2f-e4d1-60ab-bf8a-280fddcabdb8'}

 

Link to comment
  • 0

Looks like you lost a storage LVM. I assume that "vgchange -ay" probably won't help to reactivate it? Do you see that SR show up at all in XenCenter and if so, what does the icon look like?  Do you have any backups of the LVM metadata (under /etc/lvm/backup or /etc/lvm/archive)? This KB article might help in this case, if your LVM isn't totally corrupted: https://support.citrix.com/article/CTX116017

 

-=Tobias

Link to comment
  • 0
30 minutes ago, Tobias Kreidl said:

Looks like you lost a storage LVM. I assume that "vgchange -ay" probably won't help to reactivate it? Do you see that SR show up at all in XenCenter and if so, what does the icon look like?  Do you have any backups of the LVM metadata (under /etc/lvm/backup or /etc/lvm/archive)? This KB article might help in this case, if your LVM isn't totally corrupted: https://support.citrix.com/article/CTX116017

 

-=Tobias

hi,

 

vgchange -ay its reactivates yes.

 

# vgscan

  Reading all physical volumes.  This may take a while...

  Found volume group "XSLocalEXT-28297a2f-e4d1-60ab-bf8a-280fddcabdb8" using metadata type lvm2

 

vgchange -ay

  1 logical volume(s) in volume group "XSLocalEXT-28297a2f-e4d1-60ab-bf8a-280fddcabdb8" now active

 

lvscan

  ACTIVE            '/dev/XSLocalEXT-28297a2f-e4d1-60ab-bf8a-280fddcabdb8/28297a2f-e4d1-60ab-bf8a-280fddcabdb8' [890,00 GiB] inherit

 

but if I reboot the server, everything backs as "unplugged".

 

all machines appears as "running" I can't shutdown .

 

#########################

[root@xenserver-backup]# pwd

/etc/lvm/backup

 

[root@xenserver]# ls -lh

total 8,0K

-rw------- 1 root root 2,5K Mai 31 15:11 VG_XenStorage-f5fd8b5b-5f1e-d95c-dd69-7d0801a59e67

-rw------- 1 root root 1,5K Set  8  2017 XSLocalEXT-28297a2f-e4d1-60ab-bf8a-280fddcabdb8

 

#################################

 

/etc/lvm/archive is empty

Link to comment
  • 0

Did you try to replug the VBD? Looks lik e the only backup dates back to 2017!  I'm not sure why XS doesn't periodic LVM backups on its own, given how strongly tied it is still to LVM storage.

 

When it was reactivated, did you see the SR in XenCenter and if so what did the icon look like?

 

If you reboot, what errors to you then see in /var/log/SMlog -- similar? ANd just because teh LVM is reactivated doesn't mean tht the data in it are OK.

It's not asking for a file system check upon booting, is it?  Do you see the volume show up if you run "fdisk -l"?

 

-=Tobias

Link to comment
  • 0

The SR that is failing to attach is f5fd8b5b-5f1e-d95c-dd69-7d0801a59e67 which is the one associated with /dev/sdc1

 

uuid ( RO)                  : 36366d8b-366a-2d68-2977-2b7d1fd89910

             host-uuid ( RO): e131ed35-1eb9-4220-9f7d-47d83901fabb

               sr-uuid ( RO): f5fd8b5b-5f1e-d95c-dd69-7d0801a59e67

         device-config (MRO): device: /dev/sdc1

    currently-attached ( RO): false

 

Is this a second disk in your host or did you have an SR on an external USB drive that is no longer there? This SR failing to attach is blocking the startup operations and so the subsequent SRs aren't being plugged either. If this is an internal disk then check that it's still properly attached and recognised by the machine hardware bios/BMC etc.

 

Link to comment
  • 0
13 hours ago, Tobias Kreidl said:

Did you try to replug the VBD? Looks lik e the only backup dates back to 2017!  I'm not sure why XS doesn't periodic LVM backups on its own, given how strongly tied it is still to LVM storage.

 

When it was reactivated, did you see the SR in XenCenter and if so what did the icon look like?

 

If you reboot, what errors to you then see in /var/log/SMlog -- similar? ANd just because teh LVM is reactivated doesn't mean tht the data in it are OK.

It's not asking for a file system check upon booting, is it?  Do you see the volume show up if you run "fdisk -l"?

 

-=Tobias

Xencenter appears the message "connection refused"

 

 

Link to comment
  • 0
8 hours ago, Mark Syms said:

The SR that is failing to attach is f5fd8b5b-5f1e-d95c-dd69-7d0801a59e67 which is the one associated with /dev/sdc1

 


uuid ( RO)                  : 36366d8b-366a-2d68-2977-2b7d1fd89910

             host-uuid ( RO): e131ed35-1eb9-4220-9f7d-47d83901fabb

               sr-uuid ( RO): f5fd8b5b-5f1e-d95c-dd69-7d0801a59e67

         device-config (MRO): device: /dev/sdc1

    currently-attached ( RO): false

 

Is this a second disk in your host or did you have an SR on an external USB drive that is no longer there? This SR failing to attach is blocking the startup operations and so the subsequent SRs aren't being plugged either. If this is an internal disk then check that it's still properly attached and recognised by the machine hardware bios/BMC etc.

 

fdisk -l

 

Disk /dev/sdb: 1000.2 GB, 1000204886016 bytes, 1953525168 sectors

Units = sectors of 1 * 512 = 512 bytes

Sector size (logical/physical): 512 bytes / 4096 bytes

I/O size (minimum/optimal): 4096 bytes / 4096 bytes

Disk label type: dos

Disk identifier: 0x00000000

 

Dispositivo Boot      Start         End      Blocks   Id  System

/dev/sdb1   *           1  1953519615   976759807+  ee  GPT

Partition 1 does not start on physical sector boundary.

 

Disk /dev/sdc: 4000.8 GB, 4000787030016 bytes, 7814037168 sectors

Units = sectors of 1 * 512 = 512 bytes

Sector size (logical/physical): 512 bytes / 4096 bytes

I/O size (minimum/optimal): 4096 bytes / 4096 bytes

Disk label type: dos

Disk identifier: 0x00000000

 

Dispositivo Boot      Start         End      Blocks   Id  System

/dev/sdc1               1  4294967295  2147483647+  ee  GPT

Partition 1 does not start on physical sector boundary.

 

Disk /dev/sda: 1000.2 GB, 1000204886016 bytes, 1953525168 sectors

Units = sectors of 1 * 512 = 512 bytes

Sector size (logical/physical): 512 bytes / 4096 bytes

I/O size (minimum/optimal): 4096 bytes / 4096 bytes

Disk label type: dos

Disk identifier: 0x00000000

 

Dispositivo Boot      Start         End      Blocks   Id  System

/dev/sda1   *           1  1953519615   976759807+  ee  GPT

Partition 1 does not start on physical sector boundary.

WARNING: fdisk GPT support is currently new, and therefore in an experimental phase. Use at your own discretion.

 

Disk /dev/md126: 1000.2 GB, 1000202043392 bytes, 1953519616 sectors

Units = sectors of 1 * 512 = 512 bytes

Sector size (logical/physical): 512 bytes / 4096 bytes

I/O size (minimum/optimal): 4096 bytes / 4096 bytes

Disk label type: gpt

 

 

#         Start          End    Size  Type            Name

1     46139392     83888127     18G  Microsoft basic

2      8390656     46139391     18G  Microsoft basic

3     87033856   1953519582    890G  Linux LVM       

4     83888128     84936703    512M  BIOS boot parti

5         2048      8390655      4G  Microsoft basic

6     84936704     87033855      1G  Linux swap

Link to comment
  • 0
On 09/08/2019 at 3:18 PM, Tobias Kreidl said:

Wonderful news to hear! Did you do the upgrade with the preserve local SR option or did you just wipe out the original local SR on wach host?

 

-=Tobias

YEs.

 

I just select on installer. to UPGRADE, and selected just the first hard drive with the old installation.

 

 

everything was preserved.

 

 

it saved my life!!

Link to comment

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...