@george1421 That’s what I figured, it seems an odd problem so I’m going to give all the info I can to help find the problem. And plus, these nvme drives think that they are going to become the norm and phase out sata, sas, and scsi, so I’ll do whatever I can to help get FOG working with them.

Posts
-
RE: HP Z640 - NVME PCI-E Drive
-
RE: PXE Boot with Unmodifiable Windows DHCP Server
@george1421 I see that in the code but this is a method I use to get past dhcp on the daily. I think it’s going out to dhcp just to make sure the machine has an ip address and is on the network and then connects to the tftp server. But since it already has the efi boot file it’s not using dhcp to try to go find it, which is the part I believe he needs to skip. But if my thought doesn’t work then the default.ipxe method you outlined is worth a shot.
I would add to your method that in the case that file isn’t seen (like if it’s a super picky uefi bios) you could create a efi partition instead of fat32 with
diskpart
But I would bet your method there would work. -
RE: ca fog service "error failed to decrypt" when snapins in non-default directory
Confirmed working. the CA ssl folders can now be separated from the snap-ins folder
-
RE: HP Z640 - NVME PCI-E Drive
@Sebastian-Roth Here ya go
I think that one possibility of the problem lies in the variable dump from fog.
It lists the partition as /dev/nvme0n11 but fdisk -l or gdisk -l lists it as /dev/nvme0n1p1 -
RE: Weird Host behavior (some disappearing/losing primary mac, some suddenly needing approval)
@Sebastian-Roth I saw it happen again this morning. In at least one case (I have scenarios where it’s happening that this doesn’t match up with) it seems to happen right after a snapin hash doesn’t match.
I attached the fog.log section where the host went through Authenticated -> start snapins ->Snapin hash mismatch -> Invalid hostHow my hashes keep getting mismatches is a whole other question because I use the exact same file for every snapin. And said file hasn’t changed in 2 years.
------------------------------------------------------------------------------ --------------------------------Authentication-------------------------------- ------------------------------------------------------------------------------ 8/25/2020 7:12:24 AM Client-Info Version: 0.12.0 8/25/2020 7:12:24 AM Client-Info OS: Windows 8/25/2020 7:12:24 AM Middleware::Authentication Waiting for authentication timeout to pass 8/25/2020 7:12:24 AM Middleware::Communication Download: http://fogserver/fog/management/other/ssl/srvpublic.crt 8/25/2020 7:12:24 AM Data::RSA FOG Server CA cert found 8/25/2020 7:12:24 AM Middleware::Authentication Cert OK 8/25/2020 7:12:24 AM Middleware::Communication POST URL: http://fogserver/fog/management/index.php?sub=requestClientInfo&authorize&newService 8/25/2020 7:12:24 AM Middleware::Response Success 8/25/2020 7:12:24 AM Middleware::Authentication Authenticated 8/25/2020 7:12:24 AM Middleware::Communication URL: http://fogserver/fog/management/index.php?sub=requestClientInfo&configure&newService&json 8/25/2020 7:12:24 AM Middleware::Response Success 8/25/2020 7:12:24 AM Middleware::Communication URL: http://fogserver/fog/management/index.php?sub=requestClientInfo&mac=9C:7B:EF:C3:90:84||00:00:00:00:00:00:00:E0&newService&json 8/25/2020 7:12:25 AM Middleware::Response Success 8/25/2020 7:12:25 AM Middleware::Communication URL: http://fogserver/fog/service/getversion.php?clientver&newService&json 8/25/2020 7:12:25 AM Middleware::Communication URL: http://fogserver/fog/service/getversion.php?newService&json 8/25/2020 7:12:25 AM Service Creating user agent cache 8/25/2020 7:12:25 AM Middleware::Response Module is disabled globally on the FOG server 8/25/2020 7:12:25 AM Middleware::Response Module is disabled globally on the FOG server 8/25/2020 7:12:25 AM Middleware::Response Module is disabled globally on the FOG server 8/25/2020 7:12:25 AM Service Initializing modules ------------------------------------------------------------------------------ ---------------------------------ClientUpdater-------------------------------- ------------------------------------------------------------------------------ 8/25/2020 7:12:25 AM Client-Info Client Version: 0.12.0 8/25/2020 7:12:25 AM Client-Info Client OS: Windows 8/25/2020 7:12:25 AM Client-Info Server Version: 1.5.9-RC2 8/25/2020 7:12:25 AM Middleware::Response Success ------------------------------------------------------------------------------ ------------------------------------------------------------------------------ ----------------------------------TaskReboot---------------------------------- ------------------------------------------------------------------------------ 8/25/2020 7:12:25 AM Client-Info Client Version: 0.12.0 8/25/2020 7:12:25 AM Client-Info Client OS: Windows 8/25/2020 7:12:25 AM Client-Info Server Version: 1.5.9-RC2 8/25/2020 7:12:25 AM Middleware::Response Success ------------------------------------------------------------------------------ ------------------------------------------------------------------------------ --------------------------------HostnameChanger------------------------------- ------------------------------------------------------------------------------ 8/25/2020 7:12:25 AM Client-Info Client Version: 0.12.0 8/25/2020 7:12:25 AM Client-Info Client OS: Windows 8/25/2020 7:12:25 AM Client-Info Server Version: 1.5.9-RC2 8/25/2020 7:12:25 AM Middleware::Response Success 8/25/2020 7:12:25 AM HostnameChanger Checking Hostname 8/25/2020 7:12:25 AM HostnameChanger Hostname is correct 8/25/2020 7:12:25 AM HostnameChanger Attempting to join domain 8/25/2020 7:12:25 AM HostnameChanger Host already joined to target domain ------------------------------------------------------------------------------ ------------------------------------------------------------------------------ ---------------------------------SnapinClient--------------------------------- ------------------------------------------------------------------------------ 8/25/2020 7:12:25 AM Client-Info Client Version: 0.12.0 8/25/2020 7:12:25 AM Client-Info Client OS: Windows 8/25/2020 7:12:25 AM Client-Info Server Version: 1.5.9-RC2 8/25/2020 7:12:25 AM Middleware::Response Success 8/25/2020 7:12:25 AM SnapinClient Running snapin DeviceForm - Desktop 8/25/2020 7:12:25 AM Middleware::Communication Download: http://192.168.100.117//fog/service/snapins.file.php?mac=9C:7B:EF:C3:90:84||00:00:00:00:00:00:00:E0&taskid=5462 8/25/2020 7:12:26 AM SnapinClient C:\Program Files (x86)\FOG\tmp\chocoPkgSnapin.ps1 8/25/2020 7:12:26 AM Bus Emmiting message on channel: Notification 8/25/2020 7:12:26 AM SnapinClient Starting snapin 8/25/2020 7:13:00 AM SnapinClient Snapin finished 8/25/2020 7:13:00 AM SnapinClient Return Code: 0 8/25/2020 7:13:00 AM Bus Emmiting message on channel: Notification 8/25/2020 7:13:00 AM Middleware::Communication URL: http://fogserver/fog/service/snapins.checkin.php?taskid=5462&exitcode=0&mac=9C:7B:EF:C3:90:84||00:00:00:00:00:00:00:E0&newService&json 8/25/2020 7:13:00 AM SnapinClient Running snapin mitel-pm 8/25/2020 7:13:00 AM Middleware::Communication Download: http://192.168.100.117//fog/service/snapins.file.php?mac=9C:7B:EF:C3:90:84||00:00:00:00:00:00:00:E0&taskid=5475 8/25/2020 7:13:01 AM SnapinClient C:\Program Files (x86)\FOG\tmp\chocoPkgSnapin.ps1 8/25/2020 7:13:01 AM Bus Emmiting message on channel: Notification 8/25/2020 7:13:01 AM SnapinClient Starting snapin 8/25/2020 7:14:35 AM SnapinClient Snapin finished 8/25/2020 7:14:35 AM SnapinClient Return Code: 0 8/25/2020 7:14:35 AM Bus Emmiting message on channel: Notification 8/25/2020 7:14:35 AM Middleware::Communication URL: http://fogserver/fog/service/snapins.checkin.php?taskid=5475&exitcode=0&mac=9C:7B:EF:C3:90:84||00:00:00:00:00:00:00:E0&newService&json 8/25/2020 7:14:35 AM SnapinClient Running snapin office2010-Std 8/25/2020 7:14:35 AM Middleware::Communication Download: http://192.168.100.117//fog/service/snapins.file.php?mac=9C:7B:EF:C3:90:84||00:00:00:00:00:00:00:E0&taskid=5476 8/25/2020 7:14:36 AM SnapinClient C:\Program Files (x86)\FOG\tmp\chocoPkgSnapin.ps1 8/25/2020 7:14:36 AM Bus Emmiting message on channel: Notification 8/25/2020 7:14:36 AM SnapinClient Starting snapin 8/25/2020 7:22:15 AM SnapinClient Snapin finished 8/25/2020 7:22:15 AM SnapinClient Return Code: 0 8/25/2020 7:22:15 AM Bus Emmiting message on channel: Notification 8/25/2020 7:22:15 AM Middleware::Communication URL: http://fogserver/fog/service/snapins.checkin.php?taskid=5476&exitcode=0&mac=9C:7B:EF:C3:90:84||00:00:00:00:00:00:00:E0&newService&json 8/25/2020 7:22:15 AM SnapinClient Running snapin outlook2016 8/25/2020 7:22:15 AM Middleware::Communication Download: http://192.168.100.117//fog/service/snapins.file.php?mac=9C:7B:EF:C3:90:84||00:00:00:00:00:00:00:E0&taskid=5477 8/25/2020 7:22:16 AM SnapinClient C:\Program Files (x86)\FOG\tmp\chocoPkgSnapin.ps1 8/25/2020 7:22:16 AM SnapinClient ERROR: Hash does not match 8/25/2020 7:22:16 AM SnapinClient ERROR: --> Ideal: 817B881A4D07DCFF51F67A47D9595DDE59D010FE0C018BDF5B57C502CB83A14F3085AF48987B392E8BF38E2C6B29D094055BDFFB6BBCD5647697D64AA4BDD668 8/25/2020 7:22:16 AM SnapinClient ERROR: --> Actual: 5271D1B9F35EA9FC2F1E3CE474C20641A15B37A02035E7E8210DFB513518CBC79FDFD25092A41491C2AB02AF8E0913C99819C6066B9883F398D90C5D045E4A1D 8/25/2020 7:22:16 AM Middleware::Communication URL: http://fogserver/fog/service/snapins.checkin.php?taskid=5477&exitcode=-1&mac=9C:7B:EF:C3:90:84||00:00:00:00:00:00:00:E0&newService&json ------------------------------------------------------------------------------ ------------------------------------------------------------------------------ --------------------------------PrinterManager-------------------------------- ------------------------------------------------------------------------------ 8/25/2020 7:22:16 AM Client-Info Client Version: 0.12.0 8/25/2020 7:22:16 AM Client-Info Client OS: Windows 8/25/2020 7:22:16 AM Client-Info Server Version: 1.5.9-RC2 8/25/2020 7:22:16 AM Middleware::Response Module is disabled globally on the FOG server ------------------------------------------------------------------------------ ------------------------------------------------------------------------------ --------------------------------PowerManagement------------------------------- ------------------------------------------------------------------------------ 8/25/2020 7:22:16 AM Client-Info Client Version: 0.12.0 8/25/2020 7:22:16 AM Client-Info Client OS: Windows 8/25/2020 7:22:16 AM Client-Info Server Version: 1.5.9-RC2 8/25/2020 7:22:16 AM Middleware::Response Success 8/25/2020 7:22:16 AM PowerManagement Calculating tasks to unschedule 8/25/2020 7:22:16 AM PowerManagement Calculating tasks to schedule ------------------------------------------------------------------------------ ------------------------------------------------------------------------------ ----------------------------------UserTracker--------------------------------- ------------------------------------------------------------------------------ 8/25/2020 7:22:16 AM Client-Info Client Version: 0.12.0 8/25/2020 7:22:16 AM Client-Info Client OS: Windows 8/25/2020 7:22:16 AM Client-Info Server Version: 1.5.9-RC2 8/25/2020 7:22:16 AM Middleware::Response Success 8/25/2020 7:22:16 AM Middleware::Communication URL: http://fogserver/fog/service/usertracking.report.php?action=login&user=SHP-WKS-6096\AdlAdmin&mac=9C:7B:EF:C3:90:84||00:00:00:00:00:00:00:E0&newService&json ------------------------------------------------------------------------------ 8/25/2020 7:22:16 AM Service Sleeping for 94 seconds 8/25/2020 7:23:50 AM Middleware::Communication URL: http://fogserver/fog/management/index.php?sub=requestClientInfo&configure&newService&json 8/25/2020 7:23:50 AM Middleware::Response Success 8/25/2020 7:23:50 AM Middleware::Communication URL: http://fogserver/fog/management/index.php?sub=requestClientInfo&mac=9C:7B:EF:C3:90:84||00:00:00:00:00:00:00:E0&newService&json 8/25/2020 7:23:50 AM Middleware::Response Invalid host 8/25/2020 7:23:50 AM Middleware::Communication URL: http://fogserver/fog/service/getversion.php?clientver&newService&json 8/25/2020 7:23:51 AM Middleware::Communication URL: http://fogserver/fog/service/getversion.php?newService&json 8/25/2020 7:23:51 AM Service Creating user agent cache 8/25/2020 7:23:51 AM Middleware::Response Module is disabled globally on the FOG server 8/25/2020 7:23:51 AM Middleware::Response Module is disabled globally on the FOG server 8/25/2020 7:23:51 AM Middleware::Response Module is disabled globally on the FOG server
-
RE: r7106 Client Unknown Authentication Error
commented out
if isset {...}
stuff in index.php of management and it worked again. -
RE: HP Z640 - NVME PCI-E Drive
@Sebastian-Roth @Tom-Elliott Is there a timeline on when you think this issue will be fixed?
Please and thank you
-
RE: FOG 1.5.4.8 : Printer Management : config file field missing ?
@Jonathan-Cool So I found my old post where I mentioned those exact commands you put in your original post
https://forums.fogproject.org/topic/6540/adding-custom-printer-configuration plus it has a bat script (which is a language I don’t even use anymore since I moved everything to powershell)So it is the .dat file that you want but where it resides, I’m trying to find that info.
I was a bit long winded when I tried to help someone else with something related here https://forums.fogproject.org/topic/6615/printer-problems/5
I am sure I made some sort of documentation post somewhere though just gotta find it and then make sure it gets put somewhere more findable
-
Group Printer Management Level Always sets to No Printer Management
Running Version 1.3.0-RC-1
SVN Revision: 5936When I try to set a group to the “Fog Managed Printers” setting for “Printer Management Level” It always ends up setting all of them to “No Printer Management”
-
RE: HP Z640 - NVME PCI-E Drive
@Sebastian-Roth @Tom-Elliott
I updated to the latest trunk since I noticed one of the commits said that it had adjusted the way partition numbers were found. But sadly it still isn’t working. I will try making it a raw image to see if that works as a workaround like it did for the other person with this problem with the m.2 drive. The debug information lsblk and for variable dump all still have the same information.Thanks,
-JJ -
RE: Upgrade from 1.5.7 to 1.5.8 issues
@Sebastian-Roth
Just gave this a test
I’m on fog 1.5.9.3
I’m using bzImage 5.6.18
I set a host to use the init you shared.I had previously imaged this machine on the init that came with 1.5.9.3/1.5.9.2 and it imaged in 4 min 33 secs and when I watched the speed it was around 10-11 GB/min. But I wasn’t babysitting the speed, it probably slowed down a bit when I wasn’t looking based on the results below.
Same image on the new init didn’t appear to go much faster but did stay stable around 11-12 GB/min but it actually finished in 2 min 38 secs. So It almost cut the time in half.
So, I didn’t get to see the super fast 20+ GiB/min speed again, but it did finish in about half the time.
Edit
I also noticed it now shows speed in GB/min instead of GiB/min. Not that big a scale change, but something I noticed. I also deployed the image on the machine one more time, this time without being connected to a small desktop switch and got the exact same 2:38 deploy time.
Other Edit
I also noticed that I too don’t have any 2.89 partclone images to test. Mine are all 3.13 I’m pretty sure.
-
RE: Group Printer Management Level Always sets to No Printer Management
However adding and removing printers works just fine. In case it’s relevant
-
RE: HP Z640 - NVME PCI-E Drive
Awesome! I’m giving it a try right now. And my apologies if I seemed impatient in my asking, I was just curious and getting all excited.
I currently only have one image and it is a resizable one, we’ll see what happens.Thanks,
-JJ -
RE: Weird Host behavior (some disappearing/losing primary mac, some suddenly needing approval)
@Sebastian-Roth These weird suddenly pending asset issues are still happening. I’m about to start re-imaging all our computers. May provide more data to debug the problem, or maybe it’ll fix the problem, we’ll see.
-
RE: Group Printer Management Level Always sets to No Printer Management
Also I believe that the default printer updates correctly too. It’s just the printer level that stopped working for groups
-
RE: HP Z640 - NVME PCI-E Drive
@Sebastian-Roth I just tested with a resizable image to no avail. I got some error messages. It looks like some numbering didn’t quite work as expected. Mainly when it is searching for /dev/nvme0n1p instead of /dev/nvme0n1p1 and when it tries to find the image file named d1pp1.img instead of d1p1.img
My apologies that some of these pictures have duplicate information, this happened twice I was just ready with the camera the second time since it happened so fast.
I am currently uploading a non-resizable version of that image to test that idea. I should be able to post results on that test in like 10 minutes or so.
-
RE: FOG API add snapin, run task and then delete
Made a fogapi git issue, so that I hopefully don’t forget about this idea https://github.com/darksidemilk/FogApi/issues/4
-
RE: isBitLockedPartition error
@Sebastian-Roth I tried out your init from the previously referenced post. Great Success!
However I figure you should be aware of a slight bug in them, it seems there’s an invalid grep line somewhere, it says no argument – ‘V’ exists and then outputs the grep help text. It does this repeatedly so it’s probably in a function somewhere.
Here’s the full debug output using your init.
[Tue Oct 31 root@fogclient ~]# fog * Running post init scripts.........................Done * Press [Enter] key to continue ================================== === ==== ===== ==== === ========= == === == === === ======== ==== == ==== === === ======== ==== == ========= === ==== ==== == ========= === ======== ==== == === === === ======== ==== == ==== === === ========= == === == === === ========== ===== ==== ================================== ===== Free Opensource Ghost ====== ================================== ============ Credits ============= = https://fogproject.org/Credits = ================================== == Released under GPL Version 3 == ================================== Version: 69 * Press [Enter] key to continue * Verifying network interface configuration.........Done * Press [Enter] key to continue * Checking Operating System.........................Windows 10 * Checking CPU Cores................................4 * 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: Base * Looking for Hard Disk.............................Done * Press [Enter] key to continue * Using Disk: /dev/sda * Enabling write cache..............................Enabled * Press [Enter] key to continue * Using Hard Disk: /dev/sda * Preparing Partition layout * Erasing current MBR/GPT Tables....................Done * Press [Enter] key to continue * Restoring Partition Tables (GPT)..................Done * Press [Enter] key to continue * Attempting to expand/fill partitions..............Done * Press [Enter] key to continue +--------------------------------+ | Attempting to deploy image | +--------------------------------+ | Using Partclone | +--------------------------------+ * Processing Partition: /dev/sda1 (1) * Press [Enter] key to continue * Imaging using Partclone (zstd) Cloned successfully. grep: invalid option -- 'V' BusyBox v1.26.2 (2017-04-21 16:11:45 EDT) multi-call binary. Usage: grep [-HhnlLoqvsriwFE] [-m N] [-A/B/C N] PATTERN/-e PATTERN.../-f FILE [FILE]... Search for PATTERN in FILEs (or stdin) -H Add 'filename:' prefix -h Do not add 'filename:' prefix -n Add 'line_no:' prefix -l Show only names of files that match -L Show only names of files that don't match -c Show only count of matching lines -o Show only the matching part of line -q Quiet. Return 0 if PATTERN is found, 1 otherwise -v Select non-matching lines -s Suppress open and read errors -r Recurse -i Ignore case -w Match whole words only -x Match whole lines only -F PATTERN is a literal (not regexp) -E PATTERN is an extended regexp -m N Match up to N times per file -A N Print N lines of trailing context -B N Print N lines of leading context -C N Same as '-A N -B N' -e PTRN Pattern to match -f FILE Read pattern from file * Clearing ntfs flag................................Done * Not expanding (/dev/sda1) fixed size * Press [Enter] key to continue * Processing Partition: /dev/sda2 (2) * Press [Enter] key to continue * Imaging using Partclone (zstd) Cloned successfully. Cloned successfully. grep: invalid option -- 'V' BusyBox v1.26.2 (2017-04-21 16:11:45 EDT) multi-call binary. Usage: grep [-HhnlLoqvsriwFE] [-m N] [-A/B/C N] PATTERN/-e PATTERN.../-f FILE [FILE]... Search for PATTERN in FILEs (or stdin) -H Add 'filename:' prefix -h Do not add 'filename:' prefix -n Add 'line_no:' prefix -l Show only names of files that match -L Show only names of files that don't match -c Show only count of matching lines -o Show only the matching part of line -q Quiet. Return 0 if PATTERN is found, 1 otherwise -v Select non-matching lines -s Suppress open and read errors -r Recurse -i Ignore case -w Match whole words only -x Match whole lines only -F PATTERN is a literal (not regexp) -E PATTERN is an extended regexp -m N Match up to N times per file -A N Print N lines of trailing context -B N Print N lines of leading context -C N Same as '-A N -B N' -e PTRN Pattern to match -f FILE Read pattern from file * Not expanding (/dev/sda2) fixed size * Press [Enter] key to continue * Processing Partition: /dev/sda3 (3) * Press [Enter] key to continue * Imaging using Partclone (zstd) Cloned successfully. grep: invalid option -- 'V' BusyBox v1.26.2 (2017-04-21 16:11:45 EDT) multi-call binary. Usage: grep [-HhnlLoqvsriwFE] [-m N] [-A/B/C N] PATTERN/-e PATTERN.../-f FILE [FILE]... Search for PATTERN in FILEs (or stdin) -H Add 'filename:' prefix -h Do not add 'filename:' prefix -n Add 'line_no:' prefix -l Show only names of files that match -L Show only names of files that don't match -c Show only count of matching lines -o Show only the matching part of line -q Quiet. Return 0 if PATTERN is found, 1 otherwise -v Select non-matching lines -s Suppress open and read errors -r Recurse -i Ignore case -w Match whole words only -x Match whole lines only -F PATTERN is a literal (not regexp) -E PATTERN is an extended regexp -m N Match up to N times per file -A N Print N lines of trailing context -B N Print N lines of leading context -C N Same as '-A N -B N' -e PTRN Pattern to match -f FILE Read pattern from file * Not expanding (/dev/sda3) fixed size * Press [Enter] key to continue * Processing Partition: /dev/sda4 (4) * Press [Enter] key to continue * Imaging using Partclone (zstd) Cloned successfully. grep: invalid option -- 'V' BusyBox v1.26.2 (2017-04-21 16:11:45 EDT) multi-call binary. Usage: grep [-HhnlLoqvsriwFE] [-m N] [-A/B/C N] PATTERN/-e PATTERN.../-f FILE [FILE]... Search for PATTERN in FILEs (or stdin) -H Add 'filename:' prefix -h Do not add 'filename:' prefix -n Add 'line_no:' prefix -l Show only names of files that match -L Show only names of files that don't match -c Show only count of matching lines -o Show only the matching part of line -q Quiet. Return 0 if PATTERN is found, 1 otherwise -v Select non-matching lines -s Suppress open and read errors -r Recurse -i Ignore case -w Match whole words only -x Match whole lines only -F PATTERN is a literal (not regexp) -E PATTERN is an extended regexp -m N Match up to N times per file -A N Print N lines of trailing context -B N Print N lines of leading context -C N Same as '-A N -B N' -e PTRN Pattern to match -f FILE Read pattern from file * Clearing ntfs flag................................Done grep: invalid option -- 'V' BusyBox v1.26.2 (2017-04-21 16:11:45 EDT) multi-call binary. Usage: grep [-HhnlLoqvsriwFE] [-m N] [-A/B/C N] PATTERN/-e PATTERN.../-f FILE [FILE]... Search for PATTERN in FILEs (or stdin) -H Add 'filename:' prefix -h Do not add 'filename:' prefix -n Add 'line_no:' prefix -l Show only names of files that match -L Show only names of files that don't match -c Show only count of matching lines -o Show only the matching part of line -q Quiet. Return 0 if PATTERN is found, 1 otherwise -v Select non-matching lines -s Suppress open and read errors -r Recurse -i Ignore case -w Match whole words only -x Match whole lines only -F PATTERN is a literal (not regexp) -E PATTERN is an extended regexp -m N Match up to N times per file -A N Print N lines of trailing context -B N Print N lines of leading context -C N Same as '-A N -B N' -e PTRN Pattern to match -f FILE Read pattern from file * Resizing ntfs volume (/dev/sda4)..................Done * Press [Enter] key to continue grep: invalid option -- 'V' BusyBox v1.26.2 (2017-04-21 16:11:45 EDT) multi-call binary. Usage: grep [-HhnlLoqvsriwFE] [-m N] [-A/B/C N] PATTERN/-e PATTERN.../-f FILE [FILE]... Search for PATTERN in FILEs (or stdin) -H Add 'filename:' prefix -h Do not add 'filename:' prefix -n Add 'line_no:' prefix -l Show only names of files that match -L Show only names of files that don't match -c Show only count of matching lines -o Show only the matching part of line -q Quiet. Return 0 if PATTERN is found, 1 otherwise -v Select non-matching lines -s Suppress open and read errors -r Recurse -i Ignore case -w Match whole words only -x Match whole lines only -F PATTERN is a literal (not regexp) -E PATTERN is an extended regexp -m N Match up to N times per file -A N Print N lines of trailing context -B N Print N lines of leading context -C N Same as '-A N -B N' -e PTRN Pattern to match -f FILE Read pattern from file * Clearing ntfs flag................................Done * Press [Enter] key to continue * Resetting UUIDs for /dev/sda * Press [Enter] key to continue * Disk UUID being set to............................c58db304-0143-4807-8553-c3fe3a63572e * Press [Enter] key to continue grep: invalid option -- 'V' BusyBox v1.26.2 (2017-04-21 16:11:45 EDT) multi-call binary. Usage: grep [-HhnlLoqvsriwFE] [-m N] [-A/B/C N] PATTERN/-e PATTERN.../-f FILE [FILE]... Search for PATTERN in FILEs (or stdin) -H Add 'filename:' prefix -h Do not add 'filename:' prefix -n Add 'line_no:' prefix -l Show only names of files that match -L Show only names of files that don't match -c Show only count of matching lines -o Show only the matching part of line -q Quiet. Return 0 if PATTERN is found, 1 otherwise -v Select non-matching lines -s Suppress open and read errors -r Recurse -i Ignore case -w Match whole words only -x Match whole lines only -F PATTERN is a literal (not regexp) -E PATTERN is an extended regexp -m N Match up to N times per file -A N Print N lines of trailing context -B N Print N lines of leading context -C N Same as '-A N -B N' -e PTRN Pattern to match -f FILE Read pattern from file * Partition type being set to.......................1:de94bba4-06d1-4d40-a16a-bfd50179d6ac * Press [Enter] key to continue * Partition uuid being set to.......................1:6ca9bc0a-b068-431e-ad37-42ebcc1180c9 * Press [Enter] key to continue grep: invalid option -- 'V' BusyBox v1.26.2 (2017-04-21 16:11:45 EDT) multi-call binary. Usage: grep [-HhnlLoqvsriwFE] [-m N] [-A/B/C N] PATTERN/-e PATTERN.../-f FILE [FILE]... Search for PATTERN in FILEs (or stdin) -H Add 'filename:' prefix -h Do not add 'filename:' prefix -n Add 'line_no:' prefix -l Show only names of files that match -L Show only names of files that don't match -c Show only count of matching lines -o Show only the matching part of line -q Quiet. Return 0 if PATTERN is found, 1 otherwise -v Select non-matching lines -s Suppress open and read errors -r Recurse -i Ignore case -w Match whole words only -x Match whole lines only -F PATTERN is a literal (not regexp) -E PATTERN is an extended regexp -m N Match up to N times per file -A N Print N lines of trailing context -B N Print N lines of leading context -C N Same as '-A N -B N' -e PTRN Pattern to match -f FILE Read pattern from file * Partition type being set to.......................2:c12a7328-f81f-11d2-ba4b-00a0c93ec93b * Press [Enter] key to continue * Partition uuid being set to.......................2:5edc0547-686e-4397-bdd2-43bfae201e45 * Press [Enter] key to continue grep: invalid option -- 'V' BusyBox v1.26.2 (2017-04-21 16:11:45 EDT) multi-call binary. Usage: grep [-HhnlLoqvsriwFE] [-m N] [-A/B/C N] PATTERN/-e PATTERN.../-f FILE [FILE]... Search for PATTERN in FILEs (or stdin) -H Add 'filename:' prefix -h Do not add 'filename:' prefix -n Add 'line_no:' prefix -l Show only names of files that match -L Show only names of files that don't match -c Show only count of matching lines -o Show only the matching part of line -q Quiet. Return 0 if PATTERN is found, 1 otherwise -v Select non-matching lines -s Suppress open and read errors -r Recurse -i Ignore case -w Match whole words only -x Match whole lines only -F PATTERN is a literal (not regexp) -E PATTERN is an extended regexp -m N Match up to N times per file -A N Print N lines of trailing context -B N Print N lines of leading context -C N Same as '-A N -B N' -e PTRN Pattern to match -f FILE Read pattern from file * Partition type being set to.......................3:e3c9e316-0b5c-4db8-817d-f92df00215ae * Press [Enter] key to continue * Partition uuid being set to.......................3:7d352040-d03c-420a-b307-53242b97e4bf * Press [Enter] key to continue grep: invalid option -- 'V' BusyBox v1.26.2 (2017-04-21 16:11:45 EDT) multi-call binary. Usage: grep [-HhnlLoqvsriwFE] [-m N] [-A/B/C N] PATTERN/-e PATTERN.../-f FILE [FILE]... Search for PATTERN in FILEs (or stdin) -H Add 'filename:' prefix -h Do not add 'filename:' prefix -n Add 'line_no:' prefix -l Show only names of files that match -L Show only names of files that don't match -c Show only count of matching lines -o Show only the matching part of line -q Quiet. Return 0 if PATTERN is found, 1 otherwise -v Select non-matching lines -s Suppress open and read errors -r Recurse -i Ignore case -w Match whole words only -x Match whole lines only -F PATTERN is a literal (not regexp) -E PATTERN is an extended regexp -m N Match up to N times per file -A N Print N lines of trailing context -B N Print N lines of leading context -C N Same as '-A N -B N' -e PTRN Pattern to match -f FILE Read pattern from file * Partition type being set to.......................4:ebd0a0a2-b9e5-4433-87c0-68b6b72699c7 * Press [Enter] key to continue * Partition uuid being set to.......................4:fe34efcf-4975-4988-9076-08cca3e7630d * Press [Enter] key to continue * Resetting swap systems * Press [Enter] key to continue * Stopping FOG Status Reporter......................Done * Press [Enter] key to continue grep: invalid option -- 'V' BusyBox v1.26.2 (2017-04-21 16:11:45 EDT) multi-call binary. Usage: grep [-HhnlLoqvsriwFE] [-m N] [-A/B/C N] PATTERN/-e PATTERN.../-f FILE [FILE]... Search for PATTERN in FILEs (or stdin) -H Add 'filename:' prefix -h Do not add 'filename:' prefix -n Add 'line_no:' prefix -l Show only names of files that match -L Show only names of files that don't match -c Show only count of matching lines -o Show only the matching part of line -q Quiet. Return 0 if PATTERN is found, 1 otherwise -v Select non-matching lines -s Suppress open and read errors -r Recurse -i Ignore case -w Match whole words only -x Match whole lines only -F PATTERN is a literal (not regexp) -E PATTERN is an extended regexp -m N Match up to N times per file -A N Print N lines of trailing context -B N Print N lines of leading context -C N Same as '-A N -B N' -e PTRN Pattern to match -f FILE Read pattern from file * Mounting directory................................Done * Press [Enter] key to continue grep: invalid option -- 'V' BusyBox v1.26.2 (2017-04-21 16:11:45 EDT) multi-call binary. Usage: grep [-HhnlLoqvsriwFE] [-m N] [-A/B/C N] PATTERN/-e PATTERN.../-f FILE [FILE]... Search for PATTERN in FILEs (or stdin) -H Add 'filename:' prefix -h Do not add 'filename:' prefix -n Add 'line_no:' prefix -l Show only names of files that match -L Show only names of files that don't match -c Show only count of matching lines -o Show only the matching part of line -q Quiet. Return 0 if PATTERN is found, 1 otherwise -v Select non-matching lines -s Suppress open and read errors -r Recurse -i Ignore case -w Match whole words only -x Match whole lines only -F PATTERN is a literal (not regexp) -E PATTERN is an extended regexp -m N Match up to N times per file -A N Print N lines of trailing context -B N Print N lines of leading context -C N Same as '-A N -B N' -e PTRN Pattern to match -f FILE Read pattern from file grep: invalid option -- 'V' BusyBox v1.26.2 (2017-04-21 16:11:45 EDT) multi-call binary. Usage: grep [-HhnlLoqvsriwFE] [-m N] [-A/B/C N] PATTERN/-e PATTERN.../-f FILE [FILE]... Search for PATTERN in FILEs (or stdin) -H Add 'filename:' prefix -h Do not add 'filename:' prefix -n Add 'line_no:' prefix -l Show only names of files that match -L Show only names of files that don't match -c Show only count of matching lines -o Show only the matching part of line -q Quiet. Return 0 if PATTERN is found, 1 otherwise -v Select non-matching lines -s Suppress open and read errors -r Recurse -i Ignore case -w Match whole words only -x Match whole lines only -F PATTERN is a literal (not regexp) -E PATTERN is an extended regexp -m N Match up to N times per file -A N Print N lines of trailing context -B N Print N lines of leading context -C N Same as '-A N -B N' -e PTRN Pattern to match -f FILE Read pattern from file grep: invalid option -- 'V' BusyBox v1.26.2 (2017-04-21 16:11:45 EDT) multi-call binary. Usage: grep [-HhnlLoqvsriwFE] [-m N] [-A/B/C N] PATTERN/-e PATTERN.../-f FILE [FILE]... Search for PATTERN in FILEs (or stdin) -H Add 'filename:' prefix -h Do not add 'filename:' prefix -n Add 'line_no:' prefix -l Show only names of files that match -L Show only names of files that don't match -c Show only count of matching lines -o Show only the matching part of line -q Quiet. Return 0 if PATTERN is found, 1 otherwise -v Select non-matching lines -s Suppress open and read errors -r Recurse -i Ignore case -w Match whole words only -x Match whole lines only -F PATTERN is a literal (not regexp) -E PATTERN is an extended regexp -m N Match up to N times per file -A N Print N lines of trailing context -B N Print N lines of leading context -C N Same as '-A N -B N' -e PTRN Pattern to match -f FILE Read pattern from file * Mounting directory................................Done * Press [Enter] key to continue * Changing hostname.................................Done * Press [Enter] key to continue * Task Complete * Updating Database................................. Done * Press [Enter] key to continue
So thank you good sir!
-
RE: HP Z640 - NVME PCI-E Drive
@Sebastian-Roth Similar problem with a non-resizable disk, it doesn’t seem to add a 1 at the end of /dev/nvme0n1p
I’m going to do a debug session and see if the lsblk is any different from before and such. Let me know if there’s any other information you need. I’m here to helpOn a side note, I did take out the primary hard disk specification and ran a hardware inventory and it found the hard drive just fine on its own. It didn’t get a harddrive manufacturer, model, or s/n but it knows it exist now. Yay progress!
-
RE: FOG API add snapin, run task and then delete
@chris-whiteley I just re-read your post and realized you want to deploy a single snapin task, not the all snapins task.
I’d have to test it but I believe what you want is
$json = (@{ "taskTypeID"='13'; "deploySnapins"='snapinName'; } | ConvertTo-Json); New-FogObject -type objecttasktype -coreTaskObject host -jsonData $json -IDofObject $hostid;
When doing the all snapins taks the tasktypeid is 12 and you set the deploySnapins to ‘-1’. @Tom-Elliott can help with confirming the syntax of the json required for a single snapin. But if your using my powershell module, then the New-FogObject command will take care of creating the task.
If you look at the code for start-fogsnapins here https://github.com/darksidemilk/FogApi/blob/master/FogApi/Public/Start-FogSnapins.ps1 you’ll note that I also have some checks for existing snapin tasks on the host. You’d probably want to do something like that. I should probably make it so that little segment is its own function, like Test-SnapinTasks and should probably make a separate start-fogsnapin function for single snapin tasks. But hey you could always do a pull request if you want to give writing it a try. I don’t know when I’ll have time to do all that myself.