gmirror

Replaced a drive? What about that gmirror swap?

I just swapped out a drive which was involved in a gmirror swap. This is the current status: $ gmirror status Name Status Components mirror/swap DEGRADED da0p2 (ACTIVE) da2p2 (ACTIVE) da3p2 (ACTIVE) da4p2 (ACTIVE) da5p2 (ACTIVE) da9p2 (ACTIVE) da10p2 (ACTIVE) Here is how I can fix that: sudo gmirror forget swap The above tells gmirror to forget about components which are not connected. As you can see here, it makes gmirror happy. $ […]

Replaced a drive? What about that gmirror swap? Read More »

Creating a gmirror swap

This is mostly a note to myself. #### Edit: 2018.09.08 : If you see messages like this: $ sudo gmirror insert swap /dev/da5p2 gmirror: Class not found $ gmirror list -a gmirror: Command ‘list’ not available. You probably need to do this: sudo kldload geom_mirror #### I had these drives: They are involved in this zpool: I decided to create a 6-way mirror for swap: sudo gmirror label -v -b round-robin swap diskid/DISK-653DK7WBFS9Ap2

Creating a gmirror swap Read More »

Scroll to Top