Ok, long story short… Had fog 1.2.0 in Ubuntu 13.10 server, working well under ESXI as a VM with 2 vdisk. I had a 16Gb along with 4Tb running on 4 X 3Tb RAIOD0 drives that I used for images ( /dev/sdb1 mounted to /images )
Before anyone freaks out seeing RAID0, I also backup to 4Tb running on another 4 X 3Tb RAID0. To me it’s all about the speed if you can afford the hardware. I would risk losing one image in worst case if I had a new image during the day with a disk failure after, and I’m totally good with that. I backup nightly to a separate DAS
Started having issues with an SVN upgrade, just wouldn’t work… Cleanup SVN issues, etc… So I tried an upgrade with Ubuntu 13.10 to 14.04, as I was reading about issues with earlier versions of fog that had been upgraded. I started with 1.0.0 and moved my way up slowly as I don’t touch it unless I have an issue of a feature is new that I need. FIgured Windows 10 may change things, so lets get updated.
Anyway, upgrade went to hell in a hand bag, php5 failed to update locking up the server. Forced to restart it ( Crash it basically in an upgrade ) This caused it to not boot, block error’s etc… Followed everything with these block error’s and just decided to reload new.
I formatted the 16Gb vdisk and just installed Ubuntu 14.04 lts x64 server. Now I connected the second vdisk of 4Tb, mounted it to images after renaming it to images.old. Copied everything from images.old to /images after I mounted it.
Steps to add the disk are as followed.
sudo mv /images /images.old
sudo mkdir /images
sudo mount -t ext4 /dev/sdb1 /images
mount
sudo cp -av /images.old/* /images/
sudo touch /images/.mntcheck
sudo nano /etc/fstab
sdb1 /images ext4 defaults 0 0
sudo chmod 777 -R /images
Now it rebooted and mounted fine, I can go to images and see then in there ( 1.8Tb’s of images ) This was the drive I used with my earlier version of fog 1.2.0. From my understanding fog just list what it see’s in the /images folder if I’m not mistaken ?
Any way to force fog to index this location and allow my images to be added ?
My images page show’s no images uploaded, but again I can see them listed in /images ?
Any help would be great, and again I’m still loving Fog !
Restarted the server just to make sure it mounted.