+ Post New Thread
Results 1 to 3 of 3
O/S Deployment Thread, FOG repository question in Technical; I currently have a Fog server with a repository. The repository is currently just about full (only 80GB drive) I ...
  1. #1
    JoeBloggs's Avatar
    Join Date
    Jun 2010
    Thank Post
    Thanked 75 Times in 52 Posts
    Rep Power

    FOG repository question

    I currently have a Fog server with a repository. The repository is currently just about full (only 80GB drive) I was looking at a 500GB drive and simply cloning the existing repository on to the new disk.

    My questions are;

    Will Fog recognise a 500GB HHD for a repository?

    Will it work after being simply cloned on to the new disk with it being bigger etc?

    Any help much appreciated.

  2. #2

    Join Date
    Jan 2008
    Cheshire, UK
    Thank Post
    Thanked 60 Times in 42 Posts
    Rep Power
    From memory I did something similar. I tested FOG on in a machine with a small disk and found it to be useful, rather than reinstalling I added an extra disk for the repository.

    It really depends on how good you are with Linux about how easy this is to follow. I don't a FOG server set up at home (I deleted it 2 days ago, doh), but I will give instructions based on what I would do in Slackware. If you are logged on as yourself you may need to either add "sudo" before each command or "sudo su" to make each command run as root.

    Install the new disk into the server.
    Partition it.
    cfdisk /dev/sdb

    Format it, xfs or ext4 are probably two of the best for this.
    mkfs -t xfs /dev/sdb1

    Mount it somewhere temporarily.
    mkdir /tmp/newdisk
    mount /dev/sdb1 /tmp/newdisk

    Copy the current image files onto the new disk. If you have subdirectories within images then use cp -r instead.
    cp /images/. /tmp/newdisk

    Put the kettle on and have a brew, depending on how many images this could take a few minutes. Once you are happy the copy was successful, and you may want to make an additional backup just in case.

    Delete content of the old images directory.
    rm /images/*

    Unmount the new disk from its temporary location and mount it as /images.
    umount /tmp/newdisk
    mount /dev/sdb1 /images

    You should now be able to image machines from your new disk.

    Modify /etc/fstab so that the disk mounts to the correct place on boot up. I like vi as an editor, but pick your favourite.
    vi /etc/fstab

    copy the formatting of exiting fstab entries, but you will need something like
    /dev/sdb1 /images xfs defaults 1 1

    I have assumed you have SATA disks, if they are IDE then you will need /dev/hdb (or hdc or hdd depending upon the number of drives in the machine).

  3. Thanks to sjatkn from:

    3s-gtech (25th August 2010)

  4. #3

    3s-gtech's Avatar
    Join Date
    Mar 2009
    Thank Post
    Thanked 599 Times in 538 Posts
    Rep Power
    I'll need to do this at some point, many thanks for your write-up!

+ Post New Thread

Similar Threads

  1. IMS Repository access in Moodle
    By BarryWAaMC in forum Virtual Learning Platforms
    Replies: 0
    Last Post: 15th March 2010, 11:02 AM
  2. Question about install of FOG imaging software
    By swpmre in forum How do you do....it?
    Replies: 8
    Last Post: 10th February 2010, 09:02 AM
  3. [CentOS] RPM Repository for Scientific Computing
    By somabc in forum *nix
    Replies: 0
    Last Post: 3rd December 2009, 01:44 PM
  4. [Fog] Fog Documentation: How to delete a group of computers in FOG
    By ssx4life in forum O/S Deployment
    Replies: 1
    Last Post: 9th November 2009, 01:59 PM
  5. MSI repository
    By edie209 in forum Comments and Suggestions
    Replies: 30
    Last Post: 11th September 2006, 08:26 PM

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts