HP Z640 - NVME PCI-E Drive
-
@Tom-Elliott said:
32 bit Init: https://mastacontrola.com/init_32.xz
64 bit Init: https://mastacontrola.com/init.xzJust in case someone else is reading this and having the same problem and is new to fog and ipxe and what not…
To test out this fix do this…cd /var/www/fog/service/ipxe sudo mv init.xz init.bck sudo mv init_32.xz init_32.bck wget https://mastacontrola.com/init.xz --no-check-certificate && wget https://mastacontrola.com/init_32.xz --no-check-certificate sudo chmod -R 775 ./
-
@Arrowhead-IT Tom has just updated the unofficial inits on his server again. Re-worked download and improved upload a little more. See here: https://forums.fogproject.org/topic/6036/hp-stream-11-pro/65
Please try those and let us know! Thanks in advance.
-
@Sebastian-Roth He’s unfortunately out until January 4th for holiday.
-
Hi guys,
I did update the inits with the ones below and I noticed an odd behaviour where I was imaging a standard notebook with a standard SSD. After it had completed the partclone process, and it went through resizing the partition etc… rather than restarting the PC to boot up normally, it immediately restarted the partclone download process all over again.
After reverting back to the original inits, this didn’t happen.
Just thought I’d let you know.
-
@Toby777 I’m aware of the issue and it should already be fixed. My build environment was acting up so I have gotten around to having it rebuild the inits quite yet.
-
I have returned from holiday and just tested out the latest inits.
All seems to be working perfectly.
Thanks for all the help! -
This post is deleted! -
@Arrowhead-IT ummmm, I just did another test to be more thorough and discovered a problem.
After mps successfully downloaded I tried downloading a resizable image and it failed to recreate the partition table.
Sorry for the false hope -
@Arrowhead-IT Thanks for testing and letting us know. Do you see any particular error message? What does your partition layout exactly look like?
-
I just finished working with @Tom-Elliott we got it working. It was a simple fix.
It’s in the latest fog update now. So nvme drives work with fog 100% now right out of the box. Awesome like a possum! -
@Arrowhead-IT if you can would you be willing to test upload and download again for the resize and multipartition image types?
-
@Tom-Elliott It shall be done.
-
@Tom-Elliott said:
@Arrowhead-IT if you can would you be willing to test upload and download again for the resize and multipartition image types?
I will edit this post like before as I test each scenario.
If there is a scenario I’m missing here let me know and I’ll test that too.
I will try to be thorough as I can.Download of existing image created from vm
Resizable (Windows 8.1) - Success! No Issues!
Resizable (Windows 10) - Success! No issues!
Multi-partition (Linux CentOS Ext4 and LVM) - Failed - New Error
I think this indicates a problem with the image file itself not the imaging process. I’ll reupload this one and test a different mps image in the meantime.
Edit Reuploaded the image, this is centOS vm that has no mbr apparently. So this is a different problem entirely related linux lvm images. normal mps images work fineMulti-partition (Windows 7) - Success! Edit No Issues!
before
Note: Changing hostname said failed after imaging in debug mode.Upload from nvme
Resizable (Windows 10 ) - retesting
Multi-partition -
Download of newly uploaded image from nvme
Resizable (Windows 8.1 ) - Failed - Could not find hard disk on system - getHardDisk function
Multi-partition
-
@Tom-Elliott
On version 6048 I did a debug download of a resizable image
The following is the full output (run from ssh) including the looping error once it tried to enter partclone
It did not seem to ever exit the error loop no many how many steps. It got stuck in this same loop on 6040 in a quickimage and never exited, so I updated and ran it in debug# fog +------------------------------------------+ | ..#######:. ..,#,.. .::##::. | |.:###### .:;####:......;#;.. | |...##... ...##;,;##::::.##... | | ,# ...##.....##:::## ..:: | | ## .::###,,##. . ##.::#.:######::.| |...##:::###::....#. .. .#...#. #...#:::. | |..:####:.. ..##......##::## .. # | | # . ...##:,;##;:::#: ... ##.. | | .# . .:;####;::::.##:::;#:.. | | # ..:;###.. | | | +------------------------------------------+ | Free Computer Imaging Solution | +------------------------------------------+ | Credits: http://fogproject.org/Credits | | http://fogproject.org/Credits | | Released under GPL Version 3 | +------------------------------------------+ Version: 6048 * Press [Enter] key to continue * Verifying network interface configuration.........Done * Press [Enter] key to continue * Checking Operating System.........................Windows 8.1 * Checking CPU Cores................................8 * Send method.......................................NFS * Attempting to check in............................Done * Press [Enter] key to continue * Mounting File System..............................Done * Press [Enter] key to continue * Checking Mounted File System......................Done * Press [Enter] key to continue * Checking img variable is set......................Done * Press [Enter] key to continue * Attempting to send inventory...................... Done * Press [Enter] key to continue * Using Image: ResizableNVMEUpTest * Looking for Hard Disk.............................Done * Press [Enter] key to continue * Using Disk: /dev/nvme0n1 * Checking write caching status on HDD..............Enabled * Press [Enter] key to continue * Preparing Partition layout * Wiping /dev/nvme0n1 partition information * Erasing current MBR/GPT Tables.................... Done * Press [Enter] key to continue * Creating disk with new label......................Done * Press [Enter] key to continue * Initializing /dev/nvme0n1 with NTFS partition.....Done * Press [Enter] key to continue * Formatting initialized partition..................Done * Press [Enter] key to continue * Erasing current MBR/GPT Tables....................Done * Press [Enter] key to continue * Restoring Partition Tables (MBR)..................Done * Press [Enter] key to continue * Inserting Extended partitions.....................Done * Press [Enter] key to continue * Attempting to expand/fill partitions..............Done * Press [Enter] key to continue +--------------------------------+ | Attempting to download image | +--------------------------------+ | Using Partclone | +--------------------------------+ Problem opening ############################################################################## for reading! Error is 2. The specified file does not exist! Problem opening ############################################################################## for reading! Error is 2. The specified file does not exist! * Processing Partition: ############################################################################## () * Partition File Missing: /images/ResizableNVMEUpTest/d1p.img* error: ##############################################################################: No such file or directory Problem opening ############################################################################## for reading! Error is 2. The specified file does not exist! Problem opening ############################################################################## for reading! Error is 2. The specified file does not exist! error: ##############################################################################: No such file or directory * Not expanding (############################################################################## -- imager) * Press [Enter] key to continue * Press [Enter] key to continue Problem opening # for reading! Error is 2. The specified file does not exist! Problem opening # for reading! Error is 2. The specified file does not exist! * Processing Partition: # () * Partition File Missing: /images/ResizableNVMEUpTest/d1p.img* error: #: No such file or directory Problem opening # for reading! Error is 2. The specified file does not exist! Problem opening # for reading! Error is 2. The specified file does not exist! error: #: No such file or directory * Not expanding (# -- imager) * Press [Enter] key to continue * Press [Enter] key to continue Problem opening # for reading! Error is 2. The specified file does not exist! Problem opening # for reading! Error is 2. The specified file does not exist! * Processing Partition: # () * Partition File Missing: /images/ResizableNVMEUpTest/d1p.img* error: #: No such file or directory Problem opening # for reading! Error is 2. The specified file does not exist! Problem opening # for reading! Error is 2. The specified file does not exist! error: #: No such file or directory * Not expanding (# -- imager) * Press [Enter] key to continue * Press [Enter] key to continue Problem opening # for reading! Error is 2. The specified file does not exist! Problem opening # for reading! Error is 2. The specified file does not exist! * Processing Partition: # () * Partition File Missing: /images/ResizableNVMEUpTest/d1p.img* error: #: No such file or directory Problem opening # for reading! Error is 2. The specified file does not exist! Problem opening # for reading! Error is 2. The specified file does not exist! error: #: No such file or directory * Not expanding (# -- imager) * Press [Enter] key to continue * Press [Enter] key to continue Problem opening An for reading! Error is 2. The specified file does not exist! Problem opening An for reading! Error is 2. The specified file does not exist! * Processing Partition: An () * Partition File Missing: /images/ResizableNVMEUpTest/d1p.img* error: An: No such file or directory Problem opening An for reading! Error is 2. The specified file does not exist! Problem opening An for reading! Error is 2. The specified file does not exist! error: An: No such file or directory * Not expanding (An -- imager) * Press [Enter] key to continue * Press [Enter] key to continue Problem opening error for reading! Error is 2. The specified file does not exist! Problem opening error for reading! Error is 2. The specified file does not exist! * Processing Partition: error () * Partition File Missing: /images/ResizableNVMEUpTest/d1p.img* error: error: No such file or directory Problem opening error for reading! Error is 2. The specified file does not exist! Problem opening error for reading! Error is 2. The specified file does not exist! error: error: No such file or directory * Not expanding (error -- imager) * Press [Enter] key to continue * Press [Enter] key to continue Problem opening has for reading! Error is 2. The specified file does not exist! Problem opening has for reading! Error is 2. The specified file does not exist! * Processing Partition: has () * Partition File Missing: /images/ResizableNVMEUpTest/d1p.img* error: has: No such file or directory Problem opening has for reading! Error is 2. The specified file does not exist! Problem opening has for reading! Error is 2. The specified file does not exist! error: has: No such file or directory * Not expanding (has -- imager) * Press [Enter] key to continue * Press [Enter] key to continue Problem opening been for reading! Error is 2. The specified file does not exist! Problem opening been for reading! Error is 2. The specified file does not exist! * Processing Partition: been () * Partition File Missing: /images/ResizableNVMEUpTest/d1p.img* error: been: No such file or directory Problem opening been for reading! Error is 2. The specified file does not exist! Problem opening been for reading! Error is 2. The specified file does not exist! error: been: No such file or directory * Not expanding (been -- imager) * Press [Enter] key to continue * Press [Enter] key to continue Problem opening detected! for reading! Error is 2. The specified file does not exist! Problem opening detected! for reading! Error is 2. The specified file does not exist! * Processing Partition: detected! () * Partition File Missing: /images/ResizableNVMEUpTest/d1p.img* error: detected!: No such file or directory Problem opening detected! for reading! Error is 2. The specified file does not exist! Problem opening detected! for reading! Error is 2. The specified file does not exist! error: detected!: No such file or directory * Not expanding (detected! -- imager) * Press [Enter] key to continue
And on the fog server, this is the contents of the image
ls /images/ResizableNVMEUpTest/ d1.fixed_size_partitions d1.minimum.partitions d1.original.swapuuids d1.partitions d1.mbr d1.original.fstypes d1p1.img
I will try an upload of this image as well as the same with my mps test image and post the results
-
@Tom-Elliott
This is the output of the upload from the same debug session# fog.upload +------------------------------------------+ | ..#######:. ..,#,.. .::##::. | |.:###### .:;####:......;#;.. | |...##... ...##;,;##::::.##... | | ,# ...##.....##:::## ..:: | | ## .::###,,##. . ##.::#.:######::.| |...##:::###::....#. .. .#...#. #...#:::. | |..:####:.. ..##......##::## .. # | | # . ...##:,;##;:::#: ... ##.. | | .# . .:;####;::::.##:::;#:.. | | # ..:;###.. | | | +------------------------------------------+ | Free Computer Imaging Solution | +------------------------------------------+ | Credits: http://fogproject.org/Credits | | http://fogproject.org/Credits | | Released under GPL Version 3 | +------------------------------------------+ Version: 6048 * Press [Enter] key to continue * Verifying network interface configuration.........Done * Press [Enter] key to continue * Checking Operating System.........................Windows 8.1 * Checking CPU Cores................................8 * Send method.......................................NFS * Attempting to check in............................Done * Press [Enter] key to continue * Mounting File System..............................Done * Press [Enter] key to continue * Checking Mounted File System......................Done * Press [Enter] key to continue * Checking img variable is set......................Done * Press [Enter] key to continue * Preparing to send image file to server * Preparing backup location.........................Failed * Press [Enter] key to continue ############################################################################## # # # An error has been detected! # # # ############################################################################## Failed to create image upload path (prepareUploadLocation) * Press [Enter] key to continue
-
Download and Upload of mps are still working perfectly. It’s just resize that is having trouble.
I am going to try a normal sda vm resizable download to see if this is an nvme problem or a fog init code problem -
Resizable download is giving the same error on normal sda.
So there is most likely a problem with this version of FOG
Help me obiwan- @Tom-Elliott -nobi, you are my only hope -
@Arrowhead-IT I found the problem with downloads. I’ll look at the uploads shortly.
I’m rebuilding the init’s and will upload them shortly. I’ll let you know when they’re ready.
-
@Arrowhead-IT Uploaded and ready for testing whenever you are.
-
@Arrowhead-IT I believe the upload issue you’re seeing is simply because you’re debug session is in download mode.
Why is this important? Because the directory that get’s mounted varies depending on the type of image.
Seeing as the images directory is already created and most likely mounted for the download mode, this would be an expected failure, I would think.