@Sebastian-Roth ok done
https://forums.fogproject.org/topic/13329/1-5-6-small-local-disk-and-the-rest-unallocated
Posts made by marcolefo
-
1.5.6 : Small local disk and the rest unallocated
Hi
Following this post : https://forums.fogproject.org/topic/13260/small-local-disk-and-the-rest-unallocated/6
Since FOG upgrade 1.5.4 to 1.5.6 the partitions are randomly often badly resized.
We have test with the new init.xz and init_32.xz and the FOG settings (FTP Server and increase KERNEL RAMDISK SIZE from 127000 to 275000) with no change.
We have rollback to 1.5.4, itās working.
d1.partitions
label: gpt label-id: 342E0E46-FCE0-493B-B86B-CCD863B21A14 device: /dev/sda unit: sectors first-lba: 34 last-lba: 134217694 /dev/sda1 : start= 2048, size= 1021952, type=DE94BBA4-06D1-4D40-A16A-BFD50179D6AC, uuid=5219620A-6815-455F-B2AC-90053839B61B, name="Basic data partition", attrs="RequiredPartition GUID:63" /dev/sda2 : start= 1024000, size= 204800, type=C12A7328-F81F-11D2-BA4B-00A0C93EC93B, uuid=CCB33AC5-D395-4B86-9429-FC1DF03DA6DF, name="EFI system partition", attrs="GUID:63" /dev/sda3 : start= 1228800, size= 32768, type=E3C9E316-0B5C-4DB8-817D-F92DF00215AE, uuid=E12B2745-C17B-4AFD-AF85-EC7B8024826E, name="Microsoft reserved partition", attrs="GUID:63" /dev/sda4 : start= 1261568, size= 132954112, type=EBD0A0A2-B9E5-4433-87C0-68B6B72699C7, uuid=51D443EE-8D96-4A4C-99A1-36F5B34FD10E, name="Basic data partition"
d1.minimum.partitions
label: gpt label-id: 342E0E46-FCE0-493B-B86B-CCD863B21A14 device: /dev/sda unit: sectors first-lba: 34 last-lba: 134217694 /dev/sda1 : start= 2048, size= 26234, type=DE94BBA4-06D1-4D40-A16A-BFD50179D6AC, uuid=5219620A-6815-455F-B2AC-90053839B61B, name="Basic data partition", attrs="RequiredPartition GUID:63" /dev/sda2 : start= 1024000, size= 204800, type=C12A7328-F81F-11D2-BA4B-00A0C93EC93B, uuid=CCB33AC5-D395-4B86-9429-FC1DF03DA6DF, name="EFI system partition", attrs="GUID:63" /dev/sda3 : start= 1228800, size= 32768, type=E3C9E316-0B5C-4DB8-817D-F92DF00215AE, uuid=E12B2745-C17B-4AFD-AF85-EC7B8024826E, name="Microsoft reserved partition", attrs="GUID:63" /dev/sda4 : start= 1261568, size= 50129436, type=EBD0A0A2-B9E5-4433-87C0-68B6B72699C7, uuid=51D443EE-8D96-4A4C-99A1-36F5B34FD10E, name="Basic data partition"
d1.fixed_size_partitions
:2:3
-
RE: Small local disk and the rest unallocated
Hi
We face the same problem.
I have installed the new init files and modified the ramdisk size but nothing change.Here is Gparted after cloning
-
RE: Issues after upgrading from 1.4.3 to 1.4.4
@kagashe I had the same issue but the patch worked in my case.
Just I have uninstalled the plugin before applying the patch.
Just to be sure that you have the good file in place, can you do this ?
cd ~ wget https://raw.githubusercontent.com/FOGProject/fogproject/6717f382177e714c1bd22eb11627133cfd4e0ebe/packages/web/lib/fog/plugin.class.php diff ~/plugin.class.php /var/www/fog/lib/fog/plugin.class.php
-
RE: Multicast error : Get Fog Host data
@sebastian-roth No problem
We have tested with 3 clients and then 1 client. All client were booted.
But today, itās workingā¦ I think itās not a FOG problem but our router and IGMP proxy.
I will look to it.
Thanks for your help
-
RE: Multicast error : Get Fog Host data
I have :
- followed this docs https://wiki.fogproject.org/wiki/index.php/Troubleshoot_MySQL and done all the Database Maintenance Commands
- relaunched foginstaller.sh
And now it hangs on partclone
I have also given a password to mysql root user. Itās a clue ?
Thanks
-
RE: Multicast error : Get Fog Host data
@sebastian-roth here it is :
mysql> desc hosts; +------------------+---------------+------+-----+---------------------+----------------+ | Field | Type | Null | Key | Default | Extra | +------------------+---------------+------+-----+---------------------+----------------+ | hostID | int(11) | NO | PRI | NULL | auto_increment | | hostName | varchar(16) | NO | UNI | NULL | | | hostDesc | longtext | NO | | NULL | | | hostIP | varchar(25) | NO | MUL | NULL | | | hostImage | int(11) | NO | | NULL | | | hostBuilding | int(11) | NO | | NULL | | | hostCreateDate | timestamp | NO | | CURRENT_TIMESTAMP | | | hostLastDeploy | datetime | NO | | NULL | | | hostCreateBy | varchar(50) | NO | | NULL | | | hostUseAD | char(1) | NO | MUL | NULL | | | hostADDomain | varchar(250) | NO | | NULL | | | hostADOU | longtext | NO | | NULL | | | hostADUser | varchar(250) | NO | | NULL | | | hostADPass | varchar(250) | NO | | NULL | | | hostADPassLegacy | longtext | NO | | NULL | | | hostProductKey | longtext | YES | | NULL | | | hostPrinterLevel | varchar(2) | NO | | NULL | | | hostKernelArgs | varchar(250) | NO | | NULL | | | hostKernel | varchar(250) | NO | | NULL | | | hostDevice | varchar(250) | NO | | NULL | | | hostInit | longtext | YES | | NULL | | | hostPending | enum('0','1') | NO | | NULL | | | hostPubKey | longtext | NO | | NULL | | | hostSecToken | longtext | NO | | NULL | | | hostSecTime | timestamp | NO | | 0000-00-00 00:00:00 | | | hostPingCode | varchar(20) | YES | | NULL | | | hostExitBios | longtext | YES | | NULL | | | hostExitEfi | longtext | YES | | NULL | | | hostEnforce | enum('0','1') | NO | | 1 | | +------------------+---------------+------+-----+---------------------+----------------+ 29 rows in set (0.00 sec) mysql> desc imageGroupAssoc; +-------------------+---------------+------+-----+---------+----------------+ | Field | Type | Null | Key | Default | Extra | +-------------------+---------------+------+-----+---------+----------------+ | igaID | mediumint(9) | NO | PRI | NULL | auto_increment | | igaImageID | mediumint(9) | NO | MUL | NULL | | | igaStorageGroupID | mediumint(9) | NO | | NULL | | | igaPrimary | enum('0','1') | NO | | NULL | | +-------------------+---------------+------+-----+---------+----------------+ 4 rows in set (0.00 sec)
-
RE: Multicast error : Get Fog Host data
@sebastian-roth thanks
Perhaps we have a problem with our database. I have activated MySQL log and I can see a lot of theses warnings even il no task is active.
171204 17:16:13 [Warning] Unsafe statement written to the binary log using statement format since BINLOG_FORMAT = STATEMENT. INSERT... ON DUPLICATE KEY UPDATE on a table with more than one UNIQUE KEY is unsafe Statement: INSERT INTO `hosts` (`hostID`,`hostName`,`hostDesc`,`hostIP`,`hostImage`,`hostBuilding`,`hostCreateDate`,`hostLastDeploy`,`hostCreateBy`,`hostUseAD`,`hostADDomain`,`hostADOU`,`hostADUser`,`hostADPass`,`hostADPassLegacy`,`hostProductKey`,`hostPrinterLevel`,`hostKernelArgs`,`hostKernel`,`hostDevice`,`hostInit`,`hostPending`,`hostPubKey`,`hostSecToken`,`hostSecTime`,`hostPingCode`,`hostExitBios`,`hostExitEfi`,`hostEnforce`) VALUES ('613','GMP-ONEWAY','Created by FOG Reg on November 23, 2017, 6:01 pm','','12','0','2017-11-23 18:01:46','2017-11-27 14:44:04',...
And this one exactly when FOG fails to get host data
71204 17:22:44 [Warning] Unsafe statement written to the binary log using statement format since BINLOG_FORMAT = STATEMENT. INSERT... ON DUPLICATE KEY UPDATE on a table with more than one UNIQUE KEY is unsafe Statement: INSERT INTO `imageGroupAssoc` (`igaImageID`,`igaStorageGroupID`,`igaPrimary`) VALUES ('','1','') ON DUPLICATE KEY UPDATE `igaImageID`=VALUES(`igaImageID`),`igaStorageGroupID`=VALUES(`igaStorageGroupID`),`igaPrimary`=VALUES(`igaPrimary`)
-
RE: Multicast error : Get Fog Host data
The line 97 in /var/www/fog/service/hostinfo.php is ā->get(ātypeā)ā
$img = $Image ->get('path'); $imgFormat = $Image ->get('format'); $imgType = $Image ->getImageType() ->get('type'); $imgPartitionType = $Image ->getImagePartitionType() ->get('type'); $imgid = $Image ->get('id'); $PIGZ_COMP = $Image ->get('compress'); $shutdown = intval( (bool)$Task ->get('shutdown')
-
Multicast error : Get Fog Host data
FOG server 1.4.4 on Debian 8
Strange problem with multicast deployment.
After deploying the host cannot get his information. It displays :Get FOG host datas... wget : server returned error : HTTP/1.0 500 Internal Server Error
In /var/log/apache2/error.log :
[Mon Nov 27 14:27:23.808904 2017] [:error] [pid 1378] [client 192.168.4.184:34648] PHP Fatal error: Call to a member function get() on null in /var/www/fog/service/hostinfo.php on line 97 [Mon Nov 27 14:27:23.822002 2017] [:error] [pid 756] [client 192.168.4.187:45862] PHP Fatal error: Call to a member function get() on null in /var/www/fog/service/hostinfo.php on line 97 [Mon Nov 27 14:27:23.826015 2017] [:error] [pid 654] [client 192.168.4.179:55746] PHP Fatal error: Call to a member function get() on null in /var/www/fog/service/hostinfo.php on line 97 [Mon Nov 27 14:27:23.990248 2017] [:error] [pid 1513] [client 192.168.4.185:38952] PHP Fatal error: Call to a member function get() on null in /var/www/fog/service/hostinfo.php on line 97 [Mon Nov 27 14:27:24.118431 2017] [:error] [pid 757] [client 192.168.4.183:44258] PHP Fatal error: Call to a member function get() on null in /var/www/fog/service/hostinfo.php on line 97 [Mon Nov 27 14:27:24.224749 2017] [:error] [pid 756] [client 192.168.4.186:48876] PHP Fatal error: Call to a member function get() on null in /var/www/fog/service/hostinfo.php on line 97
No problem when deploying on this hosts with unicast method.
Thanks.
Marc -
RE: Organizations Using FOG
Organization Name: IUT de Bordeaux
Location : Bordeaux, France
Approximate Number of systems: ~50 for now. Will increase to 1000
Since 2016/11 -
Upgrade 1.3.1 RC5 to 1.3.1
Server
- FOG Version: 1.3.1 (6053)
- OS: Debian 8 Jessie
Description
I donāt know if it is a real problem, but just in caseā¦
When upgrading 1.3.1 rc5 to 1.3.1 :* You still need to install/update your database schema. * This can be done by opening a web browser and going to: http://192.168.98.12/fog/management * Press [Enter] key when database is updated/installed. * Setting up storage............................................/lib/common/functions.sh: ligne 1076: /images/dev/postdownloadscripts/fog.postinit: Aucun fichier ou dossier de ce type OK
FOG seems normal for now. I will post here if we encounter problem.
Have a nice day. -
RE: Host missing after a VM restore
Oh waitā¦ my / is full !
Perhaps this is related :).
I will increase it and Iāll keep you informed.
-
Host missing after a VM restore
Server
- FOG Version: 1.3.0-RC-17
- OS: Debian 8
Client
- Service Version: 0.11.5
- OS: Windows 7 x64
Description
In HOST Management => List all Hosts, all my hosts are gone. It says āNo result foundā.
I can see my hosts passing by the Group Management => Click on a group => Membership.Strange isnāt it ?
My FOG server is on a VM (vSphere 5.5) backup by Veeam.
I had a problem after an update to RC-19. Before doing anything, I restored the VM from the last backup.Is it related ?
Thanks -
RE: Upgrade to RC-19 failed on "Setting up fog password"
Thanks ! That was not a fog problem :
Current Kerberos password: Current Kerberos password: passwdĀ : Erreur de manipulation du jeton dāauthentification
My /etc/pam.d/common-password was not correct.
And now installfog.sh says : * Setup complete
Have a nice day
-
Upgrade to RC-19 failed on "Setting up fog password"
Server
- FOG Version: 1.3.0-RC-17
- OS: Debian Jessie
Description
Hello
I tried to updgrade to RC-19 from RC-17.
After launching installfog.sh :-
Configuring services
-
Setting up fog userā¦Already setup
-
Setting up fog passwordā¦Failed!
Any idea ?
Shoud I try --exitFail option ?
Thanks.
-
Would you like DHCP to handle DNS?
Hi
I am installing FOG 1.3.0-RC-13
Just a question that I donāt understand.
Would you like DHCP to handle DNS? [Y/n]
I am integrating FOG into an existing network
https://wiki.fogproject.org/wiki/index.php?title=Integrating_FOG_into_an_Existing_NetworkShoud I say Yes or No ? What does this option is going to do ?
Thanks