XCP-ng 8.3 public alpha π
-
Hello,
I have some trouble with update from 8.2 to 8.3I 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_bootNumber 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 lvmDoes 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
-
Hi,
Can you give the output of
lsblk
, it's more readable to me -
@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
-
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?
-
@olivierlambert
Thanks for help by the wayI'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
-
@olivierlambert
Sorry I miss one line:
ββsda1 8:1 0 3.5G 0 part / -
You should have 2x 18G partitions (/ and a backup one), 1x 4G partition (/var/log) and a 512MB partition (/boot)
-
@olivierlambert
My
Boot has 537MB
/ has 3757MB
Backup 4294MB -
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)
-
@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 -
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
-
@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 -
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.)
-
@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." -
@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. -
@jhansen Any old Linux distribution recovery-like boot disk should work, as long as you can get to the partitioning app.
-
@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 -
@tjkreidl
Do you think a simple reseize of the different partition will do it? -
@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.
ThanksI 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." -
@tjkreidl
Naturally partition and filesystem.