Practical Technology

for practical people.

April 27, 2010
by sjvn01
2 Comments

Ubuntu 10.04: Where Ubuntu goes from here

The new Ubuntu release is almost here and I like the Ubuntu 10.04 desktop a lot. As a Linux expert, it’s a little too simple for my personal tastes, but it’s the best beginner Linux out of the box I’ve ever seen. That’s all well and good, but where Canonical, Ubuntu’s parent company really hopes to make money is from this latest LTS (Long Term Support) Ubuntu Linux for the server and the cloud.

Canonical CEO Jane Silber and Founder and VP of Product Design Mark Shuttleworth were candid about this at a noon Eastern Time press conference announcing the arrival of the 10.04 Server and Desktop. That said, Silber was also pleased to report that other companies are now shipping Ubuntu desktop on laptops from Lenovo in China and Sharp in Japan.

Shuttleworth also noted that Ubuntu’s basic design philosophy is going to center on making it ‘light.’ By this he meant both light as a distribution and light and fast to deploy both on desktops and servers.

The real breakthroughs for Ubuntu though, according to Shuttleworth, is in cloud computing. He said that Ubuntu 10.04 has two major themes. The first is that it will be exceptional in its speed of deployment and configuration. The second is its ability to scale. As far as Shuttleworth is concerned, for enterprise customers, “Ubuntu is the right platform for speed and scalability on Amazon EC2 and Rackspace.”

Shuttleworth added that he is committed to “making Canonical profitable in the enterprise market.” He knows it won’t be easy but he’ll “see it through” and Ubuntu is already “showing good growth” in the business market.

Part of this will come from Ubuntu 10.04 LTS server’s growing number of open-source and proprietary application providers certifying their applications on Ubuntu Server Edition. According to Canonical, “Almost 100 organizations have signaled their intent to certify applications on the platform, including Alfresco, Ingres, IBM, VMware, Zimbra, Yahoo! and many others with more expected to follow post-launch.”

“The range of industry, analyst and user support we are seeing for Ubuntu 10.04 LTS on server has the makings of a breakout release for this technology,” said Silber in a statement. “We can consolidate the significant technical advances we’ve made since the last LTS release onto a stable, secure and long-term supported platform that the industry is gathering around. This is exciting for us, for our partners and most of all for our users and I expect to see Ubuntu adoption accelerate as a core infrastructure layer for volume services and cloud computing in the world’s data centers.”

Canonical also announced that it has advanced several new hardware and software partnerships. The biggest news on the hardware side is that Dell will support the Ubuntu server and Ubuntu Enterprise Cloud as an option on its cloud-server PowerEdge-C line.

As for software, Adobe is also working with Canonical. Anup Murarka, director for Technology Strategy and Partner Development, Flash Platform, Adobe, explained in a statement that, “We are working with Ubuntu and other partners to enable certification of Flash Player 10.1 for Linux on the Ubuntu 10.04 LTS release, an exciting release for Linux-based desktops and devices.” This Adobe and Canonical partnership could lead to much bigger things if Adobe and Apple continue to fight.

Likewise, which makes a CIFS (Common Internet File System) server and supports AD (Active Directory) integration on Linux is also working with Ubuntu. In a statement, Barry Crist, Likewise’s CEO said. “By enabling Ubuntu 10.04 LTS users to quickly and easily integrate with networks on both desktops and servers, we support Ubuntu adoption in the enterprise.”

Put it all together and you don’t have just a new Ubuntu release, but the announcement of a major effort by Canonical and its partners to make Ubuntu a worthy competitor to Red Hat and Novell in the enterprise space.

A version of this story first appeared in ComputerWorld.

April 26, 2010
by sjvn01
6 Comments

USB Flash Drive RAIDers of Windows 7

It’s not especially easy to deploy, but Windows 7 supports simple software RAID. Here’s how to do it, using low-cost storage you already own: a bunch of USB flash drives. (I’d say I created a RAID array of USB drives simply to demonstrate the technique, but really… one reason to do this is because, well, I could. We techies can be so easily amused.)

There’s no such thing as enough disk room or a safe-enough hard drive. The moment you think you have enough hard disk space, you find yourself collecting high-definition videos or your hard disk starts whining and clicking. One solution to both problems is to use an ancient computing technique that dates back to when a big hard drive was 5 MBs and came in a casing as large as a washing machine: redundant arrays of inexpensive disks (RAID).

RAID has several benefits. The first is that RAID has the potential to deliver vastly increased data transfer rates. In theory, the input/output transmission rate of a RAID system can be more than ten times greater than a ordinary hard drive.

