Posts Tagged ‘Miserable’

The Superblock Corruption

Monday, August 7th, 2006

Post Rock? Post Punk Prog? Turntablism? Art Rock? Noise? A friend of mine thinks that The Superblock Corruption would make a fine name for a band and so would I if it were not for the fact that those three little words ruined my Friday night.

All fired up to install the set of 400GB SATA drives, I upgraded my installation of Ubuntu earlier that evening, and around 9:20 PM rebooted and logged in to make sure that everything was running fine. Confident that it would only take the time to track down a torx driver I shut down, popped the case, and got to work setting up the drives. Everything went smooth until I booted up.

The new drives were detected and with a flash a message flew by saying that the BIOS had been updated then it prompted me with the on-time question of which drive I wanted to boot from. Choosing the master drive I struck the enter key and waited. “No OS Found,” was the message that greeted me. Ctrl-Alt-Delete thinking maybe I chose wrong but this time the monitor went dark while the hard drives churned. Reducing the variables is my mantra when troubleshooting so I powered down and removed everything from the chain that could cause a problem except the boot drive. Nothing.

Gnashing my teeth in frustration I turned off the PC, unplugged and reset all the cables, counted to ten, and rebooted. This time greeted by the graphical boot process monitor my spirits lifted and I felt all was under control, that is until it paused on the Checking Root File system. “One-One-Thousand. Two-One-Thousand. Three-One-Thousand…” At fifteen, “FAILED”, and the system belches out to the command line as root stating matter of factly that Superblock Corruption was detected and I need to run fsck. I reboot into safe mode with the same error plaguing me and attempt to run fsck to repair the superblock.

By 9:50 I learn that UFS is comprised of several parts and the one vexing me is described as “containing a magic number identifying this as a UFS file system, and some other vital numbers describing this file system’s geometry and statistics and behavioral tuning parameters.” Great! I also learn that the command “newfs -N /dev/rdsk/c0t0d0s6” doesn’t work, “The command newfs is unrecognized”, and that “fsck -F ufs -o b=32 /dev/rdsk/c0t0d0s6” yields the same error that superblock corruption exists and I need to run fsck. Fsck indeed!

Around this time my niece fires off the first of many IMs in a near panic as her Sims2 installation melted down. Between reboots I walk her through uninstalling the game:

Her – “UJ! Sims is broken. cant play it!”
Me - “Won’t launch?”
Her - “no. :`-(“
Me
- “Try uninstalling, use Add/Remove”
Her - “UJ, there is no addremove”
Me - “Start–>Control Panel–> Add/Remove Programs”
Her - “I did it from the EA menu”
Me - “Try a reboot and install again.”
Me - “Hold on. fsck is fscking up on me.”
Her - “k”
Her - “wait. fsck???”

And so it goes on as we try and get the game to install and run. Fortunately, she managed to get the core Sims2 game to install but unfortunately none of the expansions will even though we work on it until past midnight.

By this time it is nearly 10:00 PM, and while juggling my niece I resign myself to the plain fact that I cannot boot to this drive and that I need to begin recovering data and getting my hands on my backups. Luckily, I can boot without X running and run mysqldump and tarball the pertinent directories for a near full recovery. Superblock still plagues me during this process but I am able to recover nearly everything I can remember and I tuck it into a safe location so that I can boot to the live CD and dump it to my flash drive.

11:35 PM and the server is 85% operational the only exception is that this blog was rendering as if I had no defined CSS and that permalinks yielded 404 errors. This is the trouble I have with Linux. It runs stable enough that you only need to do things once and when something goes wrong or you need to re-build it is like you are a n00b all over again. Around 12:15 AM I realize that my configuration for WP requires mod-rewrite to be enabled: “sudo ln -s /etc/apache2/mods-available/rewrite.load /etc/apache2/mods-enabled/rewrite.load“. Hey, it’s my website complete with images, CSS, and permalinks!

The night wears on as I put together my cron-jobs, troubleshoot a buggy Drupal installation, bonus for being able to upgrade to the latest build without trashing the database; score Drupal (3) – Me (1), and being rebuilding my music collection on these massive drives. Sometime on the cusp of 2:00 AM I finish with eyes burning and shoulders stiff I turn off the monitor and shuffle off to get ready for bed thinking that I only have a handful of hours before I need to talk Peri out for his morning walk.

Lessons learned:

  1. Always backup before upgrading either the OS or the hardware.
  2. Make regular complete backups and always have them available on removable media.
  3. Try and be helpful to your niece even though she should be in bed.
  4. Superblock corruption makes for a better band name than an error late on a Friday night.

Summertime and the living is…Sneezy

Tuesday, July 25th, 2006

Cold MedicineThe ever-shifting New England weather is making me feel like a hockey puck in the closing minutes of the third period: pounded. My head is stuffy and throat is sore. All I want to do is sleep. Focusing on writing, reading, and even answering the phone at work feels like a Herculean task.

Beyond the bitching, this weekend I snagged some decent albums over at emusic: Colette & DJ Heather’s House of Om, Dieselboy’s The Human Resource, and John Digweed’s Transitions. Epic length for certain with both House of Om and The Human Resource checking in at around thirty-two tracks apiece but Digweed’s is a seventy-four minute continuous mix encapsulated in a subscription friendly single track. I’m hoping to tackle some for Candied Pop this week, though my review backlog is huge because I’m a dangerous combination of lazy and unfocused.

Pass the tissues, please.

Spring has sprung a cold on me.

Monday, May 22nd, 2006

SneezeFor the most part, Summer, Fall, and Winter pass by without incident but there is something about Spring that carries of illness on the wings of a butterfly. These colds are almost always of epic length, creeping up slowly over a week then launching a full assault that can last from days to weeks and in one extraordinary case laid me out for some six weeks. The fear of being besieged for a better part of the season fills me with dread and only serves to compound my symptoms.

The six week cold arrived in my last year of grad school. I had been attending non-stop for twenty-one months: six weeks on one week off and when I wasn’t at work I was study, writing, papers and doing research. My body eventually gave up and let the hordes of Spring through the gates of health. It was a struggle, I was to be a best man in a wedding, I had no vacation time, and the school work was piling up as well as various projects at work. Taking fistfuls of Dayquil was the only recourse I had as it became harder and harder to breath with the weight of sickness descending into my chest. Looking back on the wedding pictures I looked like something of a puffy wraith with red-rimmed eyes sunk into purple-black holes, the video picked up my labored breathing and my wet rattle of a cough. Good memories for the bride and groom.

This years cold has entered its second week, growing stronger with each passing day and I am left wondering when my body will make its stand. I’ve been keeping the supply lines of tea, water, vitamins, aspirin, and food moving but it seems to be doing little against the assault of Spring. I fear that my walls will soon be overrun and only the advent of summer with its hot, dry days will prove to be my salvation. Only time will tell.