... aka: user/sysadmin nightmares.
There are days when I wake up determined in making a really huge/dangerous change in my IT life. Some new/strange/crazy idea pop up in my brain during REM stage of sleep. When I wake up, I have to do that.
Usually, when a day starts in this way, by the end of the day the only things that remains are rubble and debris. And a few tarballs of backups (I'm destructive, but not stupid :e )
At home these days are easily identifiable by my girlfriend shaking her head in disapproval. At work, I am clever (lucky?) enough to destroy & fix all before evening.
The good news is that I usuallydestroy damage gently touch only test machines, not production ones. The bad news are that despite the fact that these are "test" machines, I need them, or simply I don't have enough time to fix them "in case something goes wrong"...
A few monts ago I've had one of these "enlightened" days.
Following some of the great HOWTOs in the forum, I created a full-encrypted geli system, in the usual way: unencrypted boot partition, and everything else in a geli encrypted disk.
Works flawlessly.
I've spent weeks to configure this machine, it was nearly perfect. It was even a configuration testbed for my home machine - which is sacred!
But that day, I woke up with one objective: upgrade the system from 8.2-RELEASE to 9-STABLE. Easy.
Download sources... ok.
make buildworld/kernel/installworld... done
Reboot... done.
Then the nightmare begins.
Nearly every command resulted in a core dump - even the shell! What's happened? Stay calm and investigate:
Panic. And under panic, humans have an abnormal behaviour...
From bad to worse, it was a hurricane of core dumps.
At that point, the machine was totally FUBAR. I created a new virtual machine, geli encrypted, reinstalled (this time from a 9.0-RELEASE image), restored configuration backups (restoring dump of a 8.2-RELEASE onto a 9.0-RELEASE did not seem like a good idea...) and finally started the upgrade procedure to 9-STABLE (I'm obstinate).
Wait...
Wait... WAIT!!! /boot... oh my...!!!
Here was the problem! In the first machine I forgot to link the (encrypted) /boot directory to the (clear) /boot partition! So in practice I was using a 9-STABLE system with a 8.2-RELEASE kernel!
A silly oversight has nuclearized my beloved machine (well, to be honest the "Little Boy" of the situation it was me)
In the end, all went fine, I've lost some hair and an entire day recreating something that the previous evening already existed, but at least I have learned something!
And the FreeBSD virtual machine still runs like a charm (now 9.1-STABLE).
There are days when I wake up determined in making a really huge/dangerous change in my IT life. Some new/strange/crazy idea pop up in my brain during REM stage of sleep. When I wake up, I have to do that.
Usually, when a day starts in this way, by the end of the day the only things that remains are rubble and debris. And a few tarballs of backups (I'm destructive, but not stupid :e )
At home these days are easily identifiable by my girlfriend shaking her head in disapproval. At work, I am clever (lucky?) enough to destroy & fix all before evening.
The good news is that I usually
A few monts ago I've had one of these "enlightened" days.
Following some of the great HOWTOs in the forum, I created a full-encrypted geli system, in the usual way: unencrypted boot partition, and everything else in a geli encrypted disk.
Works flawlessly.
I've spent weeks to configure this machine, it was nearly perfect. It was even a configuration testbed for my home machine - which is sacred!
But that day, I woke up with one objective: upgrade the system from 8.2-RELEASE to 9-STABLE. Easy.
Download sources... ok.
make buildworld/kernel/installworld... done
Reboot... done.
Then the nightmare begins.
Nearly every command resulted in a core dump - even the shell! What's happened? Stay calm and investigate:
A broken geli provider? No.
Some radical change in system libraries? /usr/src/UPDATING shows nothing unusual.
A corrupted filesystem? all is ok.
Panic. And under panic, humans have an abnormal behaviour...
Ok, let's recompile ALL ports...
From bad to worse, it was a hurricane of core dumps.
At that point, the machine was totally FUBAR. I created a new virtual machine, geli encrypted, reinstalled (this time from a 9.0-RELEASE image), restored configuration backups (restoring dump of a 8.2-RELEASE onto a 9.0-RELEASE did not seem like a good idea...) and finally started the upgrade procedure to 9-STABLE (I'm obstinate).
make buildworld
Wait...
make kernel KERNCONF=MYCONF KODIR=/boot/testing
Wait... WAIT!!! /boot... oh my...!!!
Here was the problem! In the first machine I forgot to link the (encrypted) /boot directory to the (clear) /boot partition! So in practice I was using a 9-STABLE system with a 8.2-RELEASE kernel!
A silly oversight has nuclearized my beloved machine (well, to be honest the "Little Boy" of the situation it was me)
In the end, all went fine, I've lost some hair and an entire day recreating something that the previous evening already existed, but at least I have learned something!
And the FreeBSD virtual machine still runs like a charm (now 9.1-STABLE).