yummygizzards
n00b
- Joined
- Mar 2, 2014
- Messages
- 49
I currently have two HGST Deskstar NAS 4 tb drives configured as a single vdev (ZFS mirror) in nas4free. The drives are ~2.5 years old and have no S.M.A.R.T errors and all scrubs have been clean. The pool is at ~90% capacity and I want to add another two HGST Desktar NAS 4 tb drives to enlarge the pool. There are two strategies that I can think of to accomplish this task, and I am wondering if there are any gotchas with either one or reasons one is superior to the other:
In strategy #1, I can simply create another vdev with the two new drives also as a ZFS mirror and add this vdev to the pool. This strategy would effectively double the pool size, but the vdevs would be very unbalanced at the start, and there is some risk that the new vdev might fail if one of the new drives turns out to be a lemon.
Strategy #2 would be to create a completely new pool with the two new drives, but put each drive alone in their own vdev. Then, I could create a snapshot of the old pool root dataset, “zfs send” this snapshot to the new, empty pool, export and import both pools to rename them, detach the old drives from the old pool and destroy it, and finally move the two old drives to the new pool, each old drive as a mirror for a new drive. This strategy would result in balanced vdevs but each individual vdev would have drives of two different ages and perhaps slightly different performance. Did I miss any key steps with strategy #2? Any compelling reason to pick #1 over #2 or v.v.?
In strategy #1, I can simply create another vdev with the two new drives also as a ZFS mirror and add this vdev to the pool. This strategy would effectively double the pool size, but the vdevs would be very unbalanced at the start, and there is some risk that the new vdev might fail if one of the new drives turns out to be a lemon.
Strategy #2 would be to create a completely new pool with the two new drives, but put each drive alone in their own vdev. Then, I could create a snapshot of the old pool root dataset, “zfs send” this snapshot to the new, empty pool, export and import both pools to rename them, detach the old drives from the old pool and destroy it, and finally move the two old drives to the new pool, each old drive as a mirror for a new drive. This strategy would result in balanced vdevs but each individual vdev would have drives of two different ages and perhaps slightly different performance. Did I miss any key steps with strategy #2? Any compelling reason to pick #1 over #2 or v.v.?