XenServer 7 install not working for SD-Card setup



  • Ok so the time came to upgrade XS from 6.5 to 7.1. My setup is simple enough, I have the Dell SD card thingy where XS 6.5 is installed, and then I have one big RAID for storage of everything else.

    I don't remember the initial install of XS being anything complicated. But anyway, I've now installed XS 7 three times trying to get it to work but it's not.

    The first time I used the "upgrade" option, this ended with an error "the new partition table could not be written but was reverted successfully: Could not create partition 1 from 46139392 to 83888127
    Error encountered; not saving changes."

    After system reboot, I still had functional 6.5 but the storage repository was now "unplugged" and "not usable by this host." swell

    So I said screw it and just did the clean install instead. This went through no problem. I created my password, setup static IP stuff, set time etc etc, then it kicked out my install DVD and wanted a reboot.
    The system reboots, and loads up a nice old XS 6.5! Ok that's weird.

    I did the install a 2nd time, also clean install, making sure to carefully check each screen. The only screen that has anything to do with storage is when it asks me where I want to store VMs, and I choose the big RAID.

    Once again, I reboot, and up comes 6.5.

    I have no idea where XS 7.1 is supposedly installing to, it doesn't ask me where to install to, it just does it on its own I guess. But there is my 6.5 still untouched.

    Obvious question here, why isn't it installing to the SD or upgrading on the SD? It's not even asking where to install too. It must have installed somewhere right? And now my SR is offline.

    I must be missing a step here.



  • How large of an SD card are you using?



  • @DustinB3403 said in XenServer 7 install not working for SD-Card setup:

    How large of an SD card are you using?

    This. The partitioning scheme changed in 7.x and requires a larger footprint.



  • 32GB for the SDs.



  • @guyinpv The minimum is now 46GB.







  • It's listed here on page 12.



  • @Danp said in XenServer 7 install not working for SD-Card setup:

    It's listed here on page 12.

    That's like the most basic information that should be on a webpage, and not mentioning a minimum storage requirement makes it very, very hard to find. No wonder I don't remember seeing it.



  • @travisdh1 RTFM. :-P



  • @guyinpv Look at appendix D for instructions on installing to smaller devices.



  • @Danp said in XenServer 7 install not working for SD-Card setup:

    @travisdh1 RTFM. :-P

    I have, and they do not list a the minimum storage required, just give you the partitioning scheme. A partitioning scheme does not equal minimum drive size. Details matter.

    At least we know in this case it really is the 47.5GB that they list, but it can't be assumed.



  • Note:
    Customers installing XenServer 7.0 with the new partition layout described above should
    ensure they have a disk that is at least 46GB in size.



  • @Danp said in XenServer 7 install not working for SD-Card setup:

    Note:
    Customers installing XenServer 7.0 with the new partition layout described above should
    ensure they have a disk that is at least 46GB in size.

    Gah, buried even worse. Why is this not listed in the minimum requirements?



  • @travisdh1 Technically, it's only a requirement if you use the newer partitioning scheme. One would think the installer could be intelligent enough to notify the user when they've selected a destination without enough free space.



  • @Danp said in XenServer 7 install not working for SD-Card setup:

    @travisdh1 Technically, it's only a requirement if you use the newer partitioning scheme. One would think the installer could be intelligent enough to notify the user when they've selected a destination without enough free space.

    One would think, yes. I think I tried this on a 32GB usb and had it continue on it's merry (failing) way.



  • It's not a minimum requirement, but a recommendation. I have a XS host with the old partition layout. it is the minimum for the new partition layout. Upgrades function just fine with the old smaller partition layout.
    0_1492714625121_upload-b071a299-6084-4cf2-9516-b6dfaa21db68



  • Are the 7.1 issues people were running into initially, solved? I want to install this at home.



  • @wirestyle22 Yes, there were several patches that were released since launch that addressed many issues.

    Fortunately there were no issues like FreeNAS Corral :-)



  • @DustinB3403 said in XenServer 7 install not working for SD-Card setup:

    @wirestyle22 Yes, there were several patches that were released since launch that addressed many issues.

    Fortunately there were no issues like FreeNAS Corral :-)

    Awesome. Thanks!



  • errrrrg
    Would have helped if that were mentioned somewhere in the 42 tutorials I read before trying to update.

    I found it curious that the install did not ask me where to install to. I don't know if it ignored the SD or automatically chose it, but it didn't ask.
    Nor did it ask what partition type I wanted, this wasn't a question.

    Guess I'm off to buy a couple 64GB SDs.....



  • @guyinpv said in XenServer 7 install not working for SD-Card setup:

    errrrrg
    Would have helped if that were mentioned somewhere in the 42 tutorials I read before trying to update.

    I found it curious that the install did not ask me where to install to. I don't know if it ignored the SD or automatically chose it, but it didn't ask.
    Nor did it ask what partition type I wanted, this wasn't a question.

    Guess I'm off to buy a couple 64GB SDs.....

    Yeah the installer will only list usable installation targets. It irks me as well. It could easily list the targets with a title "unusable for installation"

    But then again, you could very well install to a smaller partition (if you wanted. . )



  • I'd rather take advantage of the new hotness.

    The thing is, the installer for 7.1 actually DID do something. I mean, it installed somewhere! I'm guessing that's why my SR is offline, it must have installed to the drive, but my system is booting to the SD still.



  • @guyinpv said in XenServer 7 install not working for SD-Card setup:

    I'd rather take advantage of the new hotness.

    The thing is, the installer for 7.1 actually DID do something. I mean, it installed somewhere! I'm guessing that's why my SR is offline, it must have installed to the drive, but my system is booting to the SD still.

    Yes, it sure does. It just continues to write files even tho it doesn't have the space for them... think of it like those fake USB drives that have 4MB worth of storage but claim to be 4TB.



  • Well that didn't go so well....sort of.

    I bought a couple 64GB SD Cards. Just for fun I thought I could install them by utilizing the mirror function of the Dell SD Module. I turned off the server, popped one old SD out and put in one new card.
    Booted up the machine and strangely enough, it did not immediately want to mirror the cards. Apparently I had removed the card in slot 1 and the BIOS had that slot set as primary. I'm not really sure why that affects the mirroring but ok.

    So I changed the BIOS to make slot 2 the primary card. Now when I reset, it properly asked me to fix the mirror and I said yessaroo. This appeared to work, as it later booted into the existing XS 6.5.

    I thought, cool, now I just need to pop out the other original card and stick in the new one, and it will mirror back again and the upgrade will be done. This time, however, it didn't work. I booted up and it acknowledged the need for a mirror operation, which I said yes. I left it overnight but nothing ever came of it, it didn't mirror, I don't know. And XS could not start at all after that, it was borked.

    Oh well, I can just do a clean install of XS 7.1, and that's just what I did. The install went through perfect, it detected the new SD cards as valid to install to, all good.

    Now I reconnected XenCenter and found 4 updates to do for about 85MB.

    After the updates I tried to connect my NFS share on my Synology which houses the backed up VMs as well as my ISOs. This was no bueno.

    If I try to connect the SR with "nas1:/ISOs" it threw an error saying "DNS lookup failed: the given servername could not be resolved."
    If I tried to connect using the IP instead, I got a different error "The SR failed to complete the operation ... Check your settings and try again."

    Grrrrr. I checked my network settings over and over on both the Synology and XS, many tweaks to test but I could not get it to connect.

    I can't even ping any hosts directly from the XS CLI. I'm guessing that somehow XS 7.1 is not configured for support for resolving WINS hosts or something? I have no idea, but it won't ping any hostnames on my network at all. But it will ping domain names and IPs.

    Regardless of resolving hostnames, it's still strange that it wouldn't connect the NFS using an IP either.

    Back to the drawing board.


  • Service Provider

    But the NFS worked before?



  • @guyinpv You might need to check your Management Network dns settings on XS.



  • @scottalanmiller said in XenServer 7 install not working for SD-Card setup:

    But the NFS worked before?

    Ya. I guess I only ever used it just for this, connecting the NFS. I wouldn't care about it if I could just connect using the IP instead but why wouldn't that work either? Does NFS only work using hostnames?

    @momurda said in XenServer 7 install not working for SD-Card setup:

    You might need to check your Management Network dns settings on XS.

    Settings are pretty uncomplicated; static IP, using main router for default gateway as well as only DNS provider.

    Supposedly, the way to get NETBIOS support in 'Nix is by installing winbind and making an edit to the /etc/nsswitch.conf file to enable wins for lookups.
    I'm hesitant to do this just because I don't want to manually tweak anything with the default install of XS.


  • Service Provider

    NFS shouldn't care about host names unless you kerberized it.



  • @guyinpv Youre already tweaking by using SD cards.
    Im not sure why you would need NETBIOS/WINS support. Doesnt the NFS server have A record in your DNS?


Log in to reply
 

Looks like your connection to MangoLassi was lost, please wait while we try to reconnect.