RAID pulls this trick off by “striping” data across the array’s disks. In English, this means that a file can be distributed across the array so that it can be read or written much more quickly. For example, With RAID, the system will place a file on the media so that while the first part of the file is being read from disk on one array, the second portion is already being picked up from disk two.

By enabling parallel data transfers, data throughput can be multiplied by the number of drives in the array. For example, a four disk RAID could have four times the throughput of an equal-sized single drive. A RAID that’s designed for speed and nothing but speed is called RAID Level 0.

The other major advantage of RAID is that you can mirror data from one drive to another, the most immediate form of backup one could imagine. Its disadvantage is that on RAID Level 1 you can use half a RAID’s maximum drive space for data storage. You also don’t gain the speed boost you get from RAID 0. Advanced versions of RAID let you retain more of the drive room while maintaining your data security. Unfortunately, in Windows 7, you can have one or the other, but you can’t have both.

Not for Most Users

You could, of course, buy a RAID hard drive controller or a full-scale storage area network (SAN) setup such as the Dell/EMC CX4-120. But, if all you need is to get more speed or more data security from existing Windows 7 PCs with multiple hard drives, why not use the tools that Microsoft has already put in the box?

If you opt for this path, you should keep in mind that this is not something you should trust even power users to do on their own. There are several ways to blow a RAID installation in Windows 7, and the worst of them will leave you with a drive that needs a visit to a repair shop, and possibly a user who needs therapy.

Also keep in mind that only Windows 7 Professional, Enterprise, and Ultimate support software RAID. If you’re going to try this, be sure that the PC doesn’t already support hardware RAID in its BIOS. If it does, you’re almost certainly better off using the built-in RAID since it’s very likely to provide much faster performance.

Setting Up RAID in Windows 7

With that in mind, let’s go over the basics. First, to set up a RAID using Windows 7?s built-in tools, you need to be logged in as the administrator. Your drives, or those portions you’ll be using for your RAID, must be the same size. In my case, I used a pair of inexpensive Best Buy 4GB USB Flash drives. A RAID of this size isn’t terribly useful, but I thought it would be interesting to use Flash drives in this way. Also, I couldn’t resist the temptation.

Once the drives (USB or otherwise) are installed and working properly, you’re going to end up blasting every last bit of data off them. That’s because normal, a.k.a. basic, drives with normal partition tables can’t be used in RAIDs. Instead, you need the drives to be set for dynamic storage. A “dynamic” disk can handle the spanned, striped, and mirrored volumes required for RAID. During this transformation, you delete the volumes on the drives and all the data therein.

To do this, head to Administrative Tools and Computer Management. Once there, under Storage, click on Disk Management. Pick the first drive for the RAID, and after making darn sure it’s the drive you really want, click on “Delete Volume.” Then pick out the next drive (you’re sure it’s that one, right?) repeat the “Delete Volume” until you’ve blasted all of them.

Then you move over to disk management to turn the drives into active disks and get rid of any pre-existing volumes.

If for some reason, this isn’t working for you, you can also accomplish the same thing from an enhanced command prompt; follow these instructions.

That destruction done, it’s time to create the RAID. Select the unallocated space in the first drive and right click on it. You are presented with four choices. You can skip the first one, simple (which, for all practical purposes treats as the drive as if were a basic drive). The next choice, New Spanned Volume, lets you treat multiple hard drives just as if they were one large drive. This technique, known by the name Just a bunch of disks (JBOD), can be useful at times, but since it’s not a RAID technology I won’t bother with it here.

The next choice, New Striped Volume, is where things gets interesting. If you elect to turn your drive (and its twin of course) into this kind of volume, you’ll end up with a RAID 0. In my informal testing, using my Mark 1 eyeball and PassMark PerformanceTest 7, I saw the average transfer rate increase by an average of 75%. Usually RAID 0 will produce a speed boost of about 100%, but I suspect what I was seeing was the result of an overworked USB controller rather than what you’d expect from Windows 7 RAID 0 with a more conventional setup.

Of course, the downside of creating an array of USB drives using RAID 0 was that my data wasn’t one bit more secure than it ever was. For better security, I needed the last available choice on the menu: New Mirrored Volume. With this, I created a RAID 1 drive. My two 4GB drives now gave me the equivalent of a single 4GB drive. In addition, my USB drives’ performance dropped by about 20%.

On the other hand, when I finally mangled the data of one of the USB drives — by repeatedly jerking one drive out of its socket with the fervor of a mischievous teething puppy let loose in a data center — I still had the data untouched and ready to go on its mirrored twin. As someone’s who dropped more than his fair share of laptops over the years, I can see how having an on-board mirror or an attached USB hard drive would be very useful at critical times.

