Here’s the information from the debug session with the new init. Looks mostly the same. I’m going to try installing windows with default partitions the old fashioned way and I’ll see if image capture works by chance.
Best posts made by JJ Fullmer
-
RE: HP Z640 - NVME PCI-E Drive
-
RE: Improve documentation
@Jurgen-Goedbloed
Are you able to see the built readthedocs page?
I’m having trouble getting it to build locally to see what it’s going to look like and when I go to docs.fogproject.org I get a 403 error. I think that @Joe-Schmitt may have set some security up on that page on the fogproject domain while it was to be under construction. Maybe we should host it on the readthedocs domain until we get that figured out? That’s a setting in the readthedocs project that I can’t access.edit:
Figured out my build problems, so can at least browse it locally. Updated the readme with build instructions and added a make.ps1 for easier building. -
RE: HP Z640 - NVME PCI-E Drive
So here’s some good news, image capture works!
I did just a default multiple partition install of windows and it uploaded no problem.
I had still set the host primary disk to /dev/nvme0n1 in the gui.
I’m going to try re-downloading the image to the same computer
Then I’ll try to downloading the image I actually need on it that is single disk resizable.Thanks for all the help thus far.
-
RE: Improve documentation
@Wayne-Workman said in Improve documentation:
@JJ-Fullmer can they be converted to something YouTube supports? (as opposed to re-recording)
We can put them on the FOG Project Videos YouTube channel. https://www.youtube.com/channel/UCrvOQPcm1SDIfIrzWZ9K3bA/videos
I think this would be an excellent method, gives us extra search visibility too.
@Sebastian-Roth Good point on the gif. I was just thinking of what I’ve seen in other documentation recently. It’s cool for showing how quick and easy some things are but pause buttons are nice.
Read-the-docs has a youtube video embedded in their docs so I took that as an example and did a test with a random youtube video from our channel
https://fogproject.readthedocs.io/en/latest/management/index.html#hostsLooks good to me.
I am having trouble getting the swf converted though. When I run it through handbrake or any online convert tool it comes out as a jumbled mess. It’s also a video showing the 0.12 fog gui. Maybe it’s not worth it, I very much doubt anyone uses that version anymore.
-
RE: HP Z640 - NVME PCI-E Drive
So downloading a multi-partition image that was uploaded from an nvme drive works on an nvme drive. But I can’t download one that was made before I updated the init
I’m going to try uploading and downloading a resizable image and then I’ll also try reuploading my main image to see if uploading it using the new init makes some sort of difference. -
RE: Improve documentation
@Wayne-Workman Just thought you’d appreciate this.
I added a video from the channel to the snapin management page https://fogproject.readthedocs.io/en/latest/management/index.html#snapin-management -
RE: HP Z640 - NVME PCI-E Drive
@Sebastian-Roth No problem. I’m happy to help.
So I can’t upload a resizable image. It says
“Problem opening /dev/nvme0n1p for reading”I’m going to try uploading my base image as a multi-partition and see if I can download that one.
-
RE: Improve documentation
@Sebastian-Roth I tried to install that theme per the instructions in their git to no avail. I tried following some of the example site’s configs too and haven’t got it to work yet. I think it’s worth getting, just keeping you updated.
Edit
It wasn’t working because I had a dyslexic moment and because they were missing steps in their instructions
installs with
pydata-sphinx-theme
but then you define it as your theme withpydata_sphinx_theme
those silly underscores and dashes.
I also had to add a html_context section and a html_theme_options sections in theconf.py
. And I had to manually copy over the_templates
files from the theme’s repo into our project. But I got it working. It changes things up a little bit but it’s fixable, it’s just a question of what makes the most sense.There are still some kinks to work out but I think I like it.
It ends up looking like this
The front page is still very much a rough draft. But we could have something like this as exists in many other pages using this theme. Note the little panels. I figure we could have links to each top level section with a brief summary of what information is in each section.
This also changes it from combining pages into one index to more individual pages. It can be a bit easier to navigate this way and you still keep that information grouped together nicely in this theme. This is a nice find @Sebastian-Roth. All the themes I played with outside the default removed the read-the-docs version modal. This one is pretty great
-
RE: HP Z640 - NVME PCI-E Drive
Well it only seems to work when it was uploaded from nvme drive. That’s kind of odd.
-
RE: Improve documentation
@Sebastian-Roth @Jurgen-Goedbloed I have got the new theme working with scrolling toc and all. I think the top menu needs a little tlc https://fogproject.readthedocs.io
Do we want to stick with this theme or revert back to the default theme, I know @Jurgen-Goedbloed mentioned he didn’t like it as much. I don’t want to go changing the readme with the structural changes if we’re not gonna stick with this theme. Personally I didn’t like it at first but it’s grown on me and it’s pretty easy to navigate.
-
RE: HP Z640 - NVME PCI-E Drive
@Tom-Elliott I will gladly test them!
I’m currently trying the inits that came from the most recent btsync and they seem to be working too for the hardware inventory task anyway, haven’t tried an image yet.
Where are the new inits to test? Oh wait you posted while I was typing this, I’ll download those and give them a go right now. -
RE: Improve documentation
The theme has been reverted for now. I have made a top level tree and structured things per the sphinx and rtd recommendations.
Since it’s now following the structure it’s designed to use, switching themes down the road should be easy breezy. -
RE: HP Z640 - NVME PCI-E Drive
@Tom-Elliott The first test I did was with a multi-disk image that I made from a vm and it went back to the behavior it did before where it acted like it was working but never gets into partclone.
I’ll do a debug session for that one since it happened to fast to snap a picture. -
RE: Retain multicast sessions?
@george1421 I don’t know off the top of my head sadly. I don’t do much with multicast. But multicastsession is one of the apiobjects. So @Rivybeast you can give my powershell module a try. Once you’ve got it setup (i.e.
Install-Module FogApi; Set-FogServerSettings;
)You could mess with the
multicastsession
coreobject.
A quick test I go this$test = New-FogObject -type object -coreObject multicastsession VERBOSE: Building uri and api call VERBOSE: Pulling settings from settings file VERBOSE: Pulling settings from settings file VERBOSE: Building Headers... VERBOSE: Building api call URI... VERBOSE: removing body from call as it is null VERBOSE: POSTing to/from http://fog-server/fog/multicastsession/create VERBOSE: POST http://fog-server/fog/multicastsession/create with 0-byte payload VERBOSE: received -1-byte response of content type application/json VERBOSE: finished api call C:\Users\jfullmer\git\admin_scripts [master ≡ +1 ~3 -0 !]> $test id : 4 name : port : 0 logpath : image : @{imageTypeID=; imagePartitionTypeID=; id=; name=; description=; path=; createdTime=; createdBy=; building=; size=; osID=; deployed=; format=; magnet=; protected=; compress=; isEnabled=; toReplicate=; srvsize=; os=; imagepartitiontype=; imagetype=} clients : 0 sessclients : 0 interface : starttime : 0000-00-00 00:00:00 percent : 0 stateID : 0 completetime : 0000-00-00 00:00:00 isDD : 0 storagegroupID : 0 anon3 : anon4 : anon5 : state : @{id=; name=; description=; order=; icon=} imageID :
Which may give you some more ideas. The output at the end may be some of what you might be able to specify in the json data of a post call (New-FogObject). @Tom-Elliott May be able to help more as far as what data is needed to create a multicast session in the api.
Based on these quick tests though I’d say there’s some high hopes.
-
RE: HP Z640 - NVME PCI-E Drive
@Tom-Elliott I’m giving it a go now!
-
RE: Move partitions on GPT layouts - need people to test
@sebastian-roth I hope to be building our 20H2 image the start of next year. So I can do some testing along with that for sure on this then.
-
RE: HP Z640 - NVME PCI-E Drive
@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 -
RE: Move partitions on GPT layouts - need people to test
The smaller to larger worked fine as well.
here are all the d1.partition and d1.minimum.partitions I have (will update this post tomorrow with the recaptured first image) so it’s all in one spot1909 image
for reference of old windows partition table
This was NOT created with the new init, included this for comparison.d1.partitions
label: gpt label-id: 68156B04-B4FE-40EF-96CC-747C33F75E54 device: /dev/sda unit: sectors first-lba: 34 last-lba: 134217694 sector-size: 512 /dev/sda1 : start= 2048, size= 1083392, type=DE94BBA4-06D1-4D40-A16A-BFD50179D6AC, uuid=75A55945-9352-4F30-A330-67878EC28FA1, name="Basic data partition", attrs="RequiredPartition GUID:63" /dev/sda2 : start= 1085440, size= 202752, type=C12A7328-F81F-11D2-BA4B-00A0C93EC93B, uuid=D1336408-C5B3-446F-BE78-725587F7224D, name="EFI system partition", attrs="GUID:63" /dev/sda3 : start= 1288192, size= 32768, type=E3C9E316-0B5C-4DB8-817D-F92DF00215AE, uuid=C9F8E03C-928A-4233-9837-49CE510E39B0, name="Microsoft reserved partition", attrs="GUID:63" /dev/sda4 : start= 1320960, size= 132894720, type=EBD0A0A2-B9E5-4433-87C0-68B6B72699C7, uuid=D7729B0D-A7B4-4E1F-A9F5-F06FAAAE6141, name="Basic data partition"
d1.minimum.partitions
label: gpt label-id: 68156B04-B4FE-40EF-96CC-747C33F75E54 device: /dev/sda unit: sectors first-lba: 34 last-lba: 134217694 sector-size: 512 /dev/sda1 : start= 2048, size= 1083392, type=DE94BBA4-06D1-4D40-A16A-BFD50179D6AC, uuid=75A55945-9352-4F30-A330-67878EC28FA1, name="Basic data partition", attrs="RequiredPartition GUID:63" /dev/sda2 : start= 1085440, size= 202752, type=C12A7328-F81F-11D2-BA4B-00A0C93EC93B, uuid=D1336408-C5B3-446F-BE78-725587F7224D, name="EFI system partition", attrs="GUID:63" /dev/sda3 : start= 1288192, size= 32768, type=E3C9E316-0B5C-4DB8-817D-F92DF00215AE, uuid=C9F8E03C-928A-4233-9837-49CE510E39B0, name="Microsoft reserved partition", attrs="GUID:63" /dev/sda4 : start= 1320960, size= 45462454, type=EBD0A0A2-B9E5-4433-87C0-68B6B72699C7, uuid=D7729B0D-A7B4-4E1F-A9F5-F06FAAAE6141, name="Basic data partition"
20H2 smaller image
partitions of image from 60 GB VM
d1.partitions
label: gpt label-id: 68156B04-B4FE-40EF-96CC-747C33F75E54 device: /dev/nvme0n1 unit: sectors first-lba: 34 last-lba: 125829086 sector-size: 512 /dev/nvme0n1p1 : start= 2048, size= 204800, type=C12A7328-F81F-11D2-BA4B-00A0C93EC93B, uuid=2C465DF5-10FD-4883-B323-423E3D10FB2E, name="EFI system partition", attrs="GUID:63" /dev/nvme0n1p2 : start= 206848, size= 32768, type=E3C9E316-0B5C-4DB8-817D-F92DF00215AE, uuid=7AFE394E-47A0-43FE-A06E-7AFD7286E200, name="Microsoft reserved partition", attrs="GUID:63" /dev/nvme0n1p3 : start= 239616, size= 124567040, type=EBD0A0A2-B9E5-4433-87C0-68B6B72699C7, uuid=4A0FF43A-6E31-4AC9-8446-073E07C63AA8, name="Basic data partition" /dev/nvme0n1p4 : start= 124806656, size= 1021952, type=DE94BBA4-06D1-4D40-A16A-BFD50179D6AC, uuid=AEF97419-7B7D-4EC5-8C19-FF8C0217A965, attrs="RequiredPartition GUID:63"
d1.minimum.partitions
label: gpt label-id: 68156B04-B4FE-40EF-96CC-747C33F75E54 device: /dev/nvme0n1 unit: sectors first-lba: 34 last-lba: 125829086 sector-size: 512 /dev/nvme0n1p1 : start= 2048, size= 204800, type=C12A7328-F81F-11D2-BA4B-00A0C93EC93B, uuid=2C465DF5-10FD-4883-B323-423E3D10FB2E, name="EFI system partition", attrs="GUID:63" /dev/nvme0n1p2 : start= 206848, size= 32768, type=E3C9E316-0B5C-4DB8-817D-F92DF00215AE, uuid=7AFE394E-47A0-43FE-A06E-7AFD7286E200, name="Microsoft reserved partition", attrs="GUID:63" /dev/nvme0n1p3 : start= 239616, size= 21331078, type=EBD0A0A2-B9E5-4433-87C0-68B6B72699C7, uuid=4A0FF43A-6E31-4AC9-8446-073E07C63AA8, name="Basic data partition" /dev/nvme0n1p4 : start= 21571584, size= 1021952, type=DE94BBA4-06D1-4D40-A16A-BFD50179D6AC, uuid=AEF97419-7B7D-4EC5-8C19-FF8C0217A965, attrs="RequiredPartition GUID:63"
20H2 Larger image
Partitions of image from 128 GB VM
d1.partitions
label: gpt label-id: 68156B04-B4FE-40EF-96CC-747C33F75E54 device: /dev/nvme0n1 unit: sectors first-lba: 34 last-lba: 268435422 sector-size: 512 /dev/nvme0n1p1 : start= 2048, size= 204800, type=C12A7328-F81F-11D2-BA4B-00A0C93EC93B, uuid=2C465DF5-10FD-4883-B323-423E3D10FB2E, name="EFI system partition", attrs="GUID:63" /dev/nvme0n1p2 : start= 206848, size= 32768, type=E3C9E316-0B5C-4DB8-817D-F92DF00215AE, uuid=7AFE394E-47A0-43FE-A06E-7AFD7286E200, name="Microsoft reserved partition", attrs="GUID:63" /dev/nvme0n1p3 : start= 239616, size= 267173376, type=EBD0A0A2-B9E5-4433-87C0-68B6B72699C7, uuid=4A0FF43A-6E31-4AC9-8446-073E07C63AA8, name="Basic data partition" /dev/nvme0n1p4 : start= 267412992, size= 1021952, type=DE94BBA4-06D1-4D40-A16A-BFD50179D6AC, uuid=AEF97419-7B7D-4EC5-8C19-FF8C0217A965, attrs="RequiredPartition GUID:63"
d1.minimum.partitions
label: gpt label-id: 68156B04-B4FE-40EF-96CC-747C33F75E54 device: /dev/nvme0n1 unit: sectors first-lba: 34 last-lba: 268435422 sector-size: 512 /dev/nvme0n1p1 : start= 2048, size= 204800, type=C12A7328-F81F-11D2-BA4B-00A0C93EC93B, uuid=2C465DF5-10FD-4883-B323-423E3D10FB2E, name="EFI system partition", attrs="GUID:63" /dev/nvme0n1p2 : start= 206848, size= 32768, type=E3C9E316-0B5C-4DB8-817D-F92DF00215AE, uuid=7AFE394E-47A0-43FE-A06E-7AFD7286E200, name="Microsoft reserved partition", attrs="GUID:63" /dev/nvme0n1p3 : start= 239616, size= 21351120, type=EBD0A0A2-B9E5-4433-87C0-68B6B72699C7, uuid=4A0FF43A-6E31-4AC9-8446-073E07C63AA8, name="Basic data partition" /dev/nvme0n1p4 : start= 21592064, size= 1021952, type=DE94BBA4-06D1-4D40-A16A-BFD50179D6AC, uuid=AEF97419-7B7D-4EC5-8C19-FF8C0217A965, attrs="RequiredPartition GUID:63"
-
RE: Move partitions on GPT layouts - need people to test
Windows 8.1
Image captured and deployed with new init
Did deploy test from larger 128 GB source VM and it had no problem deploying to 60 GB VMd1.partitions
label: gpt label-id: 68156B04-B4FE-40EF-96CC-747C33F75E54 device: /dev/nvme0n1 unit: sectors first-lba: 34 last-lba: 268435422 sector-size: 512 /dev/nvme0n1p1 : start= 2048, size= 614400, type=DE94BBA4-06D1-4D40-A16A-BFD50179D6AC, uuid=6D92B4A9-E0B4-4DED-8C4C-E271AA36B06F, name="Basic data partition", attrs="RequiredPartition GUID:63" /dev/nvme0n1p2 : start= 616448, size= 204800, type=C12A7328-F81F-11D2-BA4B-00A0C93EC93B, uuid=2410B705-A7CB-4CE5-A393-8B3919C909D1, name="EFI system partition", attrs="GUID:63" /dev/nvme0n1p3 : start= 821248, size= 262144, type=E3C9E316-0B5C-4DB8-817D-F92DF00215AE, uuid=58F556FE-7D3B-44EA-A846-C0848DB743CB, name="Microsoft reserved partition", attrs="GUID:63" /dev/nvme0n1p4 : start= 1083392, size= 267350016, type=EBD0A0A2-B9E5-4433-87C0-68B6B72699C7, uuid=364F4B4F-4D49-4955-A5EB-9CDE151EEBF7, name="Basic data partition"
d1.minimum.partitions
label: gpt label-id: 68156B04-B4FE-40EF-96CC-747C33F75E54 device: /dev/nvme0n1 unit: sectors first-lba: 34 last-lba: 268435422 sector-size: 512 /dev/nvme0n1p1 : start= 2048, size= 614400, type=DE94BBA4-06D1-4D40-A16A-BFD50179D6AC, uuid=6D92B4A9-E0B4-4DED-8C4C-E271AA36B06F, name="Basic data partition", attrs="RequiredPartition GUID:63" /dev/nvme0n1p2 : start= 616448, size= 204800, type=C12A7328-F81F-11D2-BA4B-00A0C93EC93B, uuid=2410B705-A7CB-4CE5-A393-8B3919C909D1, name="EFI system partition", attrs="GUID:63" /dev/nvme0n1p3 : start= 821248, size= 262144, type=E3C9E316-0B5C-4DB8-817D-F92DF00215AE, uuid=58F556FE-7D3B-44EA-A846-C0848DB743CB, name="Microsoft reserved partition", attrs="GUID:63" /dev/nvme0n1p4 : start= 1083392, size= 17806622, type=EBD0A0A2-B9E5-4433-87C0-68B6B72699C7, uuid=364F4B4F-4D49-4955-A5EB-9CDE151EEBF7, name="Basic data partition"