Homebrew Hybrid Storage Pool
By searchguy on Aug 11, 2009
The answer is to use an SSD as a ZIL vdev, so I talked the wife into letting me get 16GB SATA II drive, which I just put into the machine. There was a bit of a tense moment (note: this is what we in the business call an understatement) when the file systems on my big pool didn't appear right away (me:
ls /tank, machine:
I got nothing, me: WTF!?), but they appeared eventually and all I had to do was
svcadm clear a couple of services that depended on them. Note to self: make those services dependent on the ZFS file systems being available.
The SSD was all the way off on
c11d0 for some reason, but ZFS was happy to replace my ZIL with the new vdev, so now I'm sitting here watching this:
root@blue:~# zpool status -v tank pool: tank state: ONLINE status: One or more devices is currently being resilvered. The pool will continue to function, possibly in a degraded state. action: Wait for the resilver to complete. scrub: resilver in progress for 0h21m, 57.62% done, 0h15m to go config: NAME STATE READ WRITE CKSUM tank ONLINE 0 0 0 raidz1 ONLINE 0 0 0 c4d0 ONLINE 0 0 0 c4d1 ONLINE 0 0 0 c5d0 ONLINE 0 0 0 c5d1 ONLINE 0 0 0 logs replacing ONLINE 0 0 0 /rpool/slog/current ONLINE 0 0 0 c11d0 ONLINE 0 0 0 errors: No known data errorsYes, I called my big pool tank. I'm a ZFS nerd, I guess. Tomorrow I'll plug the Mac Book into the gigE and see how Time Machine does over iscsi. I'm hoping for big numbers.
Update: I'm glad that I didn't stay up until it finished:
root@blue:~# zpool status -v tank pool: tank state: ONLINE scrub: resilver completed after 2h37m with 0 errors on Wed Aug 12 01:27:18 2009 config: NAME STATE READ WRITE CKSUM tank ONLINE 0 0 0 raidz1 ONLINE 0 0 0 c4d0 ONLINE 0 0 0 c4d1 ONLINE 0 0 0 c5d0 ONLINE 0 0 0 c5d1 ONLINE 0 0 0 logs c11d0 ONLINE 0 0 0 errors: No known data errors