• Recent
  • Unsolved
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Register
  • Login
  • Recent
  • Unsolved
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Register
  • Login

New FOG server with different storage size

Scheduled Pinned Locked Moved Unsolved
FOG Problems
2
2
585
Loading More Posts
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • G
    greenfog
    last edited by Apr 27, 2017, 4:18 AM

    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!

    1 Reply Last reply Reply Quote 0
    • W
      Wayne Workman
      last edited by Apr 27, 2017, 2:03 PM

      @greenfog said in New FOG server with different storage 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?

      I think you’re off track here - fog doesn’t care what the disk size is that it’s installed on. That value is dynamically calculated, it’s not static. Go ahead and do your DB Import - you will need to change some fields in the web GUI after you do this, all of them are laid out in this article: https://wiki.fogproject.org/wiki/index.php?title=Migrate_FOG They concern updating passwords and IP addresses from old to new.

      Please help us build the FOG community with everyone involved. It's not just about coding - way more we need people to test things, update documentation and most importantly work on uniting the community of people enjoying and working on FOG!
      Daily Clean Installation Results:
      https://fogtesting.fogproject.us/
      FOG Reporting:
      https://fog-external-reporting-results.fogproject.us/

      1 Reply Last reply Reply Quote 0
      • 1 / 1
      1 / 1
      • First post
        2/2
        Last post

      216

      Online

      12.0k

      Users

      17.3k

      Topics

      155.2k

      Posts
      Copyright © 2012-2024 FOG Project