Replacing all hard drives in a pool

I recently have had issues with one or two of my drives intermittently causing problems but I have finally brought replacements. Looking at my pool status one of the drives now says faulted. I have tried to replace this with a hot spare however for some reason it fails stating the volume is too small despite them being identical disks.

My question are

  1. Do I need to replace this faulted disk out before replacing all the drives in the pool with my new hard drives.
  2. Currently I have 8 x 2Tb drives (RAIDz2) and these are to be replaced with 3x10Tb drives so will have to be changed to RAIDz. Is this possible or will I have to buy a 4th drive?
  3. What is the easiest way to replace all drives in a pool? I am a complete newby so as close to a step by step would be amazing or a link to a guide :slightly_smiling_face:

Any help greatly appreciated.

Thanks in Advance

Afaik you can’t pass directly from raidz2 to raidz1, you must ricreate your pool and replicate data on It. How many SATA ports free do you have available?
Because if you can put all disks in the Nas, basically Is just an internal replication + pool rename… And actual data will still remain available in the old disks for every need

1 Like

Thanks for your reply. I’m sure I have enough sata ports to add in the new drives.
What’s the easiest way to copy everything from the original pool to the new pool?

The easiest way would be a simple copy. Don’t do this.

The best way is

  1. zfs snapshot …
  2. zfs send … | zfs recv …
  3. zfs destroy …

See:

This transfers litterally everything.

There’s no need to bother with send/recv from the command line: Setup a one-off replication task in the GUI.

2 Likes