could not complete task /bin/fog/upload
-
hi all,
trying to capture an image and i see the partclone coming up and capturing the disks and it says its captured it succesfully as when i go on the fog web gui, i see the image size but then all of a sudden i get the below pic come up on the pc
thanks,
rob -
Solved lol
I did a
Mkdir /mnt/raid6/images
Rsync -a /images /mnt/raid6/images
Obviously I put it in etc/exports
Just copy and pasted the images lines
-
@robertkwild While you can mess with the storage location in the filesystem I would say it’s way easier you just mount that partition that you have in
/mnt/raid6/
directly into/images/
… -
@Sebastian-Roth do you mean a soft link
ln -s /images /mnt/raid6/images
but only thing is my images dir is only 50g but my mnt raid6 images is 3.4tb
-
@robertkwild said in could not complete task /bin/fog/upload:
do you mean a soft link
ln -s /images /mnt/raid6/images
but only thing is my images dir is only 50g but my mnt raid6 images is 3.4tbNo I don’t mean using a soft link. Just mount your 3.4tb raid6 device directly in
/images
folder. Before you do that make sure you don’t have any stuff in there because the mount will hide those. Probably just rename/images
to/images_bak
and create a fresh empty directory to mount your raid6 into. Then change/etc/exports
and also correct all the locations in the FOG web UI back to/images
.I am not saying you need to do this. Probably things will run just like you have it right now. Just saying that there is a different and maybe cleaner way of setting it up.
If this was setup this way be someone else you might better leave it like it is to not break it all again.
-
so you mean in /etc/fstab do this @Sebastian-Roth
/dev/md6 /mnt/raid6 ext4 defaults 0 0
do
/dev/md6 /images ext4 defaults 0 0
-
ohhh, so once i mount my raid in images, your thinking re run the setup again and it will put all the files folders in images?
-
@robertkwild said in could not complete task /bin/fog/upload:
do
/dev/md6 /images ext4 defaults 0 0
Yes, this is kind of what I mean. But depending on how this was initially setup you might need to adjust things a bit and move stuff.
ohhh, so once i mount my raid in images, your thinking re run the setup again and it will put all the files folders in images?
No. The FOG installer won’t be able to find your existing images and move it to the right place. You need to manually do this and also adjust the configs! If you don’t feel confident to just o this on your own you better leave things as they are right now.
-
ok job done.
just renamed the images dir to something else, made a new images dir, in fstab mounted the raid6 in the images dir and re ran the setup shell script
i did a capture and a deploy and all is now good
thank you all for your help!!!