Upload and Deploy Images from 2 HDD



  • Hi everyone,

    I have a fog server working on a 150 Go HDD, and there’s only 10 Go left. So I have another HDD here with 250 Go, that i’d like to add to the server. Not switching images from the first to the second one, I want to work with both (uploading and deploying images), and obviously was wondering if this was possible. I’ve read some thread talking about creating a new storage group with a new storage node and then change some config files but this wasn’t exactly to work with both HDD. So, is that possible ?

    Thanks !


  • Developer

    You could try the second link I posted you, it covers specifically adding a second hard drive rather than replacing.

    [url]http://fogproject.org/forum/threads/how-to-add-a-second-hard-drive-to-fog-server.4383/[/url]

    I only posted this information so you could give it a shot. I personally haven’t ventured into increasing my drive space, or adding another drive.

    You alternatively could use the Web GUI after you mount and format the new drive to add a storage node. It all depends on how you want to set it up.

    I posted these here in case I misunderstood what you were trying to convey (which I did :) )



  • I’ll check this out, but just seeing the first method, it seems like you’re coping the data from the small HDD to the new one. My question was : Was it possible to use both HDD, not moving the files from one HDD to another. So I can get a total of 350 Go instead of only my 200 Go.


  • Developer

    [quote=“G4Bb, post: 22534, member: 22058”]Hi everyone,

    I have a fog server working on a 150 Go HDD, and there’s only 10 Go left. So I have another HDD here with 250 Go, that i’d like to add to the server. Not switching images from the first to the second one, I want to work with both (uploading and deploying images), and obviously was wondering if this was possible. I’ve read some thread talking about creating a new storage group with a new storage node and then change some config files but this wasn’t exactly to work with both HDD. So, is that possible ?

    Thanks ![/quote]

    I’ve never used the “Image Store” section of the FOG web GUI, but I imagine with the proper information you can set up another image store group and node through the GUI.

    Another option is from the Linux install…

    [media=youtube]69gJvHjTKNQ[/media]

    Find device name
    [code]
    sudo dmesg
    [/code]
    or
    [code]
    sudo fdisk -l[/code]

    partition disk on /dev/sdb

    (NOTE THE LINES UNDER THE FOLLOWING COMMAND ARE THE VARIABLES TO BE RETURNED)
    [code]sudo fdisk /dev/sdb <enter>
    n
    p
    l
    <enter>
    <enter>
    t
    83
    w[/code]

    format filesystem
    [code]sudo mkfs.ext4 /dev/sdb1[/code]

    make new /images directory
    [code] sudo mkdir /images[/code]

    mount new harddirve /dev/sdb1 to /images
    [code] sudo mount /dev/sdb1 /images[/code]

    change permissions
    [code] sudo chmod -R 777 /images[/code]

    auto mount the new hard drive use UUID
    [code] sudo blkid[/code]

    [code] sudo vlm /etc/fstab[/code]

    UUID=<UUID_of_you_nw_partition> /images ext4 errors=remount=ro 0 1
    reboot

    <SOURCE>
    [url]http://fogproject.org/forum/threads/how-to-install-a-second-drive-and-store-images-there.25/#post-67[/url]

    Found this too, don’t know if it will work for you or not… [url]http://fogproject.org/forum/threads/how-to-add-a-second-hard-drive-to-fog-server.4383/[/url]


  • Developer

    This post is deleted!

 

416
Online

41.5k
Users

12.0k
Topics

113.3k
Posts