Second Drive Fog Server
-
Trying to add a second drive to my fog server and move my images to it. Following https://wiki.fogproject.org/wiki/index.php/Add_%26_Extend_a_2nd_Virtual_HDD. I have successfully added the second drive and formatted it as sdb, moved the image files to it.
.
added the line to fstab.
I am getting errors thought when trying to download and upload images: “Count not mount images folder (/bin/fog.download)”
Did I miss anything, or do you see anything out of the ordinary?
-
@monasmith529 Well your new drive is mounted as
/Images2
… The tutorial you posted describes in detail how to mount a second disk, move the files and then remount that new drive as/images
again. Guess you missed that last point. -
@Sebastian-Roth ok…attempt number 2. Thanks
-
FYI @george1421 wrote that stuff. IMO he was very thorough.
-
@Wayne-Workman yes he was…and I now found my error and step I missed now that I am doing it a second time. My fingers move faster than my brain sometimes.
-
Don’t forget that case IS important, /Images2 is not the same as /images
The idea is to mount the /dev/sdb1 partition over a temp directory, move the contents of /images to that temp directory, unmount the temp directory and then mount /dev/sdb1 over /images. That way there is no need to change the FOG settings one bit, its all done in the linux realm.