Please point me to 1.2.0 -> 1.3.4 for Centos 6.7 upgrade docs/guide.
-
@BardWood Not related.
Is this image a single partition image? Or do you have a recovery partition as well?
-
@Tom-Elliott I saw that in the screenshot, ‘recovery partition’. Thing is, I booted that machine off a Gparted live USB image (latest version as of today) and it only sees 2. The MS riser and primary (technically, both are primary but you know what I mean). I’m trying to deploy a Win7, full disk, multi-partition. No recovery partition spotted so far. The disk on the ‘Gen5’ is using NVMe on SATA3(6gb).
-
@BardWood The message of the “Output of above command: ’ Error: The location 206848 is outside of the device /dev/sda’” Was this on the machine with the NVMe disk?
-
@Tom-Elliott No, that was from the X1 ‘Gen1’. The NVMe machine (Gen5) error is: X1 Carbon, Gen 5:
Error: Could not stat device /dev/sda - no such file or directoryFYI: I updated to RC-15 but so far no change in the errors. I’ve only tested RC-15 on the ‘Gen1’. I’ll try to re-run the parted command on the Gen5.
-
@BardWood The debug, because you have nvme, probably needs:
/dev/nvmen0
(a fdisk -l orlsblk -dpno
might prove more fruitful here) -
@Tom-Elliott Results of your suggestions (on Gen5/NVMe):
parted -s /dev/nvmen0 mkpart primary ntfs 206848s – -1s
‘Could not stat device /dev/nvmen0 - No such file or directory’So I re-ran with a slight syntax change based on lsblk output
Input:
‘parted -s /dev/nvmen0n1 mkpart primary ntfs 206848s – -1s’
Output:
Error: You requested a partition from 106mb to 512gb
(sectors 206848… 1000215215)
The closest location we can manage is 512GB to 512GB (sectors 1000212480… 1000215215.
So, at least parted sees it now. Small victories.Results of lsblk -dpn (-dpno spit out the help file. -d/-dp/-dpn had similar output. ‘-o’ either on its own or in combo with other switches resulted in help file).
Results of ‘fdisk -l’
-
@Tom-Elliott Additional info from Optiplex Desktop:
-
@BardWood That message (the it exists is non-issue).
SO now that we know the device name (it’s not /dev/sda)
Try the
fog
until it fails.Then when it fails at the prompt try:
parted -s /dev/nvme0n1 mkpart primary ntfs 206848s -- -1s
-
@Tom-Elliott Tried that (see below): Output = ‘Error: You requested a partition from 106mb to 512gb (sectors 206848… 1000215215)’
-
@BardWood It’s a 512 Gb disk?
-
can you try:
parted -s /dev/nvme0n1 mkpart primary ntfs 206848s 100%
-
I see what the problem is.
What I don’t understand is what the OS is.
Can you get contents of
ls /images/<relevantimagehere>
? -
@Tom-Elliott I’ll post the gen1\gen5\Optiplex7010 directory listing(s) but it’s affecting ALL images. All deploys fail with 1.3.X. This isn’t some system I casually use from time-to-time. This is a production system with storage nodes in NY, Dublin, Zurich and Singapore. These images are battle-tested and have been deployed hundreds of times each. That said…:
Optiplex 7010
Image path: /images/O7010V3
Dir listing:
-rwxrwxrwx 1 fog root 2 Oct 12 14:42 d1.fixed_size_partitions
-rwxrwxrwx 1 fog root 15 Oct 12 14:42 d1.original.fstypes
-rwxrwxrwx 1 fog root 259 Oct 12 14:42 d1.original.partitions
-rwxrwxrwx 1 fog root 0 Oct 12 14:42 d1.original.swapuuids
-rwxrwxrwx 1 fog root 8822083 Oct 12 14:45 rec.img.000
-rwxrwxrwx 1 fog root 18137848997 Oct 12 14:59 sys.img.000Lenovo X1 (non-carbon, AKA ‘Gen1’)
Image path: /images/X1CG1V2
Dir listing:
-rwxrwxrwx 1 fog root 2 Oct 11 14:00 d1.fixed_size_partitions
-rwxrwxrwx 1 fog root 15 Oct 11 14:00 d1.original.fstypes
-rwxrwxrwx 1 fog root 259 Oct 11 14:00 d1.original.partitions
-rwxrwxrwx 1 fog root 0 Oct 11 14:00 d1.original.swapuuids
-rwxrwxrwx 1 fog root 8686938 Oct 11 14:01 rec.img.000
-rwxrwxrwx 1 fog root 16026941814 Oct 11 14:33 sys.img.000Lenovo X1 Carbon (NVMe/AKA ‘Gen5’)
note: This is using a Kaby Lake Intel chipset. This chipset is only a minor iteration on the Skylake chipset which the Gen4 (Gen4 is also NVMe) used. For this reason, I’m attempting to write the ‘Gen4’ image to the ‘Gen5’Image path: /images/X1CG4V3
Dir listing:
-rwxrwxrwx 1 fog root 2 Oct 12 12:24 d1.fixed_size_partitions
-rwxrwxrwx 1 fog root 15 Oct 12 12:24 d1.original.fstypes
-rwxrwxrwx 1 fog root 259 Oct 12 12:24 d1.original.partitions
-rwxrwxrwx 1 fog root 0 Oct 12 12:24 d1.original.swapuuids
-rwxrwxrwx 1 fog root 8822643 Oct 12 12:25 rec.img.000
-rwxrwxrwx 1 fog root 15994261402 Oct 12 12:52 sys.img.000 -
@Tom-Elliott I will try the 100% switch. Also, no change with RC16.
-
@Tom-Elliott Parted - 100% switch:
-
@BardWood What’s the contents of the d1.original.partitions files you have?
-
Optiplex 7010
Image path: /images/O7010V3
Contents of d1.original.partitions:
/dev/sda1 : start= 2048, size= 204800, Id= 7, bootable
/dev/sda2 : start= 206848, size=976566320, Id= 7
/dev/sda3 : start= 0, size= 0, Id= 0
/dev/sda4 : start= 0, size= 0, Id= 0Lenovo X1 (non-carbon, AKA ‘Gen1’)
Image path: /images/X1NCV2
Contents of d1.original.partitions:
/dev/sda1 : start= 2048, size= 204800, Id= 7, bootable
/dev/sda2 : start= 206848, size=312374960, Id= 7
/dev/sda3 : start= 0, size= 0, Id= 0
/dev/sda4 : start= 0, size= 0, Id= 0Lenovo X1 Carbon (NVMe/AKA ‘Gen5’)
Image path: /images/X1CG4V3
Contents of d1.original.partitions:
/dev/sda1 : start= 2048, size= 204800, Id= 7, bootable
/dev/sda2 : start= 206848, size=499911344, Id= 7
/dev/sda3 : start= 0, size= 0, Id= 0
/dev/sda4 : start= 0, size= 0, Id= 0 -
@BardWood I’m rebuilding init’s that I hope might help you out with this. I’ll let you know when it’s ready if you’d be so kind as to see if your images will work after this?
-
Init’s are up at:
http://mastacontrola.com/init.xz
http://mastacontrola.com/init_32.xzwget -O /var/www/fog/service/ipxe/init.xz http://mastacontrola.com/init.xz wget -O /var/www/fog/service/ipxe/init_32.xz http://mastacontrola.com/init_32.xz
-
@Tom-Elliott No luck. Fails the same way when trying to recreate the main partition at init. This was on the ‘Gen1’. I’ll try a couple others.