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:
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!
-
@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:
@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.
Which is what XenServer is built on. So the same limitation applies.
-
@DustinB3403 type being LVM is important.
-
XS smiles, nods at @scottalanmiller and slinks back into the corner.
-
@scottalanmiller said in How do I mount this as a SR in XenServer 6.5:
@DustinB3403 type being LVM is important.
But I ran this guide before earlier today and had the same issues.
Except that I was installed directly to the OBR10, and still had no storage.
-
while going through these instructions
http://support.citrix.com/article/CTX121313He added the 14TB drive as LVM instead, where XS was creating a 14TB with EXT3. Not sure why this mattered, If time allowed, Dustin could have tried this command with EXT instead and tried to mount it. But time is of the essence so he only tried LVM.
-
These instructions, http://support.citrix.com/article/CTX121313, assume you're mounting an entire disk as a SR, how could you change the following command to indicate it's going to mount a partition (sda3 for example) instead?
Here's the command from the post
xe sr-create content-type=user device-config:device=/dev/disk/by-id/<scsi-xxxxxxxxxxxxxxxxxxxxxxxxx> host-uuid=<host-uuid> name-label=βLocal Storage 2β shared=false type=lvm
And do you think it matters if it was EXT vs LVM?
-
@DustinB3403 Just curious, was this hard or software RAID?
-
@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:
@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.
Which is what XenServer is built on. So the same limitation applies.
Tested the 8192 block size on C7 and it indeed block it and reduces it to 4096. How silly.