Moving Image location to another drive
walkerit last edited by
I found several different instructions online on how to move the Image folder from root to another drive, i mistakenly under estimated the size requirement for the amount of images we would need.
I added another drive in vmware and was successful in moving the images folder to the new drive, though even after giving ownership to the fog account, adding permissions to the folder and updating the share location in the fog console i get a permission denied error when pxe booting.
it will show the location and say permission denied. I am using the latest Debian and fog 1.5.3 . I am using the mv command to move it and both chown and chmod to make changes to permissions i did try to create a group for the folder and add the fog account to it but with no success. for the time being i have moved the image folder back so i can still image machines.
I am attempting to create a storage server also to see if i can just host the images there, but the installer crashes the operating system every time i get to “downloading inits, kernels and the fog client”
flipwalker last edited by
@walkerit To expound a bit on @Quazz 's comment, I ran into this yesterday myself. There’s two different config locations that I found needed to be updated. One of them I’m led to believe will only come into play if you update the server, but the other (export? https://wiki.fogproject.org/wiki/index.php?title=Change_NFS_location) is what was causing my permission issues.
Hope that clears it up when you do change your storage location.
Glad to hear you resolved your problem. For future reference, I think in your case the permission denied was due to not updating the NFS mounting location.
walkerit last edited by
so i fixed my issue, but not how i thought i was going to. I was unaware though learned that i could delete and recreate the linux-swap. Being this was on a VM i added the extra space and the swap was in the middle so i could not resize the partition. I ended up using gparted to delete the swap, change the partition size, and recreate the swap i now have nearly a TB of space and should be good to go.
One word of warning if you did something like me and tried to create a second drive and used /etc/fstab to mount the second drive on boot you will need to remove this change before reboot because otherwise you will learn what debian emergency mode is.