How do I mount this as a SR in XenServer 6.5
-
@scottalanmiller said in How do I mount this as a SR in XenServer 6.5:
@Jason you are using the same argument that people often do with Windows and Linux. You mix up the impossible on Windows with the hard on Linux and see "impossible" as easier than "possible" which is obviously not true. He's doing stuff that really only can be done on XS and is hard. If he did something that "just worked" on vSphere it would basically "just work" here too.
No you said specifically he is using it outside it's designed use case which is why it's having issues. I said then don't use things for something it's not designed for. You go back and fourth on here just to make it seem like you are right so much it ain't even funny and everyone knows it but you.
-
Guys, take it to another thread.
-
@DustinB3403
xe sr-introduce uuid=41365a56-2219-26df-5453-8a45ffef1b74 type=lvm name-label="Local Storage" content-type=user
Or I guess type could be ext3 if that's what yorue wanting to use.
-
@momurda said in How do I mount this as a SR in XenServer 6.5:
@DustinB3403
xe sr-introduce uuid=41365a56-2219-26df-5453-8a45ffef1b74 type=lvm name-label="Local Storage" content-type=user
Or I guess type could be ext3 if that's what yorue wanting to use.
@Dashrender wasn't this the issue you had when restoring....?
-
@momurda said in How do I mount this as a SR in XenServer 6.5:
@DustinB3403
xe sr-introduce uuid=41365a56-2219-26df-5453-8a45ffef1b74 type=lvm name-label="Local Storage" content-type=user
Or I guess type could be ext3 if that's what yorue wanting to use.
I think XS formatted it ext3, so unless he wants to remake the partition with LVM, ...
-
@scottalanmiller said in How do I mount this as a SR in XenServer 6.5:
@DustinB3403 said in How do I mount this as a SR in XenServer 6.5:
following this https://support.citrix.com/article/CTX121896
I get this
Error code: SR_BACKEND_FAILURE_47 Error parameters: , The SR is not available [opterr=no such volume group: VG_XenStorage-41365a56-2219-26df-5453- 8a45ffef1b74],
You failed to show what you did.
Also in this example on my screen it looks like there is a space in there? Like a tab?
-
@BRRABill said in How do I mount this as a SR in XenServer 6.5:
@momurda said in How do I mount this as a SR in XenServer 6.5:
@DustinB3403
xe sr-introduce uuid=41365a56-2219-26df-5453-8a45ffef1b74 type=lvm name-label="Local Storage" content-type=user
Or I guess type could be ext3 if that's what yorue wanting to use.
@Dashrender wasn't this the issue you had when restoring....?
Damn, good memory man! yes it was. !!!!
-
pvscan
PV /dev/sdc VG XSLocalEXT-41365a56-2219-26df-5453-8a45ffef1b74 lvm2 [14.55 TB / 0 free]
Total: 1 [14.55 TB] / in use: 1 [14.55 TB] / in no VG: 0 [0 ]xe pbd-plug uuid=1b295c66-152c-5593-72e4-5095b3c45608
Error code: SR_BACKEND_FAILURE_47
Error parameters: , The SR is not available [opterr=no such volume group: VG_XenStorage-41365a56-2219-26df-5453-8a45ffef1b74], -
@Dashrender said in How do I mount this as a SR in XenServer 6.5:
Quoted from Scott's link
Do a pvscan to get the Universally Unique Identifier (UUID) of an existing SR on a local disk. This example uses UUID 39baf126-a535-549f-58d6-feeda55f7801:
pvscan
PV /dev/sda3 VG VG_XenStorage-39baf126-a535-549f-58d6-feeda55f7801 lvm2 [66.87 GB / 57.87 GB free]
Total: 1 [66.87 GB] / in use: 1 [66.87 GB] / in no VG: 0 [0 ]Note the output above, the VG name of the local drive /dev/sda3 is VG_XenStorage-39baf126-a535-549f-58d6-feeda55f7801 . The >VG name contains the SR UUID that resides on this storage media. In this case, the UUID is 39baf126-a535-549f-58d6-feeda55f7801.
Introduce the SR with the following command:
xe sr-introduce uuid=39baf126-a535-549f-58d6-feeda55f7801 type=lvm name-label=”Local storage” content-type=user
This command sets up database records for the SR named “Local storage”.From your error, It appears that you copied the whole name VG_XenStorage-39baf126-a535-549f-58d6-feeda55f7801, when you should have only used the number portion 39baf126-a535-549f-58d6-feeda55f7801
Yeah this tripped me up a few times when follow Citrix documentation.
-
@momurda said in How do I mount this as a SR in XenServer 6.5:
@DustinB3403
xe sr-introduce uuid=41365a56-2219-26df-5453-8a45ffef1b74 type=lvm name-label="Local Storage" content-type=user
Or I guess type could be ext3 if that's what yorue wanting to use.
It's already ext3 so that would be necessary.
-
@momurda said in How do I mount this as a SR in XenServer 6.5:
@DustinB3403
xe sr-introduce uuid=41365a56-2219-26df-5453-8a45ffef1b74 type=lvm name-label="Local Storage" content-type=user
Or I guess type could be ext3 if that's what you're wanting to use.
xe sr-introduce uuid=41365a56-2219-26df-5453-8a45ffef1b74 type=ext name-label="Local Storage" content-type=user
Posted for FYI.
-
I think it should be...
# xe sr-introduce uuid=41365a56-2219-26df-5453-8a45ffef1b74 type=ext3 name-label=”Local storage” content-type=user
-
Where are you getting
uuid=1b295c66-152c-5593-72e4-5095b3c45608
From?
-
Is it ext instead of ext3? My bad. We had the same command otherwise.
-
@BRRABill said in How do I mount this as a SR in XenServer 6.5:
Where are you getting
uuid=1b295c66-152c-5593-72e4-5095b3c45608
From?
No idea.
-
Yeah, agree with @Dashrender and @scottalanmiller
That is the right UUID.
-
He's doing stuff that really only can be done on XS and is hard
No, I can do all of this with KVM and more. I have multiple local stores. Some are just directories for images some are full LVs.
It's only hard because it's XenServer.
-
@stacksofplates said in How do I mount this as a SR in XenServer 6.5:
He's doing stuff that really only can be done on XS and is hard
No, I can do all of this with KVM and more. I have multiple local stores. Some are just directories for images some are full LVs.
It's only hard because it's XenServer.
We've not even determined that it is hard yet. Let's save judgment for if it actually doesn't "just work."
-
@Dashrender said in How do I mount this as a SR in XenServer 6.5:
@momurda said in How do I mount this as a SR in XenServer 6.5:
@DustinB3403
xe sr-introduce uuid=41365a56-2219-26df-5453-8a45ffef1b74 type=lvm name-label="Local Storage" content-type=user
Or I guess type could be ext3 if that's what you're wanting to use.
xe sr-introduce uuid=41365a56-2219-26df-5453-8a45ffef1b74 type=ext name-label="Local Storage" content-type=user
Posted for FYI.
Did this work?
-
Poor XenServer...