A new start

I decided I needed some more room on my home Linux box, so I bought a couple of 2TB disks. I also decided it was time to do a wipe and re-install because the box has been upgraded many times and there are several things that just don’t work right any more. So I burned a bunch of different distros onto CDs and experimented with them, and decided that Kubuntu is the best combination of beauty and power. None of the other distros except Debian allows you to set up lvm on RAID-1 while installing, and Debian looks like a bit of a dogs breakfast compared to Kubuntu, even in KDE.

The two new disks are so big that as it is, I’m only using them for the new installation, so the I can mount the old system under /old_system and I can compare everything to make sure I haven’t lost any important configuration. But eventually I’ll be able to delete those partitions and add them back to the free pool in the LV and use them to expand any of the actual in-use partitions. I love lvm.

Installation has gone ok, I’ve got about 3/4s of the things I need to get working again working again, but I’ve hit the usual string of snags. The biggest is that one of the two new disks keeps dropping out of the RAID1, so I have to keep adding it back in. I’ve rejiggered all the cables as best as I can, and hopefully it will rebuild overnight and it will be ok. Fingers crossed, I’m off to bed.

Is this even possible?

Ok, here is the current situation: My machine has two identical 500Gb drives, and two identical 1Tb drives. When I first set it up, with just the 500Gb drives, I was using a version of Linux that wouldn’t boot from mirrored lvm partitions, so I set it up

  • /dev/sda1 2Gb /boot
  • /dev/sdb1 2Gb /
  • /dev/sda2 2Gb swap
  • /dev/sdb2 2Gb swap
  • /dev/sda3 and /dev/sdb3 – turned to a mirror, /dev/md0 and then created a
    pv and a vg.

That was working fine for a number of years, and then I added the two 1Tb drives, which I created as a mirror /dev/md1 and added it to the vg.

At this time, I have more more than 500Gb free space in the vg, so I definitely could pvmove and vgreduce and get rid of that. I’d also like to somehow fix it so that / and /boot and swap are on lv and just boot from the two 1Tb drives. The reason I’d like to do that is that

  • a) It’s been bugging me for years that I’m still using physical partitions
    for / and /boot, so I can’t resize them and
  • b) I have two 2Tb disks sitting on my desk that I’d like to add, and I
    don’t think I have enough SATA ports for 6 disks and
  • c) these two 500Gb drives are ancient – they just hit their 5th birthday a
    few weeks ago.

So would it be possible to migrate everything off of /dev/sda and /dev/sdb without major surgery? Or am I going to have to bite the bullet and re-install everything?

Probably time to throw in the towel on the waypoint generators

For years now I’ve been providing aeronautical data for various programs – The Wayback Machine shows it existing in 2001, but I’m pretty sure I was running it before then. The site hasn’t changed much visually since then, since I concentrated on providing good data rather than prettying up the site. But I thought I was providing a good free service and it was worth it to people. I didn’t really push it hard, but I did politely ask for donations, through Paypal and at one time through the “Amazon Honor System” until Amazon killed that. And for a long time, I made about 1/4 to 1/2 as much through that as it cost me in hosting and data costs. But that hasn’t been true for a long time. I just looked at my Paypal history for the last 12 months, and I got two donations of $25 each, one of $3.32 and one of $1.13 (yeah, go figure). $54.45 in a year. That’s it. That doesn’t keep me in thumb drives.

Add on to that the fact that my source of world-wide data, the DAFIF file, hasn’t been updated since 2006 and it’s increasingly been a “US data plus some airport data from here and there”, and I’m worried about presenting this to the world as useful data for anything. I’ve always staunchly maintained that this is just to save you from a bit of data entry for flight planning and not a substitute for official data sources, but it’s just embarrassing to think somebody is going to be looking for navaids and waypoints in Europe, say, and not finding anything that’s still in use. At least airports don’t tend to move around much.

And because the data I have is getting stale, I keep hoping that people would provide feedback on the data I have, offering to provide data for their area or just letting me know if something is wrong. At one time I had a couple of people sending me their data sets which I incorporated into the database. (Although I did have one set of data for Australia where all the airports had the sign of their longitude reversed – I’m pretty sure I purged the last of that.) That was actually more important than the donations to me. It showed people were using the data, and cared when it was wrong.

So I guess what I’m saying is that I’m reconsidering if it’s worth doing this. I’ll still maintain the data for the CoPilot iOS app, that’s a separate database and thanks to Laurie Davis I get world wide data from Eurocontrol that that. But next time I get a data dump from the FAA (September 19th), I’m going to give some thought over whether to load it into both database, or just the CoPilot iOS one.

Am I the only person who thinks this way?

I have a hybrid car, which gives a constant read-out of your average fuel economy, as well as giving you little visual indicators while you’re driving of whether you’re driving it “right” (upshift/downshift indicators, and a big glowing ring around the tach which goes from green to blue if you rev higher or accelerate faster) and when you turn off the car, you get a bar graph showing how economically you drove it, as well as “achievements” and “levels” if you’ve been driving economically for a while.

But like all cars, your average fuel economy for the trip is going to be higher for a longer trip than a shorter one, because the first 5-10 minutes of the trip is warming up the engine and getting the cabin up to the right temperature, etc. So when I’m going for a short trip, like going out for lunch, and trying to choose between two destinations, I have this internal dialog where I first argue for the longer trip to keep the average fuel economy up, but then I have to forcibly remind myself that sure the average is higher, but so is the total fuel burn and it makes no sense to burn more gas just to get a better average.

Somebody told me a while ago that I have an “external locus of control”. I think I’m just a geek.

Fuck you, Officer McDowell, Parking Authority of Baltimore City “meter maid”

So last night I went out to dinner with JoAnne and her husband hPhil. They suggested an Irish pub down in the historic “Fells Point” area in the harbour area. There was a bit of traffic getting there, and lots more traffic in the area. But I lucked out with a parking space very close to the pub, in front of another pub. I quickly strode over to the pay kiosk and paid for two hours (although I found out later that I only really needed to pay for one hour because they don’t require payment after 8pm, but I was in too much of a hurry to look for any information about parking hours), and strode back to the car. I was probably away from the car a maximum of two minutes, and was never more than the width of the street away from the car. So imagine my surprise to find a so called “parking enforcement officer” (although I prefer to use the term “meter maid” because I don’t want to dignify this idiot with any sort of suggestion that she’s actually a trained officer) printing out a ticket. I showed her the paid ticket, and when she deigned to stop talking to whoever she’d been carrying on a running conversation on her cell phone to talk to me, all she could say was “once I’ve printed the ticket, there’s nothing I can do” and that the only way I could dispute it is if I checked off the “I want a trial” on the citation and came back in however many months it takes for it to go to trail. I pointed out that I was just over there at the payment kiosk if she’d bothered to look, and I’d left the car door ajar so it was obvious I was coming back. Even the people sitting at the tables in front of the pub verified that I’d just parked there, and that if she touched the hood of my car she could feel it was still hot. “I don’t have to look at things like that”. Well, fuck you. Is your job parking enforcement, or is it screwing the tourists and making sure they never want to come back.
The evidence