Defragmenting my Solaris partition
By John Clingan on Jun 08, 2006
Today began by adding a second internal disk to my Toshiba Tecra M2 laptop to do some more zfs work. The USB drive was a bit undesirable from the performance perspective and externally clunky, but very usable. I was doing the partitioning under Windows because I had to run a customer's windows application. While I was in the disk management tool, I thought I would defragment my windows partition since the defragmentation tool showed a color-coded mess.
What the hell was I thinking? Not only did it defragment my windows partition, it blew away the boot block. Crap. I boot off my Knoppix CD and activate the partition. Reboot. Up comes windows. Hmmm, yeah, the boot block is hosed. I boot Solaris off CD and figure I'll just mount the Solaris partition to run installgrub.
No matter what I did, I couldn't get the UFS filesystem to mount. I backed up the drive roughly 2 months ago, so i didn't lose everything.
Right now I'm installing Nevada build 41 over the old build. Note-to-self, use the second internal drive to back up the first internal drive. Regularly.