How do I mount this as a SR in XenServer 6.5
-
@Dashrender said in 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:
@DustinB3403 said in How do I mount this as a SR in XenServer 6.5:
Ok so here is what I'm going to try.
Install XS to the USB, and not select the presented array for the local storage.
From this, I'll try to add the array to xs as a local repo, using GPT.
Okay, so the same kind of procedure you would do if this was ESXi, for example.
Actually, for the last 30 mins, other than skipping picking an SR during install, this is what he's been doing. The assumption would be that XS would automount the 14 TB drive as an SR, but for whatever reason it's not.
We know from Dustin's posts that XS is creating a sba3 for the remaining space that XS itself doesn't use. That space is created as EXT3. I don't know enough about Linux and partitions, can EXT3 support 14 TB?
Nope. Gotta create multiple 2TB volume groups and add each of those perhaps?
-
@travisdh1 said in How do I mount this as a SR in XenServer 6.5:
@BRRABill said in How do I mount this as a SR in XenServer 6.5:
@Dashrender said
I don't know enough about Linux and partitions, can EXT3 support 14 TB?
I really wanted to ask this at MangoCon 2016 after the @travisdh1 presentation on LVM. How XS "messes" it up so much, or makes it so different from regular Linux.
Mostly because it does things for you, like logical volume creation and the file system. Them sticking with ext3 for so long has really started to hurt the platform, I think that's where the 2TB limits come in.
It is. Files on EXT3 are limited to 2TB. The full filesystem is limited to 32TB.
-
@scottalanmiller said in How do I mount this as a SR in XenServer 6.5:
@travisdh1 said in How do I mount this as a SR in XenServer 6.5:
@BRRABill said in How do I mount this as a SR in XenServer 6.5:
@Dashrender said
I don't know enough about Linux and partitions, can EXT3 support 14 TB?
I really wanted to ask this at MangoCon 2016 after the @travisdh1 presentation on LVM. How XS "messes" it up so much, or makes it so different from regular Linux.
Mostly because it does things for you, like logical volume creation and the file system. Them sticking with ext3 for so long has really started to hurt the platform, I think that's where the 2TB limits come in.
It is. Files on EXT3 are limited to 2TB. The full filesystem is limited to 32TB.
So if it's limited to 32TB, how do I add this array, it's half that size.. . .?
-
And here comes another XS/LVM/EXT discussion.
-
@travisdh1 said in How do I mount this as a SR in XenServer 6.5:
@Dashrender said in 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:
@DustinB3403 said in How do I mount this as a SR in XenServer 6.5:
Ok so here is what I'm going to try.
Install XS to the USB, and not select the presented array for the local storage.
From this, I'll try to add the array to xs as a local repo, using GPT.
Okay, so the same kind of procedure you would do if this was ESXi, for example.
Actually, for the last 30 mins, other than skipping picking an SR during install, this is what he's been doing. The assumption would be that XS would automount the 14 TB drive as an SR, but for whatever reason it's not.
We know from Dustin's posts that XS is creating a sba3 for the remaining space that XS itself doesn't use. That space is created as EXT3. I don't know enough about Linux and partitions, can EXT3 support 14 TB?
Nope. Gotta create multiple 2TB volume groups and add each of those perhaps?
I'm making no sense, nope, I've got a 6TB ext3 volume on my desk right now....
Did we ever see the output of?
vgdisplay
and
lvdisplay
-
@travisdh1 not relevant at the moment (performing a clean install)
-
https://support.citrix.com/article/CTX121896
does this article assume the local disk to already have a partition on it?
-
My local SRs on 6.5 are over 2TB
lvm not ext though. -
@momurda said in How do I mount this as a SR in XenServer 6.5:
My local SRs on 6.5 are over 2TB
lvm not ext though.How did you add that RS? during install or after install?
-
Was already here when i started
My guess is after though. I would be able to say for sure if there was any documentation for our XS infrastructure when i started. There wasnt. -
@momurda said in How do I mount this as a SR in XenServer 6.5:
My local SRs on 6.5 are over 2TB
lvm not ext though.Yeah, that should bypass it.
-
@scottalanmiller said in How do I mount this as a SR in XenServer 6.5:
@Dashrender said in How do I mount this as a SR in XenServer 6.5:
We know from Dustin's posts that XS is creating a sba3 for the remaining space that XS itself doesn't use. That space is created as EXT3. I don't know enough about Linux and partitions, can EXT3 support 14 TB?
Yes, that's small for a filesystem.
Not for ext3. Max supported size is 16 GB.
-
@stacksofplates said in 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:
@Dashrender said in How do I mount this as a SR in XenServer 6.5:
We know from Dustin's posts that XS is creating a sba3 for the remaining space that XS itself doesn't use. That space is created as EXT3. I don't know enough about Linux and partitions, can EXT3 support 14 TB?
Yes, that's small for a filesystem.
Not for ext3. Max supported size is 16 GB.
Well on 32bit systems, yeah. But we're not on those. 32TB on 64bit.
-
@DustinB3403 said in How do I mount this as a SR in XenServer 6.5:
@travisdh1 not relevant at the moment (performing a clean install)
We are still talking about the system drive, right? At least a VG will come into play as you can't just use an entire PV in that case.
-
@scottalanmiller said in How do I mount this as a SR in XenServer 6.5:
@stacksofplates said in 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:
@Dashrender said in How do I mount this as a SR in XenServer 6.5:
We know from Dustin's posts that XS is creating a sba3 for the remaining space that XS itself doesn't use. That space is created as EXT3. I don't know enough about Linux and partitions, can EXT3 support 14 TB?
Yes, that's small for a filesystem.
Not for ext3. Max supported size is 16 GB.
Well on 32bit systems, yeah. But we're not on those. 32TB on 64bit.
No that's total. https://access.redhat.com/solutions/1532
Even on 7 which is 64 bit only.
-
Mother [moderat]ed
14TB local SR
[root@xenserver-2 ~]# cat /proc/partitions major minor #blocks name 7 0 57216 loop0 8 0 15138816 sda 8 1 4193297 sda1 8 2 4193297 sda2 8 16 15625879552 sdb 11 0 1048575 sr0 [root@xenserver-2 ~]# ll /dev/disk/by-id total 0 lrwxrwxrwx 1 root root 9 Oct 5 13:59 scsi-36141877047e9bb001f87d1985c90693e -> ../../sdb lrwxrwxrwx 1 root root 9 Oct 5 13:59 usb-Verbatim_STORE_N_GO_070B59EB8129C921 -> ../../sda lrwxrwxrwx 1 root root 10 Oct 5 13:59 usb-Verbatim_STORE_N_GO_070B59EB8129C921-part1 -> ../../sda1 lrwxrwxrwx 1 root root 10 Oct 5 13:59 usb-Verbatim_STORE_N_GO_070B59EB8129C921-part2 -> ../../sda2 [root@xenserver-2 ~]# xe sr-create content-type=user device-config:device=/dev/disk/by-id/scsi-36141877047e9bb001f87d1985c90693e host-uuid=44b88866-4b75-4b06-9086-e9e36949b084 name-label="Local Storage" shared=false type=lvm ab4b21fd-1157-d4ca-cd4d-78cb4affee2a
-
Mother [moderat]ing thing works this time!
-
lvm ftw
-
@stacksofplates said in 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:
@stacksofplates said in 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:
@Dashrender said in How do I mount this as a SR in XenServer 6.5:
We know from Dustin's posts that XS is creating a sba3 for the remaining space that XS itself doesn't use. That space is created as EXT3. I don't know enough about Linux and partitions, can EXT3 support 14 TB?
Yes, that's small for a filesystem.
Not for ext3. Max supported size is 16 GB.
Well on 32bit systems, yeah. But we're not on those. 32TB on 64bit.
No that's total. https://access.redhat.com/solutions/1532
Even on 7 which is 64 bit only.
That's a RHEL limitation. Not ext3.
https://www.novell.com/support/kb/doc.php?id=7009075
Even in 2011 it was 32TB. You use 8192 block size instead of 4096.
-
@DustinB3403 said in How do I mount this as a SR in XenServer 6.5:
Mother [moderat]ing thing works this time!
Ta da!