Posts Tagged ‘Fedora’

Fedora 11 for Servers

Tuesday, September 15th, 2009

It is time to talk about our Fedora 11 server migration. Why, do you ask, are we discussing this three months after 11 was released, halfway to the release of 12?

We finally upgraded our server to 11 this morning, after a weekend of work. In previous generations, we’d offloaded all of the data, formatted all the drives, and installed the new OS. And we, to keep up, would have to do this every 6-9 months, every time a new release came out. And our data kept growing. When you are storing many gigabytes of information, trying to slowly offload to a 4.3GB DVD is a slow process.

This weekend, we threw in the metaphorical towel, and got a 1.5TB drive and installed it in the computer. This allowed us to empty our older drives one by one and reformat them to EXT4 format. We had previously been using the more established XFS format. EXT4 is an update of the established EXT3 with improved handling for large files, among other things.

Improved large file handling is very important to us, because we use our server as a storage base for our MythTV DVR. Large file handling is required when an hour of over-the-air broadcast HD can be more than 8GB.

After reformatting all the drive to EXT4, we discovered another feature we’d never noticed before. The Reserved Block Percentage for the Superuser. A default setting, it holds back 5% of the reported available drive space for superuser privileged processes, ensuring that even if the hard drive fills up, the running processes can still do their work. Which is all well and good on an OS partition. But on a data partition, 5% of  a TB drive is almost 50GB being held in reserve. Ultimately, now that we know it is there, we left it turned it. You can override it as needed.

While we kept all the data on the data drives, although we did move around what was stored where, we did wipe and redo the OS partition completely. This is always a learning experience because as we rebuild parts of it, we add and fiddle with features, some of which are new to the upgraded OS. For example, we added an hourly run of status information which is ported to Linux’s MOTD(Message of the Day) feature so that anyone logging in receives a notification of them.

We also tried running tuned. Tuned isn’t enabled by default under 11, and it is merely an early version of a project that should be fully realized in 12. For several versions, has been auditing programs to look for redundancy or inefficiency. One of the most solid examples of that was a goal of a 20-second boot time.  There is an apparent lack of good discourse on tuned that we found, but the service will allow cpu, disk, and net devices to adapt dynamically to usage, reducing power, according to profiles set.

Tuned, unfortunately, kept bringing down our network link, causing hiccups. For now, we’ve turned it off. Power Management is a goal we aspire to. We want constant availability with low power usage, which means a service that turns things off when not in use. We look forward to the next generation of this program, when it may be enabled by default.

Since our server does not run a graphical environment by default, nor does it have a monitor attached normally, the experience of using it is different than most using a Linux machine. We’re always looking for things to cut from it to improve its efficiency. During this latest iteration, we cut a partition, no longer creating a separate home partition for the system. We never store anything in the home directories anyway.

You will be hearing more about our server. Our systems are the testbed for practical experiments in spinning down hard drives and other techniques to try and reduce waste. The drives are even 5400rpm ‘green’ drives, as the data doesn’t require anything faster. If you are interested in more specific details about the system, comment. We’d love to hear your feedback.

  • Share/Bookmark

Fedora 11 – Palimpsest Saves the Day

Thursday, June 18th, 2009
Fedora Linux 10
Image by Dekuwa via Flickr

Yesterday, those of you following our tweets know that we continued our Fedora migration plan. The plan was sidetracked when the new 11 monitoring advised us of a hard drive problem.

SMART, System Monitoring and Reporting Tool, is built into every hard drive, and does not seem to be utilized under Windows(feel free to correct us on this. It might be hiding there somewhere). Linux has always offered a monitoring daemon, but now that is coupled with Palimpsest Disk Utility, a frontend to the disk functions of DeviceKit, so alerts come to the desktop. DeviceKit is a replacement for the older HAL system, and creates a uniform interface.  “This is a simple system service that a) can enumerate devices; b) emits signals when devices are added removed; c) provides a way to merge device information / quirks onto devices.

So, after letting it do a check to confirm, we swapped out the drive, and used it as an excuse to clean the interior of the computer and add extra ventilation, and resumed installation.

