The systems would come back with an error. Unfortunately I didn’t document what it was…I assumed the problem was that I removed the original images. The server only has 1tb of space and I still have several computers I want to have imaged before the inevitable happens.
Latest posts made by Damian Jones
-
RE: Failed fog backup attempt still haunts
-
Failed fog backup attempt still haunts
My fog server was working great except I had a need for more space. I created a share and move the files to another server along with a dump of the sql db…here where things go wrong.
I deleted the image files to clear space and then set a task to image my domain servers again. That process must have caused some sort of corruption in the database ( I’m guessing wildly here)
after some thought I deleted the databases and decided to start over then tried it again. The corruption was still there. So I decided to do an reinstall of fog…I did some other stuff also but it is …in a fog… now (sorry I couldn’t help myself). Anyway I follow the instructions these instructions:
#Uninstall FOG#remove service
sudo rm /etc/init.d/FOGImageReplicator
sudo rm /etc/init.d/FOGMulticastManager
sudo rm /etc/init.d/FOGScheduler#delete fog database
sudo mysql
#(or ‘sudo mysql -p’ if you set a root password for mysql)
drop database fog;
quit#Remove files
sudo rm -rf /var/www/fog
sudo rm -rf /opt/fog
sudo rm -rf /tftpboot
sudo rm -rf /images#delete fog system user
sudo userdel fogrebooted the server and reinstalled fog thinking that I would just re-register the computers and connect them to the new images.
What is happening is now the computers are transmitting the images to the fog server, but they are not registed.
I suspect there is something that is written on the computers to do this.Thanks for reading,
Damian
-
RE: ISO Tutorial: How to set fog to overwrite images
ahhhh it is a mirrored drive. That brings me to other questions. How do I select one of the drives? On my new server (windows 2012) I have a raid 5 (3 drives)…
Thanks for the information
-
RE: ISO Tutorial: How to set fog to overwrite images
Thanks for pointing that out to me. I assumed since it was the same computers I’ve imaged before and the space was not a problem then and now it seems to be a problem …and when I looked at the image folders and saw:
07/10/2013 11:45 PM 512 d2.mbr
07/10/2013 11:45 PM 180,318,726,114 d1p1.img
07/11/2013 04:57 AM 180,318,738,292 d2p1.img
07/10/2013 04:55 PM 512 d1.mbrDid I somehow make two images? I’ll check the wiki to see what is going on. Thanks for setting me on the right path.
-
RE: Imaging a RAID
Thanks for the information.
I’m currently running fog.32 on ubuntu server 12.4
Linux onyxserver1 3.2.0-51-generic-pae #77-Ubuntu SMP Wed Jul 24 20:40:32 UTC 2013 i686 i686 i386 GNU/LinuxDistributor ID: Ubuntu
Description: Ubuntu 12.04.1 LTS
Release: 12.04
Codename: preciseHere is the information on my 2012 server
Item Code Brand MFR# Item Description
1 CUSTOMSERSERIAL CYBERTRONPC Custom Configured Server
2 PRC-INT-XEE312J INTEL BX80637E31270V2 Xeon E3-1270V2 3.50GHz C4 1155 RET
3 MBD-SPM-X9SCLBA SUPERMICRO MBD-X9SCL-B 1155 V 4D3 M32 2GL R MATX
4 MEM-STT-4GEE SUPERTALENT W1600EB4GM 4GB DDR3 1600 PC3-12800 ECC
5 MEM-STT-2GEM SUPERTALENT W1333EA2GH 2GB DDR3 1333 PC3-10600 ECC
7 HDR-WDG-500S2K WESTERN DIGITAL WD5003ABYX 500GB SATA2 7200RPM 64MB Ent.
8 AD-RAID5 RAID 5 Array (Striped with Parity)
9 CDR-LG-DWS124F LG GH24NS95B DVD±RW DL 24x SATA Black
10 AD-VIDEOPCIE2 pci-express Onboard Video Graphics -
ISO Tutorial: How to set fog to overwrite images
Due to space limitations I would like to set my fog to overwrite the client image every I upload it on the server.
-
Imaging a RAID
Good Morning All,
I’ve been using FOG for a few months now and have things working pretty good. Thanks for the support here on the forums. I’m back to see if there is an issue with imaging a RAID drive. I looked around the WIKI but nothing stands out about the subject. I’ve got and eval of win 2012 I’m setting up on a Raid5. The inventory goes ok but when I try to image it I get unable to move /images/dev/mac address to /images/name-of-image.Has anyone successfully imaged a Raid drive with a hardware controller?
Thanks,
-
RE: Looking for a solution
Thanks for the response Kelly,
I don’t understand how fog is going to know to write the images to the new drive. -
RE: Mulitple drives/storage
These are notes from Chuck Syperski’s video at [media=youtube]69gJvHjTKNQ[/media]
add new hard drive for storage
find out device name
[CODE]#sudo dmesg[/CODE]
or
[CODE]#sudo fdisk -l[/CODE]partition disk my on /dev/sdb
[CODE] #sudo fdisk /dev/sdb
n
p
l
<enter>
<enter>
t
83
w[/CODE]
format filesystem
[CODE]#sudo mkfs.ext4 /dev/sdb1[/CODE]
move /images to /imagesOld
[CODE] #sudo mv /images/ /imagesOld[/CODE]
make new /images directory
[CODE] #sudo mkdir /images[/CODE]
mount new harddirve /dev/sdb1 to /images
[CODE] #sudo mount /dev/sdb1 /images[/CODE]
copy files to new harddrive
[CODE] #sudo rsync -av = =progress /imagesOld/ /images[/CODE]
change permissions
[CODE] #sudo chmod -R 777 /images[/CODE]
auto mount the new hard drive use UUID
[CODE] #sudo blkid[/CODE]
[CODE] #sudo vlm /etc/fstab[/CODE]
UUID=<UUID_of_you_nw_partition> /images ext4 errors=remount=ro 0 1
rebootI’m just journaling this now as I dont have access to my server just yet. I’m not 100% certain every thing is correct
-
Mulitple drives/storage
I have 4 external drives I can switch out via a USB connector.
I would like to use them as a storage for my images. For example:
1st for week 1 images
2nd for week 2 images
3rd for week 3 images
4th for week 4 images
I would like to attach an external drive and have that week’s images saved to the drive.