Tag: vdev

  • ZFS: Adding a new mirror to an existing ZFS pool

    ZFS: Adding a new mirror to an existing ZFS pool

      Mirrored vdevs are great for performance and it is quite straight-forward to add a mirrored vdev to an existing pool (presumably one with one or more similar vdevs already):   zpool add [poolname] mirror [device01] [device02] [device03]   If it’s a two-way mirror you will only have two devices in the above. An example…

  • Western Digital Green drive resilver rates

    Western Digital Green drive resilver rates

        We get asked fairly regularly about resilver rates for ZFS pools – these matter as it impacts on how quickly a vdev with faulty disks can rebuild data onto a fresh disk, as well as how quickly you can swap one disk for another. The longer it takes to rebuild the vdev after…

  • ZFS: Replacing a drive with a larger drive within a vdev

    ZFS: Replacing a drive with a larger drive within a vdev

    One way to expand the capacity of a zpool is to replace each disk with a larger disk; once the last disk is replaced the pool can be expanded (or will auto-expand, depending on your pool settings). To do this we do the following:   zpool replace [poolname] [old drive] [new drive]   e.g.:  …