Is your VPN tunnel done with hardware? or software?
When you run your command, where did you run it?
Answer those and help me understand more about this network.
Is your VPN tunnel done with hardware? or software?
When you run your command, where did you run it?
Answer those and help me understand more about this network.
I think it is possible.
Try to follow my logic:
You make an image of a hard drive and it creates files for each partition. (That’s easy)
Once done, you have a directory and files like this.
/images/IMAGENAME/HOSTNAME/d1.mbr – Master boot record
/images/IMAGENAME/HOSTNAME/d1p1.img – C:\ Drive
/images/IMAGENAME/HOSTNAME/d1p2.img – D:\ Drive
As the above file structure shows you [B]Disk 1 Partition 1[/B] and [B]Disk 1 Partition 2.[/B]
So, if you only wish to restore the C:\ drive and not the d:\ drive, simply remove or rename the file for that partition, in this case it would be [B]d1p2.img[/B].
Now, this does not solve your issue 100% (because it will still upload/backup all partitions) ; BUT will
allow you some flexibility when downloading/restoring images.
[B]This is only theory and has not been tested/ proven by me.[/B] (but I think others have.)
I can test this theory when I find time… it could prove useful.
Are you sure you have everything else setup properly?
What OS?
If you are able, please post the contents of the command file.
You can find this by creating a task for this machine, (Start task to upload)
Then go to your TFTP server and find the file that was created, the name would be the MAC of the machine.
for me its here
/TFTPBOOT/pxelinux.0/00XXXXXXXXX
This file will show all details about the Image, the storage and the OS settings.
For me, I was able to fix many of my own issues just by analyzing the contents of that file and ensuring that everything is 100% correct.
Anyone have any luck with Dell Poweredge Servers? I compiled my own kernel 3 times now to include the RAID drivers yet it still seems to not accept it.
Specifically LSI RAID Drivers.
Dell Poweredge 1850,1950, 2850,2950 are the ones I have attempted and failed.
::FOG CANNOT IMAGE SERVERS:: until proven otherwise.
did you edit your config.php file to reflect the change in location?
Line 42 in 0…32
[B]define( “WEB_HOST”, “192.168.1.XX” ) ;[/B]
It may still be pointing to another IP and that is why your images fail to load.
What I would have done different:
I would have installed fog with the installer and then dump the database and restore the one from the other server.
That will ensure everything is properly configured, and by dumping the fresh DB and importing the old, you will get exactly what you want. (Unless there are more options defined in the database. then you will have to address those as well.)
I chose SLAX just for simplicity and file size. It is just for an personal experiment, but if it works, I intend to deploy all over our lab for different uses in each department. We develop custom apps for internal use in our Photo Lab and if I can deploy a live OS over PXE, then there would be no more need for our Windows XP machines and no Windows will save us money on anti-virus licenses.
I see that you chose Single Partition for Windows 7… that is not correct… you should only use “Multiple Partition Image - Single disk(not resizable)”
Its most likely stuck because win7 images are NOT resizable… (does not mean a 500GB hard drive will create a 500GB file-- it will not copy empty space.)
Remember to run sysprep After you have defragged and run chkdsk /f
did this overcome your issue?
Hey, I am wondering if it has modified the files on your tftp server.
You said it worked the first time, leads me to believe that something was changed or overwritten…
If you have no other option at this point, I suggest you re-upload your iso and see if it works the first time again… if it is in fact successful, then perhaps you need to set the .iso and files within to read only.
You may need to investigate persistent and non persistent Live OS’.
-Just a thought
I am seeking the same functionality, I want to be able to PXE boot a live operating system like ubuntu.(I am looking at Slax)
Seems like this is not new, yet I cannot find anything about it, anywhere.
Did you install Clam AV before fog? I do not think it is bundled with FOG.
Your photo shows this message
“Lib Clam AV Error: cli_loaddb(): No Supported database for Clamav” - does it show a location? like usr/local/share/clamav???
If it does, is that the correct location you installed Clam?
Do you have a MySQL database for clam?
I do not have Clam on my system, but I assume that when it gets installed, it creates a DB for it.
[S]see attached image.[/S] Well it failed to attach a file.
Anyway, mine looks like this:
Host is set to Windows7.
Image Name: Windows 7
<No Description>
Storage Group: default
ImageType: Multiple Partition Image - Single Disk.
Do not forget to run sysprep before you try to image.
Has anyone else not been able to visit this site in the past few days?
I could not access the forums nor the wiki at all. I can only imagine the traffic this site sees. (Either that or it is hosted on a Dial up connection)
I propose we pitch in an donate some hosting for this project… I for one would like to be able to check the forum when I need help, and the fact that it is soooo SLOW, just doesn’t seem right…
We have a first class Cloning solution, now it just needs first class hosting.
How does the community feel about this? What about the Fog Team?
Some progress has been made.
To connect to my NAS, I created a storage node with the IP of the storage device and then I used /nfs/images/ to point it to the correct directory.
What I stated above is incorrect: [S]192.168.1.244:/mnt/pools/A/A0/images[/S] this is what works: 192.168.1.244://nfs/images/
It works, but fails to copy the images from the dev directory.
Just a thought, I have a feeling that if you disable IPv6 on the Win7 clients all will work just fine.
Adam’s Quote from edugeek: you can set the user ID in the NAS…(see screenshot)[ATTACH=full]75[/ATTACH]
The umask for my share is: in fact the default… (0022) I will look into that next.
I imaged another machine and got the same message.
“unable to move /nfs/images/dev to /nfs/images”
Its strange because I can FTP with my ftp client and pass the command to move the files… there is no error there.
I have a feeling that if we keep poking around, we will finally have that “Ah HAH!” moment we have been waiting for.
[url=“/_imported_xf_attachments/0/75_foguser.jpg?:”]foguser.jpg[/url]
EDIT:
I got it back again… apparently, I was attempting to mount to
192.168.1.244:/mnt/pools/A/A0/images (images is my share on the NAS)
It Worked when I put it in like this:
192.168.1.244:/nfs/images
Now: I had disabled FTP on my NAS while troubleshooting and I got the Failed to connect to FTP… so I enabled FTP and the message instantly changed…
Now, according to “Seperate NFS server tutorial” I have added an @ to the beggining of ftp on line 133 of /var/www/fog/service/Post_Stage2.php
Now I just have to wait for it to image another machine before I know for certain… Will post back
However, I am in the same boat as you know, failed to move the images out of the /dev/ directory.
[B]“unable to move from /mnt/pools/A/A0/fog/dev to /mnt/pools/A/A0/fog”[/B]
[B][/B]
I Just noticed that when I log into terminal as fog on my fog-server, I am chrooted* to the /images/dev directory, this may be what we are looking for. I will dig around some more and post my findings.
[SIZE=2]*If you are not familiar, chrooted means that the user is “jailed” to the single directory (like a prisoner).[/SIZE]
Not sure about if you would have to join your server to AD, but you can, I have a few linux servers joined to the domain… there are a few ways to do this, find the one that works best for you and your distro. [URL='http://linuxgazette.net/105/price.html’]Here’s an offsite link that shows you how to use samba to join the domain. [/URL](I joined my others to domain within WEBMIN)[URL=‘http://linuxgazette.net/105/price.html’][/URL][URL='http://linuxgazette.net/105/price.html’] [/URL] You should not need to re-install fog after this. It should not matter.[URL=‘http://linuxgazette.net/105/price.html’][/URL]
My Iomega Storcenter is NOT joined to the domain… It’s not necessary for me b/c I am using all of it for FOG.
Thank you for your help! I was able to get it past the Unable to mount NFS share. (Think my task was still queued up and holding on to old settings.)
Check the config file as well as the webUI(under [B]Other Information[/B]>> [B]Fog Settings[/B])… and I would check the database just to be sure (but the webUI should update the DB when you save)
I would check to ensure all fog passwords have been updated to the password that you set manually.(TFTP and STORAGE_FTP_Password)
Adam: Can you please share with me how you got it as far as you did? I have tried everything. I too have a Iomega storcenter and have had a heck of a time trying to overcome the Fatal Error: failed to mount NFS share.
for TFTP_HOST do you use fog-server IP or StorCenter IP? or “STORAGE_HOST” ??
Thanks
Can someone help shed some light here.
This is in reference to Fog v. 0.32
How does one make changes to the fog settings?
I see two options and niether seem to take the changes.
1: Config file: /var/www/fog/commons/config.php
2: In fog web interface
>> Other Information >> Fog Settings
I have made changes to one, and its not reflected in the other.
So, is one pointless? do they work together somehow?
for instance, I wanted to change the TFTP server address… I tried in the config file… no luck… I then edited the settings with no success either.
[B]So do I have to restart FOG everytime I make a change?[/B] Someone please make this clearer.