Another Linux distribution looks to be hitting the net in the next few days, dubbed PyroLinux. The site looks impressive but I’m seriously underwhelmed by what I’m reading about the OS itself. For starters, it’s based on Ubuntu and seems to have just added some packages in by default, including non-free drivers and codecs (a la Mint) and some “fancy” apps like Avant Window Navigator dock.
Whilst I’m all for diversity in Linux distros I would prefer if people actually had something to show, or at least had a semi-original idea, before submitting their distro on Digg and trying to build hype. I mean, really, why on Earth would anyone want to use PyroLinux? To save themselves the 5 minutes it would take to install AWN?
Yes folks, my new PC is now up and running. Everything seems to have gone swimmingly hardware-wise. Today I got the final pieces of the system: a Winfast 8800GTS 640MB and a Ritmo “55-in-1″ card reader.
Read the rest of this entry »
Jun
21
Uncategorized,
linux,
software,
ubuntu
I think my RAIDing days are over. I tried and tried … and tried, and failed. Perhaps Ubuntu is not yet ready for RAID. Perhaps I am not worthy. Regardless, I packed in the towel on having an ultra-cool and very geeky RAID1 system set up and started setting up a boring rsync backup system. At least with Linux I can rsync most of the system files as well so, should the dreading day come, recovering from a catastrophic hard drive failure will be fairly quick and painless.
Let’s hope that day never comes!
I did get the chance to install Ubuntu again as a simple desktop system. I used the alternate install CD again since I like the X setup in that … and I was trying to recover some geek points. I now have to write up the scripts to do the regular backups. I’m currently trying to work out what a decent interval between syncs is. I think every hour might be too often and a day’s interval seems like too long. Anyone have any suggestions?
Quick and to the point: the software RAID, despite booting properly and having everything appear to work, is useless. I disconnected the second disk in the RAID1 array and the OS refused to boot. I have no idea why. I think this has gone far beyond frustrating at this point. If I’m left with a RAID1 system that can’t even boot if a disk is missing then there’s no point having it the first place and I want my 250GB back.
My next step will be, having convinced the owner of the system to try out a proper hardware RAID card, to see if a hardware RAID1 will overcome these problems. I’ll have to look into it some more first of course and I’ll see if I can work out what is going wrong with the software implementation.
I also promise that not every post in the future will be about RAID!
UPDATE: A new plan has been formulated! I’m going to attempt separating out the /boot partition from mdadm’s clutches and then using rsync to make sure that both /boot partitions on each disk are kept in sync. Let’s see if that works.
The saga continues! Well, after looking into software RAID on Linux everything pointed to me having to install the system all over again. I tried to find an easy way of using the existing partitions (such as by setting up the secondary disk as a RAID device, copying the partition data from the primary disk, then formatting it, adding it to the RAID device and finally rebuilding the RAID) but that was going to be a lot of hassle with no guarantee of success. So I decided to just bite the bullet and reinstall with one of the Ubuntu alternate install discs.
Read the rest of this entry »
Jun
15
Uncategorized,
linux,
software,
ubuntu
Continuing on from the previous post, I have looked into various ways of achieving the RAID1 functionality that I need. After browsing some information on RAID on Linux, it seems that the reason the hardware RAID didn’t want to work is that it’s not actually a hardware RAID. The Intel Matrix Storage chipset requires that the operating system have drivers installed that handle all of the actual work involved in running a RAID (which is why these types of RAIDs are called “fake raids”). I believe these drivers do exist for Linux but they’re a pain to set up.
So, following that I looked into LVM, the Logical Volume Manager, as from my shallow understanding of it I believed that it would do what I wanted. Turns out I am slightly wrong in that respect. What LVM really does is allow for partitions to be spread across multiple physical disks and for those physical disks to change without affecting the virtual disk images that all your data is stored on. (For example, you could add more disks to semi-dynamically increase the size of your /home partition.) LVM is also a pain to set up from what I’ve seen and cannot be used as a boot partition. So it doesn’t handle RAID-like functions in the way I’d thought.
I did discover that there are softwares available to handle a “software RAID” on Linux, similar to what the “fake raid” drivers would achieve, without a lot of the hassle. The one I found, mdadm, actually creates “RAID” functionality by combining multiple partitions into a single virtual partition. This increase the flexibility slightly as you don’t need to have a set of identical physical disks. (Also of interest with mdadm is that it seems to have been written by someone from the University of New South Wales - go Aussies!)
I’m going to see how this new method goes tomorrow!