In theory, if I swap the disks, the new disk should retain the same ID (i.e. ada1) and will be inserted into array as ada1p2. I hope FreeNAS will not see the new disk with a incremental value ada7 and add it to array as ada7p2?
Do you have an empty bay available? From what I've read it's considered better to replace a drive while the original is still around. Given that you are using double-parity it's not as much of a concern.
Assuming you have the new disk plugged into the same SATA port, I would
not expect the disks to be enumerated any differently. If you are concerned about it you can always
wire down the device names to a particular port.
I have a spare box running on CentOS 6 but I'm not comfortable fiddling with partitions and changing disk serials.
The
match serials step was for keeping track of which disks are which. On a piece of paper record the new disk serial
#NEW***xx and beside it the old disk serial
#OLD***xx. Then install the new disk in the correct spot, not that it will matter much to ZFS. You don't, not to mention can't, change the disk serial number using the method above.
No partition fiddling necessary. You would clone the contents of the partition if you used partitons. If you used whole disks you don't have partitions and don't have to think about them.
Anyways, I cannot take the chance to "hope" things will work, I need some confirmation from anyone else who did it successfully and increased their array safely with the method you mentioned.
The above method is safe, as safe as anything is with
dd/ddrescue commands. If you are uncomfortable with them, which is understandable, then you should do it the proper way. As far as confirmation, a scrub will confirm it worked. No hope needed.
When i first posted the above, I don't think I would have tried it with my own data. I still wouldn't if I didn't have all the disks at the start. I would try it myself, but I still need to expand the number of drives I have.