XCP-ng
    • Categories
    • Recent
    • Tags
    • Popular
    • Users
    • Groups
    • Register
    • Login

    XCP-ng 8.3 public alpha πŸš€

    Scheduled Pinned Locked Moved News
    264 Posts 43 Posters 176.5k Views 39 Watching
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • jhansenJ Offline
      jhansen
      last edited by

      Hello,
      I have some trouble with update from 8.2 to 8.3

      I boot the installation from USB with Image xcp-ng-8.3.0-alpha2.
      Everything works until I get to the installation. The backup of the old version is still made, then this error message appears:
      Old partition layout is unsupported, run prepare_host_upgrade and try again. Reboot
      The 8.2 installation is a 3 month old fresh installation, I doubt there is an old partition type in this 8.2 version.
      I removed all disks except the boot disk which only contains the XCP-NG system. Still the same error.
      The partition structure of the disk is as follows:

      Model: ATA TS512GSSD720 (scsi)
      Disk /dev/sda: 512GB
      Sector size (logical/physical): 512B/512B
      Partition Table: gpt
      Disk Flags: pmbr_boot

      Number Start End Size File system Name Flags
      4 1049kB 538MB 537MB bios_grub, legacy_boot
      1 538MB 4295MB 3757MB ext3
      2 4296MB 8590MB 4294MB ext3
      3 8591MB 512GB 504GB lvm

      Does anyone have an idea what's going wrong.

      I don't want to do a fresh installation because then I have to restore a lot of data. It's my test machine and I have a backup, but with 29 TB it takes days to restore and without data there is little point in testing 8.3.

      regards Joerg

      1 Reply Last reply Reply Quote 0
      • olivierlambertO Offline
        olivierlambert Vates πŸͺ Co-Founder CEO
        last edited by

        Hi,

        Can you give the output of lsblk, it's more readable to me πŸ™‚

        jhansenJ 1 Reply Last reply Reply Quote 0
        • jhansenJ Offline
          jhansen @olivierlambert
          last edited by olivierlambert

          @olivierlambert
          Does this help?

          sda                                                                                                 8:0    0   477G  0 disk
          β”œβ”€sda4                                                                                              8:4    0   512M  0 part
          β”œβ”€sda2                                                                                              8:2    0     4G  0 part
          β”œβ”€sda3                                                                                              8:3    0   469G  0 part
          β”‚ └─XSLocalEXT--d7a8bce5--29b3--5d83--f41f--5307f2e1b1bb-d7a8bce5--29b3--5d83--f41f--5307f2e1b1bb 253:0    0 468.9G  0 lvm   /run/sr-mount/d7a8bce5-29b3-5d83-f41f-5307f2e1b1bb
          └─sda1
          
          1 Reply Last reply Reply Quote 0
          • olivierlambertO Offline
            olivierlambert Vates πŸͺ Co-Founder CEO
            last edited by olivierlambert

            πŸ€” This is the old partition scheme πŸ€”

            It can't be a fresh install, it's not possible.

            edit: ah wait. Can you do a mount command?

            edit 2: a basic lsblk should display where the partition is mounted, did you copy/pasted everything?

            jhansenJ 2 Replies Last reply Reply Quote 0
            • jhansenJ Offline
              jhansen @olivierlambert
              last edited by

              @olivierlambert
              Thanks for help by the way 😊

              I'am shure that it is a new installation from 3 month ago, it is a new Server and I bought it 3 month ago.

              regards Joerg

              1 Reply Last reply Reply Quote 0
              • jhansenJ Offline
                jhansen @olivierlambert
                last edited by

                @olivierlambert
                Sorry I miss one line:
                └─sda1 8:1 0 3.5G 0 part /

                1 Reply Last reply Reply Quote 0
                • olivierlambertO Offline
                  olivierlambert Vates πŸͺ Co-Founder CEO
                  last edited by

                  You should have 2x 18G partitions (/ and a backup one), 1x 4G partition (/var/log) and a 512MB partition (/boot)

                  jhansenJ 2 Replies Last reply Reply Quote 0
                  • jhansenJ Offline
                    jhansen @olivierlambert
                    last edited by

                    @olivierlambert
                    My
                    Boot has 537MB
                    / has 3757MB
                    Backup 4294MB

                    1 Reply Last reply Reply Quote 0
                    • olivierlambertO Offline
                      olivierlambert Vates πŸͺ Co-Founder CEO
                      last edited by

                      Okay so this is the old partition scheme. Can you repeat exactly what did you do with this machine? I mean initially. I don't know how to even get the old partition scheme in the first place with XCP-ng (there's 0 edition of XCP-ng with this old partition scheme, it's only before XenServer 6.5)

                      1 Reply Last reply Reply Quote 0
                      • jhansenJ Offline
                        jhansen @olivierlambert
                        last edited by

                        @olivierlambert
                        I disable all hard drives and put in a new sda and do a fresh installation.
                        So I can always go back if something doesn't work out.
                        In any case, thanks for the help.
                        Regards Joerg

                        1 Reply Last reply Reply Quote 0
                        • olivierlambertO Offline
                          olivierlambert Vates πŸͺ Co-Founder CEO
                          last edited by

                          That's really weird, I don't understand how it's possible to install a fresh XCP-ng (without doing any upgrade) with the old partition layout πŸ€”

                          jhansenJ 1 Reply Last reply Reply Quote 0
                          • jhansenJ Offline
                            jhansen @olivierlambert
                            last edited by

                            @olivierlambert
                            Neither do I.
                            I thought I might have taken an old SSD, but that wasn't the case, the part was new.
                            Well, sometimes you lose and sometimes the others win.
                            Fresh installation 😧
                            But thanks anyway

                            tjkreidlT 1 Reply Last reply Reply Quote 0
                            • olivierlambertO Offline
                              olivierlambert Vates πŸͺ Co-Founder CEO
                              last edited by

                              Adding @yann in the conversation, so we need to check if it's even possible the old layout could be created in the installer code.

                              Did you use the regular installation or something else? (answer file, automated install etc.)

                              jhansenJ 2 Replies Last reply Reply Quote 0
                              • tjkreidlT Offline
                                tjkreidl Ambassador @jhansen
                                last edited by tjkreidl

                                @jhansen I'd suggest booting off some Linux rescue disk and just redoing all the partitions manually. I ran into an upgrade issue once on a Dell box because of some stupid little extra utility partition they had in there. See: http://xenserver.pl/author/tobias-kreidl
                                Look for "The (In)famous Dell Utility Partition."

                                jhansenJ 1 Reply Last reply Reply Quote 1
                                • jhansenJ Offline
                                  jhansen @olivierlambert
                                  last edited by

                                  @olivierlambert
                                  Unfortunately, I only keep the latest version of the iso files. I have the xcp-ng-8.2.1.iso here and I think that was it, but it could also have been the previous version.

                                  tjkreidlT 1 Reply Last reply Reply Quote 0
                                  • tjkreidlT Offline
                                    tjkreidl Ambassador @jhansen
                                    last edited by

                                    @jhansen Any old Linux distribution recovery-like boot disk should work, as long as you can get to the partitioning app.

                                    jhansenJ 2 Replies Last reply Reply Quote 0
                                    • jhansenJ Offline
                                      jhansen @tjkreidl
                                      last edited by

                                      @tjkreidl
                                      Mayby you are on the right trace.
                                      It is a Dell Server.
                                      This time i will wipe the disk before installation.
                                      As the Data is on other disk i will try to mount then afterwards.
                                      Thanks

                                      tjkreidlT 1 Reply Last reply Reply Quote 0
                                      • jhansenJ Offline
                                        jhansen @tjkreidl
                                        last edited by

                                        @tjkreidl
                                        Do you think a simple reseize of the different partition will do it?

                                        1 Reply Last reply Reply Quote 0
                                        • tjkreidlT Offline
                                          tjkreidl Ambassador @jhansen
                                          last edited by tjkreidl

                                          @jhansen said in XCP-ng 8.3 public alpha πŸš€:

                                          @tjkreidl
                                          Mayby you are on the right trace.
                                          It is a Dell Server.
                                          This time i will wipe the disk before installation.
                                          As the Data is on other disk i will try to mount then afterwards.
                                          Thanks

                                          I am willing to bet you got bitten by the Dell utility partition disk issue. And, yes, best to wipe it out. Or delete it and redo one of the other partitions. But frankly, you will really want the new 36.5 GB total layout with the dual 18GB partitions, etc., that was mentioned above. You will want the right order of partitions to match what the XCP-ng installation wants to do at some point, but it should redo the layout I hope once you get rid of that extra Dell partition. Check out what I did in my article referenced above:
                                          "The solution was simply to delete that sda1 partition altogether using fdisk and re-install. Deleting the partition can be performed live on the host prior to the installation process."

                                          jhansenJ 1 Reply Last reply Reply Quote 0
                                          • jhansenJ Offline
                                            jhansen @tjkreidl
                                            last edited by

                                            @tjkreidl
                                            Naturally partition and filesystem.

                                            1 Reply Last reply Reply Quote 0
                                            • First post
                                              Last post