Solved

Ubuntu Fog Server Slow to image Thinkpads

Posted on 2010-11-16
9
2,263 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 117

Expert Comment

by:Andrew Hancock (VMware vExpert / EE MVE)
Comment Utility
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
Comment Utility
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 117

Expert Comment

by:Andrew Hancock (VMware vExpert / EE MVE)
Comment Utility
so the network card is not running at a 1G?
0
 
LVL 117

Expert Comment

by:Andrew Hancock (VMware vExpert / EE MVE)
Comment Utility
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
How to run any project with ease

Manage projects of all sizes how you want. Great for personal to-do lists, project milestones, team priorities and launch plans.
- Combine task lists, docs, spreadsheets, and chat in one
- View and edit from mobile/offline
- Cut down on emails

 
LVL 117

Expert Comment

by:Andrew Hancock (VMware vExpert / EE MVE)
Comment Utility
and do the gateways connect to the switch at 1Gbe
0
 
LVL 6

Author Comment

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

Author Comment

by:Ryan Smith
Comment Utility
I meant to say Dells, not gateways in the above posts..
0
 
LVL 117

Expert Comment

by:Andrew Hancock (VMware vExpert / EE MVE)
Comment Utility
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 117

Accepted Solution

by:
Andrew Hancock (VMware vExpert / EE MVE) earned 500 total points
Comment Utility
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

What Security Threats Are You Missing?

Enhance your security with threat intelligence from the web. Get trending threat insights on hackers, exploits, and suspicious IP addresses delivered to your inbox with our free Cyber Daily.

Join & Write a Comment

Suggested Solutions

The purpose of this article is to demonstrate how we can upgrade Python from version 2.7.6 to Python 2.7.10 on the Linux Mint operating system. I am using an Oracle Virtual Box where I have installed Linux Mint operating system version 17.2. Once yo…
This is an issue that we can get adding / removing permissions in the vCSA 6.0. We can also have issues searching for users / groups in the AD (using your identify sources). This is how one of the ways to handle this issues and fix it.
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 vSphere Update Manager to update the VMware Tools and virtual machine hardware version Open vSphere Client: Review manual processes for updating VMware Tools and virtual hardware versions: Create a new baseline group in vSp…

763 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

6 Experts available now in Live!

Get 1:1 Help Now