The two machines done are part of our MythTV system, where simple computers take the place of cable boxes, so nothing is stored on the drive except the software. All the video comes over the network from the backend(the last machine to get 11). But had the hard drive contained critical data, this feature would have prevented a major disaster.

In a disappointment, both machines, which run Nvidia video, did not work with Plymouth by default, but the boot on them is so fast you hardly see the splash screen anyway.

As a final measure, the remaining 10 machine will now download its updates directly from the internet, allowing us to delete our 30GB 10 Repository. The 11 machine will continue to use the assembled 11 repository.

The remaining machine is the hardest because it is where all the data is stored. Upgrade Time is a time to think about new hardware. Perhaps a hard drive might need to be replaced, etc. Migration of large amounts of data is difficult. The system must be slowly backed up and emptied, using a combination of optical burns, backup hard drives, etc. It will take a bit more work.

We continue to find new things to love about 11. The continual improvement to hardware handling is one of them. More to come.

Reblog this post [with Zemanta]
  • Share/Bookmark

First Thoughts: Fedora 11

Thursday, June 11th, 2009
Image representing Fedora as depicted in Crunc...
Image via CrunchBase

We plan to offer more thoughts later, as we will be doing some field-testing. We have installed Fedora 11, code named Leonidas on a MSI Wind U100 netbook which we will be taking with us on a trip this weekend, allowing us to explore it before rolling it out to other systems.

Our initial impressions are that F11 is a winner. It has been cleaned up at every level. We installed it from scratch and proceeded to install everything we routinely use on a mobile system, including Firefox(with Xmarks, formerly Foxmarks to store our bookmarks), Dropbox for our Documents and some configuration files, and Adobe Air so we can run our Twitter client. There was a problem with Adobe Air, but a quick net search found us the solution(a symbolic link so Air could find a library). The whole process took very little time.

Plymouth, ’s graphical boot loader, now supports Intel based graphics cards, which are found in a majority of productivity based notebooks and netbooks. Since our previous systems didn’t support it by default, and we saw no need to override that, this is the first time we’ve seen the graphical loader outside of one try. Plymouth is plug-in capable for different boot screens. The default one is merely a circle that gradually fills in until it is complete. We’ll have to take a look at the alternatives there as well.On the other hand, it is a boot screen. We don’t want to spend too much time looking at it, especially if it slows things down to render something fancier.

also has changed the default volume group name to include the hostname…a minor touch, and the ext4 file system. Anaconda, the installer, continues to be fairly user-friendly. has rebuilt many areas of the program, but the feel is pretty much the same for installation.

Into the OS itself, 11 had a goal of a 20-second boot time. It isn’t quite achieved on a netbook, but it came fairly close. The netbook is the only system we use that doesn’t support the 64-bit architecture, so we used the 32-bit, which has now been rebased as i586 instead of i386 We also enabled Presto to reduce update sizes. On our first update, we had a 91% download savings with no noticeable problems.

The new versions of Gnome and Firefox look subtly different, but we haven’t had a chance to experiment with them yet, beyond configuring things the way we want them. We will report back on this.

Finally, as this is a mobile computer, 11 boasts new power saving measures, including an update to the handling of relatime backkported from the 2.6.30 kernel, which was just released, but after the 11 release. We look forward to seeing how these power measures enhance battery life.

So, in the end…, better than ever, no show-stopping problems we’ve seen so far…and more to come.

Reblog this post [with Zemanta]
  • Share/Bookmark

Fedora 11 Delayed by One Week

Wednesday, May 20th, 2009
A Screen Shot of Fedora 8
Image via Wikipedia

To our disappointment, the Fedora 11(Leonidas) launch date has pushed back by one week. As noted on their announcement mailing list….

In a meeting today between Release Engineering, QA, and various team
leads, we decided to enact a 7 day slip of the 11 release date.
The primary reason behind this slip is the state of our blocker bug:
https://bugzilla.redhat.com/showdependencytree.cgi?id=F11Blocker&hide_resolved=1 We cannot begin Release Candidate phase until the blocker bugs are closed or at least in MODIFIED state. We are not there today, which would be our last day to enter RC phase and still have enough time to release on the 26th. We hope to enter RC phase in the next couple days, and hit our new target, June 2nd.

