pato pattone Posted December 12, 2022 Share Posted December 12, 2022 Hi guys... I'm trying to add another disk (Storage Repository) to citrix xenserver 7.6 and I'm getting the following error: "The SR operation cannot be performed because a device underlying the SR is in use by the host" The command that I'm running is this: xe sr-create content-type=user device-config:device=/dev/disk/by-id/wwn-0x5001b448b0760061 host-uuid=xxxx-xxxx-xxxx name-label=”Local Storage 2” shared=false type=lvm Any ideas? Thanks in advance Link to comment
1 Tobias Kreidl Posted December 13, 2022 Share Posted December 13, 2022 See if this article helps: https://discussions.citrix.com/topic/282610-the-sr-operation-cannot-be-performed-because-a-device-underlying-the-sr-is-in-use-by-the-host/page/2/ -=Tobias 1 Link to comment
1 Tobias Kreidl Posted December 14, 2022 Share Posted December 14, 2022 What was the exact command you issued for the PBD plug? Sounds like a syntax error or possibly missing a parameter. The syntax is: xe pbd-plug uuid=uuid_of_pbd -=Tobias 1 Link to comment
0 pato pattone Posted December 14, 2022 Author Share Posted December 14, 2022 Hi Tobias!! Thanks you very much for your answer. I have done what the articles says and in the last step ( xe pbd-plug) I'm seeing this error: Error code: SR_BACKEND_FAILURE_90 Error parameters: , The request is missing the device parameter, Thanks in advance Link to comment
0 pato pattone Posted December 14, 2022 Author Share Posted December 14, 2022 Tobias... forget my last post; I have found my error reattaching the Storage Repository and now my SR is up and running. The link you gave me was the key and I used this one too: https://support.citrix.com/article/CTX121896/how-to-introduce-a-local-storage-repository-in-xenserver Thanks a lot for your help. Link to comment
0 Tobias Kreidl Posted December 14, 2022 Share Posted December 14, 2022 Oh, good, I am glad that worked out for you! You didn't mention that this was a local SR, and as you now see, you can only add this using the CLI once the XenServer installation has been completed. Best regards, -=Tobias Link to comment
Question
pato pattone
Hi guys... I'm trying to add another disk (Storage Repository) to citrix xenserver 7.6 and I'm getting the following error: "The SR operation cannot be performed because a device underlying the SR is in use by the host"
The command that I'm running is this:
xe sr-create content-type=user device-config:device=/dev/disk/by-id/wwn-0x5001b448b0760061 host-uuid=xxxx-xxxx-xxxx name-label=”Local Storage 2” shared=false type=lvm
Any ideas?
Thanks in advance
Link to comment
5 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 accountSign in
Already have an account? Sign in here.
Sign In Now