Latest FOG 0.33b
-
[quote=“Tom Elliott, post: 26453, member: 7271”]When you “deployed” the image, did you do a unicast or multicast job? It multicast, check that the FOGMulticastManager service is running.
There is compression. The default is set to 9, but you can change the compression rating on the FOG GUI under FOG Boot Settings tab in FOG Settings. 9 is best compression, slowest upload, 0 is worst compression, fastest upload.[/quote]
I was trying to do a multicast deploy (is this the difference between the deploy and download buttons ?), so I investigated on the FOGMulticastManager.
[CODE]root@gen8:~# /etc/init.d/FOGMulticastManager start
- Starting FOG Computer Imaging Solution: FOGMulticastManager [fail]
[/CODE]
and since I couldn’t find any logs, I also tried the bash debug (-x). I got this:
[CODE]root@gen8:/etc/init.d# /etc/init.d/FOGMulticastManager start- PATH=/usr/local/sbin:/usr/local/bin:/sbin:/bin:/usr/bin:/usr/sbin
- DAEMON=/opt/fog/service/FOGMulticastManager/FOGMulticastManager
- NAME=FOGMulticastManager
- PIDFILE=/var/run/fog/FOGMulticastManager.pid
- DESC=‘FOG Computer Imaging Solution’
- test -f /opt/fog/service/FOGMulticastManager/FOGMulticastManager
- . /lib/lsb/init-functions
+++ run-parts --lsbsysinit --list /lib/lsb/init-functions.d
++ for hook in ‘$(run-parts --lsbsysinit --list /lib/lsb/init-functions.d 2>/dev/null)’
++ ‘[’ -r /lib/lsb/init-functions.d/20-left-info-blocks ‘]’
++ . /lib/lsb/init-functions.d/20-left-info-blocks
++ for hook in ‘$(run-parts --lsbsysinit --list /lib/lsb/init-functions.d 2>/dev/null)’
++ ‘[’ -r /lib/lsb/init-functions.d/50-ubuntu-logging ‘]’
++ . /lib/lsb/init-functions.d/50-ubuntu-logging
+++ LOG_DAEMON_MSG=
++ FANCYTTY=
++ ‘[’ -e /etc/lsb-base-logging.sh ‘]’
++ true - case “$1” in
- log_begin_msg ‘Starting FOG Computer Imaging Solution: FOGMulticastManager’
- log_daemon_msg ‘Starting FOG Computer Imaging Solution: FOGMulticastManager’
- ‘[’ -z ‘Starting FOG Computer Imaging Solution: FOGMulticastManager’ ‘]’
- log_use_fancy_output
- TPUT=/usr/bin/tput
- EXPR=/usr/bin/expr
- ‘[’ -t 1 ‘]’
- ‘[’ xxterm ‘!=’ x ‘]’
- ‘[’ xxterm ‘!=’ xdumb ‘]’
- ‘[’ -x /usr/bin/tput ‘]’
- ‘[’ -x /usr/bin/expr ‘]’
- /usr/bin/tput hpa 60
- /usr/bin/tput setaf 1
- ‘[’ -z ‘]’
- FANCYTTY=1
- case “$FANCYTTY” in
- true
- /usr/bin/tput xenl
++ /usr/bin/tput cols - COLS=237
- ‘[’ 237 ‘]’
- ‘[’ 237 -gt 6 ‘]’
++ /usr/bin/expr 237 - 7 - COL=230
- log_use_plymouth
- ‘[’ n = y ‘]’
- plymouth --ping
- printf ’ * Starting FOG Computer Imaging Solution: FOGMulticastManager ’
- Starting FOG Computer Imaging Solution: FOGMulticastManager ++ /usr/bin/expr 237 - 1
- /usr/bin/tput hpa 236
+ printf ’ ’
++ dirname /var/run/fog/FOGMulticastManager.pid - mkdir -p /var/run/fog
- ‘[’ ‘!’ -f /var/run/fog/FOGMulticastManager.pid ‘]’
- log_end_msg 1
- ‘[’ -z 1 ‘]’
- ‘[’ 230 ‘]’
- ‘[’ -x /usr/bin/tput ‘]’
- log_use_plymouth
- ‘[’ n = y ‘]’
- plymouth --ping
- printf ‘\r’
- /usr/bin/tput hpa 230
+ ‘[’ 1 -eq 0 ‘]’ - printf ‘[’
[+ /usr/bin/tput setaf 1 - printf fail
fail+ /usr/bin/tput op - echo ‘]’
] - return 1
- exit 0
[/CODE]
As an alternative, I also tried the download button (this is probably unicast). After some minor successes, one line said:
[CODE]* Performing Clean up (Stage 1)…Done- Performing Clean up (Stage 2)…error: /dev/sda2: No such file or directory
[/CODE]
Isn’t fog creating the partitions before deployment? I must be missing something here, because it deployed fine on /dev/sda1 (windows boot partition).
And I now checked the apache error log. Nothing appears when Partclone hangs.
- Starting FOG Computer Imaging Solution: FOGMulticastManager [fail]
-
[quote=“Raff, post: 26446, member: 298”]Just an update on the above issues.
Seems to happen if Images table Field imageNFSGroupID is set to a storage Node that no longer exists.
Also we had a issue when listing all hosts. If the host table field hostImage has a value of -1 we get an error, may also error for the value 0.[/quote]
I had this issue too, but its an easy fix. The hosts that have a negative value are the hosts that did not have an image assigned. You can either assign an image, or select the “Please select an option” option at the top of the drop down and hit ‘Update’. What you select doesn’t seem to matter, just so long as that setting gets touched. I did this manually since I have a relatively small hosts list still, but for larger lists I imagine someone with decent MySQL skills could make a quick query.
EDIT: Tom you glorious man thank you so much for adding the changelog…
-
Maybe this code?
[code]update hosts set hostImage=‘0’ where hostImage=‘-1’;[/code] -
I updated to r1556, and now [FONT=Consolas]FOGMulticastManager[/FONT] works. However, I still cannot deploy because of:
[CODE]* Performing Clean up (Stage 1)…Done
- Performing Clean up (Stage 2)…error: /dev/sda2: No such file or directory[/CODE]
Any help please?
-
[quote=“Tom Elliott, post: 26467, member: 7271”]Maybe this code?
[code]update hosts set hostImage=‘0’ where hostImage=‘-1’;[/code][/quote]Yes, that code. Amazing what at least basic MySQL skills can do for you. I need to buck up and force myself to learn it.
[quote=“Mr.Myagy, post: 26468, member: 23824”]I updated to r1556, and now [FONT=Consolas]FOGMulticastManager[/FONT] works. However, I still cannot deploy because of:
[CODE]* Performing Clean up (Stage 1)…Done
- Performing Clean up (Stage 2)…error: /dev/sda2: No such file or directory[/CODE]
Any help please?[/quote]
Is this a clean install or an OEM install?
-
When you uploaded the image, did all of the data get copied properly?
Image location is:
/images/<IMAGENAME>It sounds like, to me, the image uploaded, but didn’t create/copy the proper MBR file.
-
[quote=“Tom Elliott, post: 26470, member: 7271”]When you uploaded the image, did all of the data get copied properly?
Image location is:
/images/<IMAGENAME>It sounds like, to me, the image uploaded, but didn’t create/copy the proper MBR file.[/quote]
need2, this is a clean 0.33b install, but I updated it several times. I can do a fresh install if that is the issue.
Tom, this is what I have:
[CODE]:~$ ls -lah /images/testW1/
total 5.1G
drwxrwxrwx 2 root root 4.0K May 2 16:07 .
drwxrwxrwx 6 root root 4.0K May 2 16:23 …
-rwxrwxrwx 1 root root 512 Apr 26 15:45 d1.mbr
-rwxrwxrwx 1 root root 222M Apr 26 15:46 d1p1.img
-rwxrwxrwx 1 root root 1.5G Apr 26 15:54 d1p2.img
-rwxrwxrwx 1 root root 13M May 2 16:07 rec.img.000
-rwxrwxrwx 1 root root 3.4G May 2 16:22 sys.img.000
[/CODE] -
What’s worrying me is the fact that you have d1p1.img d1p2.img AND rec.img.000 and sys.img.000
What type of image is this? Multi-Part Single Disk, or Single Disk Resizable?
-
[quote=“Tom Elliott, post: 26480, member: 7271”]What’s worrying me is the fact that you have d1p1.img d1p2.img AND rec.img.000 and sys.img.000
What type of image is this? Multi-Part Single Disk, or Single Disk Resizable?[/quote]
“NTFS Only, Resizable” and Windows 8 for OS.
-
[quote=“Mr.Myagy, post: 26482, member: 23824”]“NTFS Only, Resizable” and Windows 8 for OS.[/quote]
From what I can see, it looks like that image is now a container for both a Windows 7 (or possibly image as multipartition single disk (the d1 files) AND single disk resizeable. It seems like it hasn’t created the partition tables properly and for that I have no quick answer.
A few questions, when you uploaded the file, did it display which partitions it was copying? My guess is Windows 8 image a slightly off at the moment because you’re using Windows 8 in MBR mode, while the “mbr” from windows 8 within the init is not set to give the 100mb part and the data part. Just my guesses at whats wrong. Maybe try changing the OS to Windows 7 and try deploying the task again?
Deploy, for the purposes of FOG is a generic term meaning -> sending of a task. Much as a squad of solders get’s deployed to various regions in the world. Whether they’re deployed from the US to IRAQ, or from Germany to the US. Download means to put the image on the client, Upload means to grab the image from the client.
-
[quote=“Mr.Myagy, post: 26478, member: 23824”]need2, this is a clean 0.33b install, but I updated it several times. I can do a fresh install if that is the issue.[/quote]
Just to clarify, I was asking if this was an OEM Windows install you were imaging or a clean install you did yourself from an install medium.
-
[quote=“Tom Elliott, post: 26484, member: 7271”]From what I can see, it looks like that image is now a container for both a Windows 7 (or possibly image as multipartition single disk (the d1 files) AND single disk resizeable. It seems like it hasn’t created the partition tables properly and for that I have no quick answer.
A few questions, when you uploaded the file, did it display which partitions it was copying? My guess is Windows 8 image a slightly off at the moment because you’re using Windows 8 in MBR mode, while the “mbr” from windows 8 within the init is not set to give the 100mb part and the data part. Just my guesses at whats wrong. Maybe try changing the OS to Windows 7 and try deploying the task again?
Deploy, for the purposes of FOG is a generic term meaning -> sending of a task. Much as a squad of solders get’s deployed to various regions in the world. Whether they’re deployed from the US to IRAQ, or from Germany to the US. Download means to put the image on the client, Upload means to grab the image from the client.[/quote]
When uploading, it uploaded /dev/sda1 which seemed legit (windows install disk reports ~350mb) because it finished in a quite a short while (don’t have the exact time, and I’m not very good with time estimates as my spouse is telling me), then we had /dev/sda2 which reported to upload just over 9GB (this being the reason I was asking earlier about compression). I did pay attention, and it didn’t throw any errors. If it matters with anything, the Windows in question is a 8.1 sysprep’ed and shutdown. As for the deployment part, /dev/sda1 seems to work fine, but when it reaches /dev/sda2, Partclone loads, then throws a 2 words error (can’t remember exactly) from outside Partclone, Partclone dies, then I get the “no such file or directory” message.
If it helps in any way, I am willing to provide access to the machines, or send you any information that might help in any way with closing this issue. -
[quote=“need2, post: 26488, member: 21891”]Just to clarify, I was asking if this was an OEM Windows install you were imaging or a clean install you did yourself from an install medium.[/quote]
Clean Windows install using the trial ISO downloaded from MSDN.
-
If possible I would recommend doing a basic wipe on that drive and reinstalling. For some reason it looks like some crap partitions are left over.
-
[quote=“need2, post: 26492, member: 21891”]If possible I would recommend doing a basic wipe on that drive and reinstalling. For some reason it looks like some crap partitions are left over.[/quote]
This was a fresh install. Fresh, as in…I just got to setup the user, installed .net and fog service, sysprep’ed and that’s it. As for the HDD configuration: it’s a 80GB hard drive, out of which I chose to install Windows on only 20 of them, leaving the rest unformatted. I did this, because I am planning to deploy this image on 11 machines, and even thou they all have 80 GB hard drives, they are different brands, so there might be some small differences, and I read in another thread that you should always be careful not to deploy an image that is bigger than the hdd (which kind of makes sense).
-
So, as Windows 8.1 is fairly new and not thoroughly tested with resizable images, I’d recommend maybe switching the image type to Multi Partition Single or All disk. I don’t know how the win8.mbr file was created, but from the sounds of it, it only contains one partition in total, which is why you’re seeing the /dev/sda2 not found error. I didn’t make the win8.mbr, so I don’t know all the specifics.
It does, however, sound likely that you probably need to do another fresh install. I know it’s more work, but it’s the best I can give you for now.
-
Sure, but was that drive used for previous Windows installations? It just seems like there was junk partition info left on the drive from the images that were being made on the server. Also, if you are doing an NTFS Resizable partition, it doesn’t matter what the original partition size is, only how much of it is used by data.
EDIT: Tom’s post gave me an idea. I assume this is a Windows 8 install that you upgraded to 8.1? 8.1 is not a service pack, its almost like an OS reinstall that you happen to get to keep your programs and files through. I would not be shocked if the 8.1 upgrade does some partition junk during its upgrade process to give it some fallbacks in case it fails during its install.
-
[quote=“need2, post: 26497, member: 21891”]Sure, but was that drive used for previous Windows installations? It just seems like there was junk partition info left on the drive from the images that were being made on the server. Also, if you are doing an NTFS Resizable partition, it doesn’t matter what the original partition size is, only how much of it is used by data.
EDIT: Tom’s post gave me an idea. I assume this is a Windows 8 install that you upgraded to 8.1? 8.1 is not a service pack, its almost like an OS reinstall that you happen to get to keep your programs and files through. I would not be shocked if the 8.1 upgrade does some partition junk during its upgrade process to give it some fallbacks in case it fails during its install.[/quote]
I didn’t update from 8 to 8.1. I installed 8.1 from the ISO. As for previous Windows installations, yes, there were, but I can’t see how those affected this. Granted, I didn’t do a low level format, but I did recreate the partitions every time I reinstalled WIndows.
-
[quote=“Tom Elliott, post: 26496, member: 7271”]So, as Windows 8.1 is fairly new and not thoroughly tested with resizable images, I’d recommend maybe switching the image type to Multi Partition Single or All disk. I don’t know how the win8.mbr file was created, but from the sounds of it, it only contains one partition in total, which is why you’re seeing the /dev/sda2 not found error. I didn’t make the win8.mbr, so I don’t know all the specifics.
It does, however, sound likely that you probably need to do another fresh install. I know it’s more work, but it’s the best I can give you for now.[/quote]
I have no problem reinstalling. I am (intermittently) trying to do this for the last 2 weeks now, so you can image I did quite some reinstalls. However, I would like to help the project if I can. I will come back with the results (probably tomorrow) from the “Multiple partition image - single disk”, as for the current problem, if you need any log, file, etc. I am more than happy to provide.
-
[quote=“Mr.Myagy, post: 26500, member: 23824”]I have no problem reinstalling. I am (intermittently) trying to do this for the last 2 weeks now, so you can image I did quite some reinstalls. However, I would like to help the project if I can. I will come back with the results (probably tomorrow) from the “Multiple partition image - single disk”, as for the current problem, if you need any log, file, etc. I am more than happy to provide.[/quote]
I appreciate the patience and am, almost always, approachable and will try to help. If I’m mean, I’m sorry, but it’s just who I am.
I don’t think I need anything else for right now though. The part that weirds me out is that the image folder contains an MPS image AND a SDR (Single Disk Resizable) image. That might be because of my tweaking of the FOGFTP so it may be a nonissue, so long as the image type is correct it shouldn’t matter.