Freeze breaks for critical bugs will still be accepted, however trivial
bug fixes should be pushed as updates via bodhi. Thanks!

Better to have a stable system than an unstable one. Here’s hoping for June release.

Reblog this post [with Zemanta]
  • Share/Bookmark

Fedora 11, Updates and Migration

Tuesday, March 3rd, 2009
Fedora Core 6 running GNOME with activated AIG...
Image via Wikipedia

We continue to want to write about Fedora, especially in light of our recent inspiration. We were reading this post on a blog about the fact that 11 will have roughly 60 new features, some of which we previously summarized. The last few releases have had less than half that. Today is the feature freeze for 11.

The author predicts these features will have other distributions rushing to catch up.  The beta freeze of F11 is in a week, with the Beta release on the 24th. The final release is set for the end of May.

Every time there is a new release of coming, we wipe and reinstall every system from scratch. Our preparations begin a month in advance, when we start mirroring the complete repository and the update repository for the release, as well as our favorite 3rd-party repositories. Every night, a cron job updates any changes made.

Jigdo allows us to use those files to assemble an install image. And we maintain the repository and keep it updated to keep our systems updated. As we mentioned previously, the new DeltaRPM system will save download bandwidth.

Creating a local repository is easy. You start with your installation DVD, if you have one, and copy the packages to a directory. Then, run the createrepo command on the directory(you may have to install it). The directory should be accessible on a local web server…we use lighttpd over apache for memory reasons(but more on that another time). Then, you can edit your yum configuration files in one of two ways…adding a local only repository file, or editing the existing files to redirect to the local server instead of one of the mirrors.

To sync a remote update use a command like this…

rsync -avrt rsync://mirrorsite//linux/releases/10/updates/x86_64/ /var/www/html/yum/updates/10/x86_64

Go to the Mirror List to find mirrors that work for you.

As a final step, the Fedora Unity project releases re-spins of the releases with updated packages, as well as the Everything spin, which is a multiple DVD release of the entire repository.

With hard drive space so cheap lately, and metered internet coming into vogue, this is a decent solution. Once one has the latest distribution, one has to figure out how to distribute it to multiple systems. We start by loading it onto one system, and breaking it in before distributing it elsewhere.

More to come…

Reblog this post [with Zemanta]
  • Share/Bookmark

Fedora Unity Does a Release

Monday, February 23rd, 2009
Image representing Fedora as depicted in Crunc...
Image via CrunchBase

We’re devotees of Fedora Linux, despite alternatives, and the incredible popularity of Ubuntu, which we have spent some time with. But we started with Red Hat 7, and with as its successor, we know more of the ins and outs of this distribution.

Tonight, we’re using to Jigdo to assemble new DVD images, as the Unity project has released a 10 re-spin. For those of you not familiar with these things, some background.

Jigdo is a wonderful thing, and has been used by various Linux distributions for some time, and only recently as a method for distribution. The idea is this…a CD or DVD for a Linux OS is merely a compilation of various software packages and configuration files. Instead of downloading an entire image, Jigdo assembles it from its components. This has several advantages…for one it doesn’t tax any one site. Jigdo, given a mirror list, can download files from multiple sites to assemble its image.

The Unity Re-Spin is a Jigdo image of the standard installation media, using any updates that have been released since the original release. Thus, if you install 10 on a new system, you don’t then have to download a few hundred megabytes of updated files to each system. We maintain a local mirror we use to update multiple systems at one time, and using it and Jigdo, can assemble a new installation DVD in less than 5 minutes.

The glaring gap in the Jigdo release is that specialty spins are not released as Jigdo templates. offers LiveCDs and custom distributions of various types, and these are distributed only as ISOs.

Either way, the Re-Spin system is a good one, and Unity provides a service. For those of you still on Windows, check out this Lifehacker article on their equivalent, known as slipstreaming.

Reblog this post [with Zemanta]
  • Share/Bookmark