Finally, I should note that during my week-plus of abusing and beating on these two generic USB drives to the tune of several thousand reads and writes, the drives held up remarkably well. While it’s commonplace to claim that a USB Flash drive can handle up to a million read and writes, I’m not sure I buy that. I am sure now, however, that even ordinary USB Flash drives, so long as they don’t end up in the washing machine, are likely to be good for years and years of ordinary use.

A version of this story was first published in IT Expert Voice.

April 26, 2010
by sjvn01
6 Comments

Android and Linux are growing back together

Google’s Android, the increasingly important embedded Linux, has had one major problem. It had been moving slowly away from the Linux mainstream. Now, after the recent Linux Foundation Collaboration Conference, Android and Linux are coming back together.

Not only is Google going to be hiring two new Android developers to work closer with the Linux kernel development team, they’re also working on re-merging its driver code with Linux. Indeed, the first series of driver patches that will bring Android and Linux back into alignment have already arrived.

The drift between Android and Linux first came to light as Ryan Paul noted last year when he wrote that “Google engineer Patrick Brady stated unambiguously that Android is not Linux.” Indeed, Brady had said that, but that was an over-statement.

Android is Linux. To be exact, its latest version, 2.1, Éclair, runs on the 2.6.29 Linux kernel. Its userspace, however, instead of being based on the various desktop Linux software frameworks such as GTK+, commonly used in the GNOME desktop or Qt, which is the basis of the KDE desktop is built on top of Dalvik. This is a Google designed custom JVM (Java virtual machine). While this means that using conventional desktop Linux API (application programming interfaces) or porting ordinary desktop Linux programs to Android is very difficult it hardily disqualified Android from being Linux.

No, what was far more troubling was that Google’s engineers were no longer sharing their device driver code with Linux’s development community. This led Linus Torvalds to drop these drivers from the main Linux kernel.

More >

April 23, 2010
by sjvn01
1 Comment

Ubuntu would welcome Adobe to Linux

I recently suggested that, given Apple and Adobe’s growing war over iPad and iPhone applications, it would make sense for Adobe to move not only its end-user applications, but its Creative Suite development stack to Linux. While I don’t know if Adobe is considering it, Canonical, the company behind Ubuntu Linux, would welcome Adobe.

Gerry Carr, Canonical’s marketing manager told me that “in a recent survey we did of the Ubuntu User base where we got 32,000 plus responses, Adobe Photoshop as a potential application for Ubuntu got a 3.52 rating out of 5 being the second most popular potential app after Skype.”

That doesn’t come as any surprise to me. Photoshop has long topped the list of most wanted proprietary programs on Linux users’ wish list. You may be wondering why this is so since Linux already has GIMP (Gnu Image Manipulation Program), which is also a very strong image editing program.

More >

April 21, 2010
by sjvn01
0 comments

Hey Adobe, Dump Apple, Go Linux

Who can blame Adobe for being ticked off? They wanted a slice of the lucrative Apple iPad/iPhone application business, and Apple won’t let Adobe applications, or even Flash, on either platform. So, first Adobe started cussing Apple out, then Adobe started thinking about suing Apple, and, now, they’re talking about abandoning the iPad/iPhone platforms. That’s lame. Apple’s already told Adobe that they’re not welcome. I have a better idea. Forget about Apple, go Linux instead.

Mike Chambers, the principal product manager for developer relations for Adobe’s Flash, has already suggested that Flash developers start working Google’s Linux-based Android operating system “The iPhone isn’t the only game in town,” said Chambers.

Exactly. There are at least a dozen Linux-powered iPad clones on their way to market, and most of the early ones appear to be using Android. In addition, there are already popular Android-powered smartphones like Motorola’s Droid. There’s money to be made in tablets and smartphones that has nothing to with either iPads or iPhones.

More >

April 21, 2010
by sjvn01
1 Comment

Craigslist Scams

I spend so much of my time on computer and Internet security issues that I sometime forget that good old-fashioned scams are part and parcel of the dangers of being online as well. I was reminded of that when a Washington, DC area friend called me recently to ask if she should provide credit card information online for a Craigslist’s apartment rental. I checked it out, and boy, am I glad I did.

I called the contact info for the rental listing, and asked why they needed her credit card information. After fumbling for an answer like a five-year old trying to explain why the cookie jar was empty for a few minutes, they hung up. Further checking revealed that the ‘rental’ apartment was already happily occupied by its owner.

More >