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

    Add hard drive/storage space to FOG Server

    Scheduled Pinned Locked Moved
    FOG Problems
    2
    4
    2.0k
    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.
    • J
      JTSafran
      last edited by

      All,

      I am looking for some guidance on adding a secondary hard drive to a fog server. I have added a 1TB drive, formatted it as EXT3, and mounted it as /images2. I want this to be additional storage, not replicating /images. I set up the server without LVM, so…

      Do I just create a new storage group and then a new storage node that connects to that partition? If so, is the new storage node considered a master node? Or is there another procedure?

      Thanks, in advance, for any help.

      1 Reply Last reply Reply Quote 0
      • G
        Gilou
        last edited by

        Use LVM then… set up LVM on the new disk, add a LV called images, move everything from /images in there, and then mount it in /images… If you don’t have a specific partition for /images you won’t be able to extend it over that, but you’ll have some room to make it happen (like reclaim the space, create a partition on the first hdd, and lvextend on it).

        1 Reply Last reply Reply Quote 0
        • J
          JTSafran
          last edited by

          I do have /images set up as its own partition on the first hard drive. I was hoping to keep them separate to avoid downtime that would be involved in moving all of the data.

          So there is no way to add a second partition (ie: /images2) on the same server?

          1 Reply Last reply Reply Quote 0
          • G
            Gilou
            last edited by

            well, without LVM, no, if you have a separate dir… it’s gonna get annoying for NFS… and using a storage node is probably not a good idea.
            But copying data over to the LV, then umounting /images, remounting the LV on /images, then lvextending, that’s less than a minute of downtime if done properly… 🙂

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

            214

            Online

            12.0k

            Users

            17.3k

            Topics

            155.2k

            Posts
            Copyright © 2012-2024 FOG Project