Mount System Error
-
I recently added another mounted drive to my FOG Server to host all the images I moved the images directory over and verified the permissions were correct. The original \images directory has a SIM link to go to: /mnt/md0/images. I set this in the .fogsettings file and in the FOG Web UI, and also in the mount file for the image path/ftp path.
When I go to deploy an image it gives this error:
https://dl2.pushbulletusercontent.com/wv7nY7q6APY1TMAMmu1RCFHnzdUYftbm/20180515_151442.jpgThe OS is able to go to the directories for the images so the do exist. And the Images are showing the new path based off the sim path to the mounted drive.
https://dl2.pushbulletusercontent.com/jErrkWWAUQTlHIXhigBX3NBy3XJC9DYb/image.pngAlso here is how I set this in the storage settings.
https://dl2.pushbulletusercontent.com/qTJitwCvJvfTZ4vJJKoVgcvOHGJ1NSB5/image.pngI did use these references when I added this drive for the images directory.
• https://wiki.fogproject.org/wiki/index.php/Moving_your_images_directory/Adding_Storage_to_the_Images_directory
• https://wiki.fogproject.org/wiki/index.php?title=Change_NFS_location
• https://forums.fogproject.org/topic/9594/change-default-images-directory/11Any ideas?
-
@wayne-workman
That worked! -
@imagingmaster21 You’ll want to run through this: https://wiki.fogproject.org/wiki/index.php?title=Troubleshoot_NFS
-
If you created a sym link (or even better mounted the new disk over /images, then you shouldn’t need to change anything. The mount should be transparent to fog. Understand this tutorial may be a bit more than you need since I’m moving all dynamic files off the root partition including the images and snapins. The general outline should give you an idea
The basic steps are outlined here: https://forums.fogproject.org/topic/11048/moving-fog-s-images-files-off-the-root-partition-2017-edition -
@george1421
So what is the process if FOG is installed. -
@imagingmaster21 You can do it after fog is installed, by:
- Temporary mounting your new disk (i.e. /dev/sdb) over /mnt
- Copy the files from /images to /mnt
- Unmount /mnt
- Remount /dev/sdb1 over /images
- Update fstab to auto mount the new disk over /images
-
@wayne-workman
That worked!