New storage node



  • My default storage (500GB) is rapidly filling up and I would like to add another drive for additional storage. How difficult is that and could someone give me advice on how to accomplish that?



  • Client couldnt mount nfs, so in GUI menu I created a new Node Storage with a new group storage for that node. Now i Can Upload Image on client, but slowly (less that 1Gb/min) without mounting nfs.

    But looking for a solution for my first goal.



  • .mntcheck is in imagesinfo and dev repository too for the NAS.



  • Hi everyone,

    Sorry for my bad English.

    Like John I installed on Ubuntu FOG 0.32 172.16.17.165 and I wanted to add a seperate nfs server.
    To do that, I created a repository mounted on NAS server 172.16.17.160.

    The mount goes well, and well recognize by FOG GUI menu (disk space, everything).
    But when I Upload an image, client can’t mount my FOG server to access the good repository on NAS server (failed to mount nfs ,access Denied, and bad descriptor).

    I checked all the settings FOG and NAS (right password for fog user).

    Here is my /etc/fstab:

    /etc/fstab: static file system information.

    Use ‘blkid’ to print the universally unique identifier for a

    device; this may be used with UUID= as a more robust way to name devices

    that works even if disks are added and removed. See fstab(5).

    <file system> <mount point> <type> <options> <dump> <pass>

    proc /proc proc nodev,noexec,nosuid 0 0
    /dev/mapper/srv–fog1vu-root / ext4 errors=remount-ro 0 1

    /boot was on /dev/sda1 during installation

    UUID=1102578e-557e-41f3-a687-34ca5438006e /boot ext2 defaults 0 2
    /dev/mapper/srv–fog1vu-swap_1 none swap sw 0 0
    /dev/fd0 /media/floppy0 auto rw,user,noauto,exec,utf8 0 0
    172.16.17.160:/DataVolume/imagesinfo /images nfs rw,user 0 0

    (DataVolume is the right path, checked with shownmount)

    Here is my /etc/exports:

    /images *(rw,insecure,no_root_squash,no_subtree_check)
    /images/dev *(rw,insecure,no_root_squash,no_subtree_check)

    restarted my nfs-kernel-server

    exportsfs -a done

    Checked .mntcheck in /images and /images/dev

    I red a lot this week about fog, and its better to use NFS on FreeNAS server and install FOG in Server Node mode, but I can’t Actually, so Im looking for a solution, using FOG + NAS



  • [quote=“chad-bisd, post: 4566, member: 18”]A new storage node will contain the same images as your “main” server. It doesn’t really extend your storage space, but increases the amount of hosts you can deploy at a time.[/quote]

    Besides setting up a new storage node you would have to create a new storage group as well and assign the new storage node to that group. Then you would have two different storages with different images on it. I tested this a couple of month ago and it was no problem.



  • Never mind - I downloaded gparted and booted to that. Held my breath the entire time, but everything is still there!



  • I am a newbie to linux, but Fog has been WONDERFUL for our school - if I wanted to choose option #1
    "1. Increase the size of the partition on which /images is stored."
    which part of the Fog instructions would I use? I am afraid of losing what I have by doing something wrong.
    I am running on VMware, and added the space to the hard disk there, I just need to know what to do to add it to my partition.

    Thank you in advance!


  • Moderator

    If you have another NFS server (linux or other OS that can export NFS volumes) then you just need to export the folder and then mount it on the Fog server as /images.

    It will have to be read and write, and you’ll need to create your .mntcheck files in the root and dev folders.



    1. Store your images on a seperate NFS server that has more space than your fog server.
    2. Store individual images on seperate disks/NFS servers, and mount them into the /images/[imagename]

    I think this what I am asking, I just don’t know how to get there. How do you create a separate NFS server?


  • Moderator

    A new storage node will contain the same images as your “main” server. It doesn’t really extend your storage space, but increases the amount of hosts you can deploy at a time.

    There are a few ways to extend the amount of storage space available for Fog.

    1. Increase the size of the partition on which /images is stored.
    2. Add a new, “larger” partition, move /images to it
    3. Store your images on a seperate NFS server that has more space than your fog server.
    4. Store individual images on seperate disks/NFS servers, and mount them into the /images/[imagename]
    5. Use an external disk to move seldom used or stale images onto until they are needed again. Leave the image definition in fog, just move the image file or folder to a seperate disk.

    These are the ways I know about, but someone else could have more experience.


Log in to reply
 

360
Online

38982
Users

10712
Topics

101678
Posts

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