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!


  • Moderator

    @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.


Log in to reply
 

Looks like your connection to FOG Project was lost, please wait while we try to reconnect.