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

    Adding local storage via external USB drive

    Scheduled Pinned Locked Moved
    FOG Problems
    2
    4
    2.5k
    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.
    • A
      Axel
      last edited by

      I need to take an image of 2 servers at the end of each month to move off site via a 1TB USB external drive. I want to leave my current images in the “images” folder. How do I add my external USB drive as a local storage option for the FOG server for these 2 servers?

      1 Reply Last reply Reply Quote 0
      • C
        chad-bisd Moderator
        last edited by

        It may be easier to just upload them to the /images folder and then copy/move them to the USB drive.

        If not, you can mount the subfolder for an individual image to an external drive, so that say /images/Server1 mounts to the external drive.


        If you would like to make a donation to the Fog project, please do so [U][COLOR=#0000ff][URL='http://sourceforge.net/dona…

        1 Reply Last reply Reply Quote 0
        • A
          Axel
          last edited by

          ok, so can you point me in the right direction with commands to accomplish this? If I do this then will the image save only on the external drive? I have hardly any room left on the server hard drive.

          1 Reply Last reply Reply Quote 0
          • C
            chad-bisd Moderator
            last edited by

            It should.

            Plug in the USB drive. See where it mounts, usually /media/something. You can cat /etc/mtab to get the device info also, just look for something being mounted to /media/something.

            Make a directory for the server image under /images, something like /images/Server1.

            Mount the device to the folder you just created: sudo mount /dev/usbhdd1 /images/Server1

            See if it works. If so, you can add it to the fstab so it mounts the folder on every boot up. You may also need to use the same usb port each time, but I’m not sure how Linux ID’s the external drive for mounting purposes.


            If you would like to make a donation to the Fog project, please do so [U][COLOR=#0000ff][URL='http://sourceforge.net/dona…

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

            240

            Online

            12.0k

            Users

            17.3k

            Topics

            155.2k

            Posts
            Copyright © 2012-2024 FOG Project