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

Storage Repository is unplugged and not usable by this host


Fraser Callin

Question

I have tried all sorts of commands to plugin the local storage but it still shows as broken/unplugged. Does anyone have any further ideas before I attempt to do a "Refresh" I have seen a few posts where users have done a Refresh and then all of their VM's were gone.

Attached picture of console output of Local storage.

[root@ois-ctx-srv01 ~]# xe pbd-plug uuid=3c68ce9e-085d-a4e1-fa7e-fbc42cd9fabf
There was an SR backend failure.
status: non-zero exit
stdout:
stderr: Traceback (most recent call last):
File "/opt/xensource/sm/LVMSR", line 1423, in ?
SRCommand.run(LVHDSR, DRIVER_INFO)
File "/opt/xensource/sm/SRCommand.py", line 150, in run
ret = cmd.run(sr)
File "/opt/xensource/sm/SRCommand.py", line 127, in run
return sr.attach(self.params['sr_uuid'])
File "/opt/xensource/sm/LVMSR", line 66, in wrapper
ret = op(self, *args)
File "/opt/xensource/sm/LVMSR", line 394, in attach
self._checkMetadataVolume(self.sm_config)
File "/opt/xensource/sm/LVMSR", line 283, in _checkMetadataVolume
self._synchMetaData(map)
File "/opt/xensource/sm/LVMSR", line 292, in _synchMetaData
self.lvmCache.activateNoRefcount(self.MDVOLUME_NAME)
File "/opt/xensource/sm/lvmcache.py", line 39, in wrapper
ret = op(self, *args)
File "/opt/xensource/sm/lvmcache.py", line 167, in activateNoRefcount
lvutil.activateNoRefcount(path, refresh)
TypeError: activateNoRefcount() takes exactly 1 argument (2 given)

xenerror.jpg

Link to comment

2 answers to this question

Recommended Posts

  • 0
On 8/11/2009 at 1:02 PM, Fraser Callin said:

I have tried all sorts of commands to plugin the local storage but it still shows as broken/unplugged. Does anyone have any further ideas before I attempt to do a "Refresh" I have seen a few posts where users have done a Refresh and then all of their VM's were gone.

Attached picture of console output of Local storage.

[root@ois-ctx-srv01 ~]# xe pbd-plug uuid=3c68ce9e-085d-a4e1-fa7e-fbc42cd9fabf
There was an SR backend failure.
status: non-zero exit
stdout:
stderr: Traceback (most recent call last):
File "/opt/xensource/sm/LVMSR", line 1423, in ?
SRCommand.run(LVHDSR, DRIVER_INFO)
File "/opt/xensource/sm/SRCommand.py", line 150, in run
ret = cmd.run(sr)
File "/opt/xensource/sm/SRCommand.py", line 127, in run
return sr.attach(self.params['sr_uuid'])
File "/opt/xensource/sm/LVMSR", line 66, in wrapper
ret = op(self, *args)
File "/opt/xensource/sm/LVMSR", line 394, in attach
self._checkMetadataVolume(self.sm_config)
File "/opt/xensource/sm/LVMSR", line 283, in _checkMetadataVolume
self._synchMetaData(map)
File "/opt/xensource/sm/LVMSR", line 292, in _synchMetaData
self.lvmCache.activateNoRefcount(self.MDVOLUME_NAME)
File "/opt/xensource/sm/lvmcache.py", line 39, in wrapper
ret = op(self, *args)
File "/opt/xensource/sm/lvmcache.py", line 167, in activateNoRefcount
lvutil.activateNoRefcount(path, refresh)
TypeError: activateNoRefcount() takes exactly 1 argument (2 given)

xenerror.jpg 56.99 kB · 20 downloads

 

 

Ever find a solution?

Link to comment
  • 0

Usually with SR backend failure you get a error code to kinda clue you in on what has happened. 

Not sure if you have issues with your XenServer installation or you have some type of LVM problem

going on. I've had more issues with local storage than shared storage and don't use local storage

all that often. For myself I would just do a restore from backup so I'm not sure how to advise you

to proceed. I would probably get Citrix involved if licensed for support.

 

--Alan--

 

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