Skip to main content

Posts

Showing posts with the label solaris

Add a mirror with ZPOOL/ZFS

Recently I had a huge debacle involving a USS7110, which happens to be a Sun x4240 with ZFS, moderately over-glorified ;-) As a result of the disaster I was essentially pulling the mirror disk from my alternate system (uss02) and putting it into my primary system (uss01) to get that system running again. Simple enough... I guess. The problem I ran into, and this will be specific to the USS only, is that the drives in the array are either identified as "system" or "data" (which you can see from the BUI). During my drive swapping, I had pulled the "data" spare, and mirrored the "system" OS disk to it. Somehow it left the data disk-type stamp on it. The drive mirrored fine and all, but when I would go to create a new zpool, the OS drive would appear to be a valid disk to put the data on. I obviously didn't go through with that step, but I can't imagine what would happen if I had. Chances are you will never be in the position ...