On my lab machines I use a pair of physical disks, configured in a RAID 1 with MD, with LVM on top of that. This gives me a lot of flexibility with full redundancy. However recently I had a failure of a drive. Identify the Failure Here is what MD…
Adventures in ZFS: Mirrored Rpool
It always makes sense to have a mirrored rpool for your production systems, however that is not always how they are configured. This really simple procedure is also critical. Create a Mirrored Zpool Check the existing devices to identify the one currently in use. Once we know which one is…
Adventures in ZFS: Splitting a Zpool
Today we are going to go through the process of splitting a zpool. This is not something that you will do often, but when you do it, you must be very precise and do it properly. Create Our Test Zpool First we will create a ZFS to hold our disk…
Adventures in ZFS: Destroy A Zpool Without Importing
Recently I ran into an issue where I had a zpool that wasn’t imported in a system, and I was unable to import it due to zpool version incompatibilities. This can happen if you are going to a older revision of Solaris or if you are crossing platforms between ZFS…
Adventures in ZFS: Rename a Zpool
Renaming a zpool is not as intuitive as I would expect, but it is still pretty simple. We accomplish this through a three step process, export the zpool, import the zpool (using a new name), validate our mountpoints are how we want them (probably using the new zpool name). Now…