7

Can more physical drives be added to mirror vdevs after a zpool has been created?

For example, if a zpool is created using:

zpool create test_pool mirror /dev/sd0 /dev/sd1 mirror /dev/sd2 /dev/sd3

Can more drives be added to the vdevs to increase their redundancy? That is, can the number of mirrored drives be increased from 1 to 2?

Greg
  • 1,745

1 Answers1

11

Yes. Yes they can.

Something like the following would add to an existing mirror and yield a triple-mirror, given the example above:

zpool attach test_pool /dev/sd0 /dev/sd4
zpool attach test_pool /dev/sd2 /dev/sd5
ewwhite
  • 201,205