Solved

Ubuntu Fog Server Slow to image Thinkpads

Posted on 2010-11-16
9
2,284 Views
Last Modified: 2012-05-10
I have setup a Ubuntu system with the newest Fog cloning system.  I can image Dell D620's in like 5 minutes, but when I image an IBM Thinkpad T410 it takes over an hour.  On the Dells I get gigabit speed but on the thinkpads it's way slower.  I was doing some research and found this.  wonder if this is current and if it might work?
To make a long story short: I built a new kernel without the old IDE modules, and now FOG works like a charm - I get about 1 GB/min deployment rate on a 100MBit switch.



Here are the steps needed:

- download the kernel sources for the current 2.6.25 release from kernel.org and untar them

- copy /opt/fog_0.xx/kernel/kitchensink.config to <kernel source dir>/.config

- run "make menuconfig" in the kernel source directory (you might need to install the ncurses-dev package first)

- go to "Device Drivers"

- disable "ATA/ATAPI/MFM/RLL support"

- make sure "Serial ATA (prod) and Parallel ATA (experimental) drivers" is enabled

- quit the config app, save the settings

- run "make". Wait some time until the kernel is done.

- copy arch/x86/boot/bzImage to /tftpboot/fog/kernel - you might want to make a backup of the existing kernel first.



Now, when you boot the client machines, they should access the harddisk as /dev/sdX instead of /dev/hdX, and the speed should improve dramatically.

Open in new window

0
Comment
Question by:Ryan Smith
  • 6
  • 3
9 Comments
 
LVL 118
ID: 34508870
Is it the network card on the IBM Thinkpad being initialized at 1Gbpe?

are the hard drives the same size?
0
 
LVL 6

Author Comment

by:Ryan Smith
ID: 34508912
It happens on all the thinkpads I image.  X201, T400, and T410.  I doubt they are running at 1Gb/sec.  That's the problem.

I can image 80GB gateways in under 5 minutes.
0
 
LVL 118
ID: 34508945
so the network card is not running at a 1G?
0
 
LVL 118
ID: 34508951
what you posted above, was nothing to do with network settings?

you'll need to change the network settings to force the network cards to initialize at a Gig speed, if you think this is the issue, can you tell from the network switch, what network speed is?
0
Complete VMware vSphere® ESX(i) & Hyper-V Backup

Capture your entire system, including the host, with patented disk imaging integrated with VMware VADP / Microsoft VSS and RCT. RTOs is as low as 15 seconds with Acronis Active Restore™. You can enjoy unlimited P2V/V2V migrations from any source (even from a different hypervisor)

 
LVL 118
ID: 34508954
and do the gateways connect to the switch at 1Gbe
0
 
LVL 6

Author Comment

by:Ryan Smith
ID: 34509006
The dells connect at 1GB, but not the thinkpads.
0
 
LVL 6

Author Comment

by:Ryan Smith
ID: 34509011
I meant to say Dells, not gateways in the above posts..
0
 
LVL 118
ID: 34509017
Ok so this the root cause of the issue, which is nothing to do with the kernel changes for the disks.

You need to check the settings for the nics, and maybe obtain correct drivers for the network cards to initialise at 1Gbe speeds.
0
 
LVL 118

Accepted Solution

by:
Andrew Hancock (VMware vExpert / EE MVE) earned 500 total points
ID: 34509040
Follow the troubleshooting section in the manual

http://www.fogproject.org/wiki/index.php?title=FOGUserGuide

You may have to compile your own kernel with working drivers that initialise the network card and connect at 1Gbe
0

Featured Post

Ransomware-A Revenue Bonanza for Service Providers

Ransomware – malware that gets on your customers’ computers, encrypts their data, and extorts a hefty ransom for the decryption keys – is a surging new threat.  The purpose of this eBook is to educate the reader about ransomware attacks.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

Title # Comments Views Activity
Apache/PHP: Cannot make phpinfo() and phpmyadmin work 4 37
Disk Configuration - Dell R620 6 74
Get host nic mac address 19 59
VMWare ESXi Guest VM shuts down itself 35 66
When we have a dead host and we lose all connections to the ESXi, and we need to find a way to move all VMs from that dead ESXi host.
This article will show you how to create an ISO CD-ROM/DVD-ROM image (*.iso), and MD5 checksum signature, for use with VMware vSphere Hypervisor 6.5 (ESXi 6.5). It's a good idea to compare checksums, because many installations fail because of a corr…
Teach the user how to delpoy the vCenter Server Appliance and how to configure its network settings Deploy OVF: Open VM console and configure networking:
Teach the user how to use create log bundles for vCenter Server or ESXi hosts Open vSphere Web Client: Generate vCenter Server and ESXi host log bundle:  Open vCenter Server Appliance Web Management interface and generate log bundle: Open vCenter Se…

863 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

19 Experts available now in Live!

Get 1:1 Help Now