Solved

Ubuntu Fog Server Slow to image Thinkpads

Posted on 2010-11-16
9
2,302 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 119
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 119
ID: 34508945
so the network card is not running at a 1G?
0
PRTG Network Monitor: Intuitive Network Monitoring

Network Monitoring is essential to ensure that computer systems and network devices are running. Use PRTG to monitor LANs, servers, websites, applications and devices, bandwidth, virtual environments, remote systems, IoT, and many more. PRTG is easy to set up & use.

 
LVL 119
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
 
LVL 119
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 119
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 119

Accepted Solution

by:
Andrew Hancock (VMware vExpert / EE MVE^2) 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

PRTG Network Monitor: Intuitive Network Monitoring

Network Monitoring is essential to ensure that computer systems and network devices are running. Use PRTG to monitor LANs, servers, websites, applications and devices, bandwidth, virtual environments, remote systems, IoT, and many more. PRTG is easy to set up & use.

Question has a verified solution.

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

Suggested Solutions

HOW TO: Install and Configure VMware vSphere Hypervisor 6.5 (ESXi 6.5), Step by Step Tutorial with screenshots. From Download, Checking Media, to Completed Installation.
When rebooting a vCenters 6.0 and try to connect using vSphere Client we get this issue "Invalid URL: The hostname could not parsed." When we get this error we need to do some changes in the vCenter advanced settings to fix the issue.
Teach the user how to convert virtaul disk file formats and how to rename virtual machine files on datastores. Open vSphere Web Client: Review VM disk settings: Migrate VM to new datastore with a thick provisioned (lazy zeroed) disk format: Rename a…
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…

816 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

8 Experts available now in Live!

Get 1:1 Help Now