• Recent
    • Unsolved
    • Tags
    • Popular
    • Users
    • Groups
    • Search
    • Register
    • Login
    1. Home
    2. greenfog
    3. Posts
    G
    • Profile
    • Following 0
    • Followers 0
    • Topics 4
    • Posts 16
    • Best 1
    • Controversial 0
    • Groups 0

    Posts made by greenfog

    • New FOG server with different storage size
      Server
      • FOG Version: 1.2.0
      • OS: Ununtu 14.04
      Description

      I’ve got an old FOG server running version 1.2.0 with a 250GB Hard drive. The problem with that was that my colleague used a fixed disk (virtual machine on ESXi) with that so I cannot extend the size anymore. I have just created a new FOG server with the same version and was able to copy all the images from my old FOG to the new FOG using scp method (https://wiki.fogproject.org/wiki/index.php?title=Migrate_images_manually). The next thing I did was to restore my database from my old FOG server and imported it on to the new server, not realizing that my old server has a smaller disk size. Is there any way for me to import the database and maybe manually edit the fog.sql to specify the new hard drive size? Or maybe, is there an easier way for me to do this ?

      By the way, my web connection does not display any Images yet on the new FOG server so I will need help in updating that as well. Maybe you can point me in the right direction.

      Thanks for the help!

      posted in FOG Problems
      G
      greenfog
    • RE: FOG Server GUI disk info not the same as Gparted disk info

      @Tom-Elliott, @Wayne-Workman

      Thanks for your help guys, great stuff. I was able to increase my disk size the way I want it too.

      0_1479159136765_upload-ea588445-3e1c-4913-842a-09aebff13f1a

      0_1479159145646_upload-2fd09ea2-6d4f-4ca7-b1ab-64e515b86943

      posted in FOG Problems
      G
      greenfog
    • RE: FOG Server GUI disk info not the same as Gparted disk info

      @Tom-Elliott

      Thanks Tom, I’ll try to do just that. I’ll let you guys know how it goes.

      posted in FOG Problems
      G
      greenfog
    • RE: FOG Server GUI disk info not the same as Gparted disk info

      @Wayne-Workman

      You are correct in saying that this is a virtualized Fog server with just one disk. I also have snapshots running off it at the moment.

      posted in FOG Problems
      G
      greenfog
    • RE: FOG Server GUI disk info not the same as Gparted disk info

      @Wayne-Workman said in FOG Server GUI disk info not the same as Gparted disk info:

      I assume you want to expand your disk because the images you have presently on your fog server, you want to keep. I also assume this server is virtualized, since you only have one disk listed in gparted. I’d first recommend snapshotting this server if you’ve not done so. You might think about copying the images directory to somewhere for safety also.

      Then read through this:
      http://www.geoffstratton.com/expand-hard-disk-ubuntu-lvm

      I think you can probably start in that article at the step where they are extending root’s logical volume with all available free space.

      Thanks for the reply Wayne. Unfortunately, the Free space that I was trying to extend to was already done by booting to a GParted LiveCD and expanded from there. What I am a little bit confused about is why the OS partition does not recognize the new partition size of 250GB. It still displays the old size of 183GB and I’ve got like 175GB worth of images that I do not want to be removed.

      I do not want to reinstall the whole FOG server again, if possible as it took me quite a while to do it and move the images back. Is there a way for me to combine the LV size for my root and swap_1? Is it possible? If yes, how do I do it? Could the swap_1 be the reason why my main disk size is still showing as the old disk size?

      0_1479095293522_upload-78bb8264-e96b-4809-8aa8-a3635f04cb8e

      posted in FOG Problems
      G
      greenfog
    • FOG Server GUI disk info not the same as Gparted disk info
      Server
      • FOG Version: 1.2.0
      • OS: Ubuntu 14.04 LTS
      Client
      • Service Version:
      • OS:
      Description

      My fog server does not seem to get updated or synchronized on its total disk capacity after extending the capacity from 183GB to 250GB using Gparted LiveCD. .Is there anything I can do do get it updated on the Web console or on the Ubuntu’s filesystem as well? I am a noob in the world of Linux-based machines so please bear with me.

      0_1478837336229_upload-169cf329-0ed1-4f54-9ae9-ef37a0b6d2d7

      0_1478837306839_upload-d219bd36-bd69-4c55-b57e-7b2c1d7cc99b

      0_1478837419679_upload-90511c4a-5120-49b1-a3b0-9327d4fc5c87

      posted in FOG Problems
      G
      greenfog
    • RE: Fog 1.2 under Ubuntu 14.04 LTS install/upgrade DB schema error

      You are a lifesaver and this just made my day. Thank you very much for pointing me to that forum. 🙂
      @dylan

      posted in General
      G
      greenfog
    • RE: Manually import image files on newly installed Fog server

      @Wayne-Workman

      Notebook is an HP Elitebook Folio 1040 G2 with 128GB SSD. It is in UEFI mode. The image size is around 17GB. Notebook is laid out as MBR.

      posted in FOG Problems
      G
      greenfog
    • RE: Manually import image files on newly installed Fog server

      @Wayne-Workman

      below is the screenshot Wayne. I was trying to download the image from my fog to a new notebook so there is definitely an HDD drive on that which is not blank as well.

      0_1454646032115_upload-e7e2b2ae-9334-45cd-96fe-026d19df4872

      posted in FOG Problems
      G
      greenfog
    • RE: Manually import image files on newly installed Fog server

      Hi,

      I actually did try some of the tips suggested on the Fog troubleshooting site but none of them worked for me. Below are some screenshots from my setup and the bootup where it loops on reboot process. The last screenshot just shows database updated then it reboots and the task is automatically removed from Fog without actually downloading the image to the device

      0_1454640963862_upload-d6e1c3c6-c913-441e-81bb-a506c2801fa0

      0_1454640978207_upload-19312035-a85f-465a-bd90-de1ddfa2f240

      0_1454640991325_upload-8034c292-a693-45de-8cca-a106f0c7e603

      0_1454641042979_upload-62b31cbd-1cb5-49f8-9f3e-b252fe22ee20
      0_1454641000839_upload-1383df2d-353e-4fdf-9835-6e4c03ee59d2

      posted in FOG Problems
      G
      greenfog
    • Manually import image files on newly installed Fog server

      I have a fog server 1.2.0 running on Ubuntu desktop 14.04. I was able to upload a coupple of images previously. After a few days, I got an update, don’t know which, wherein when I tried to login to Fog web console, I got the Database schema update. I tried to update it but I kept getting failures so I decided to create a different Fog server, same versions with same OS. I manually copied the /images folder to an external HDD. I then copied back the contents of the /images from my USB hard drive to the new one. I don’t have a backup of my MySQL database. I was able to login to Fog web console and tried to recreate the same image name from Images. It shows the Image sizes on server which are correct but my Image sizes on client are all zero. I tried to download the image to a new device but it just kept on restarting saying task completed.

      Have I missed any steps here or done something wrong? Is there a way for me to import my old images manually?

      posted in FOG Problems
      G
      greenfog
    • RE: Fog 1.2 under Ubuntu 14.04 LTS install/upgrade DB schema error

      @Tom-Elliott

      would it be possible to simply re-install MySQL without affecting the images I was able to successfully upload the first time?

      posted in General
      G
      greenfog
    • RE: Fog 1.2 under Ubuntu 14.04 LTS install/upgrade DB schema error

      @Tom-Elliott

      still some space left

      Filesystem			                 Size	Used	Avail	Use%	Mounted on
      /dev/mapper/ubuntu--vg-root	98G	81G	13G	87%	/
      none				4.0K	0	4.0k	0%	/sys/fs/cgroup		
      udev				486M	4.0K	486M	1%	/dev
      tmpfs				100M	1.2M	99M	2%	/run
      none				5.0M	0	5.0M	0%	/run/lock
      none				497M	152K	497M	1%	/run/shm
      none				100M	44K	100M	1%	/run/user
      /dev/sda1			236M	38M	186M	17%	/boot
      

      Mod edited to use code box.

      posted in General
      G
      greenfog
    • RE: Fog 1.2 under Ubuntu 14.04 LTS install/upgrade DB schema error

      @Tom-Elliott

      I used the same command as what you typed in and it kept on saying failed after a few seconds

      posted in General
      G
      greenfog
    • RE: Fog 1.2 under Ubuntu 14.04 LTS install/upgrade DB schema error

      thanks for the tip. MySQL password was left blank when I installed it initially and haven’t changed it so I’m not sure how to make the password for mysql correct or synchronized. When I tried to restart Mysql service, I got a failure in service start. I was able to backup and copy the ib_logfiles but when I tried to restart mysql, (unknown job/instance)

      posted in General
      G
      greenfog
    • Fog 1.2 under Ubuntu 14.04 LTS install/upgrade DB schema error

      Hi,

      I am a newbie to fog server so please bear with me as I am not that familar with unix/linux commands. I was able to install FOG 1.2.0 under Ubuntu 14.04 LTS through some tutorials you guys posted. I was able to upload and download images as well without any problems. Since I was running out of space, I tried to increase the virtual disk space (thru vmware). But when I tried to go to my fog web console, I received the notification saying my database schema is not updated. I tried to click on the Install/Upgrade but got multiple errors. (Update ID reached all the way to 113 with errors.

      How do I try to fix this without re-installing the whole thing since I already uploaded multiple images to fog? When I try to run the command to backup the database from the ubuntu’s terminal, I get error 2002: can’t connect to local MySQL server through socket ‘var/run/mysqld/mysqld.sock’ (111) when trying to connect. My default MySQL password was blank. I tried to locate the said file on /var/run/mysqld and I can see it inside.

      Any help would be greatly appreciated.

      Cheers,
      greenfog

      posted in General
      G
      greenfog
    • 1 / 1