Adding larger partition
-
Hi All,
So I’ve just added a second virtual disk to my fog system and I’m having some issues getting my systems to actually begin the imaging process.
DHCHP starts and runs fine, I’ve copies .mntcheck to /images and /images/dev.
I’ve copied the existing images over into this new partition of this VM under /images.
The error message I am getting is
Fatal Error: Failed to mount NFS Volume.
Following this obviously doesn’t work otherwise I wouldn’t be posting.
Any help is much appreciated.
-
What OS are you using(ubuntu, CentOS, Redhat, etc) and what version of FOG?
I assume everything worked before added the storage correct?
Did you mount the new volume as /images and /images/dev or is this additional storage?You can try running
chmod -R 777 /images
to set the correct permisssions.Past that until we get more information we can’t help anymore.
-
Fedora, fog version 3748,
Yep everything worked before but I couldn’t update my image as the original partition is full.
The partition is under /dev/xvdb and its mounted at /run/media/root/fedora-expanded
-
Edit: Sorry but I am not a linux “expert” and not great with fedora in general, usually on debian/ubuntu distros. But I think I see what the issues seem to be.
So I am assuming you have /run/media/root/fedora-expanded/images and /run/media/root/fedora-expanded/images/dev?
Have you tried this article https://wiki.fogproject.org/wiki/index.php?title=Adding_Storage_to_a_FOG_Server?
If you want all of your images moved to this new spot and not have the original location it maybe best to set it up like this and make sure the mount points are /images and /images/dev otherwise you need to make many more changes to make everything work. It sounds like just changing your mount point would be easiest and best now that everything is moved to your new drive.
-
@ITSolutions I’ll give this a try and let you know thanks.
-
@Jarli This one may also get you started.
https://forums.fogproject.org/topic/6642/moving-fog-s-images-files-off-the-root-partitionThe key is the bind mount that will let you keep the fog settings the same yet mount over the images folder so your bigger storage.
-
@ITSolutions said in Adding larger partition:
Edit: Sorry but I am not a linux “expert” and not great with fedora in general, usually on debian/ubuntu distros. But I think I see what the issues seem to be.
So I am assuming you have /run/media/root/fedora-expanded/images and /run/media/root/fedora-expanded/images/dev?
Have you tried this article https://wiki.fogproject.org/wiki/index.php?title=Adding_Storage_to_a_FOG_Server?
If you want all of your images moved to this new spot and not have the original location it maybe best to set it up like this and make sure the mount points are /images and /images/dev otherwise you need to make many more changes to make everything work. It sounds like just changing your mount point would be easiest and best now that everything is moved to your new drive.
That did the trick.
Thanks.