Hello Team,
I guess I asked this kind of question before, but please let me ask you again for just in case.
Now, I plan to move the other places and I will take all hard drives (3.5 inch) from PC. In this case, I need to memorize about SATA port numbers like SATA1, SATA2, SATA3 of each hard drive and restore them to original SATA port? Or it will doesn’t matter about order? For instance, the SATA1 disk can be restored to SATA2 port?
Thanks for your help!
Destroy your pool and start all over from scratch. It’s the only thing you can do now.
It shouldn’t matter because by default ZFS reads the proper pool metadata on all member devices (partitions or disks) and knows how to properly import the pool. TrueNAS also uses PARTUUID, which is agnostic to the port or “order” a drive is detected.
You can confirm with the following:
zpool status <poolname>
Hi @winnielinnie , thanks for your feedback! Sorry, let me confirm about this again for just in case.
Here is example.
The DISK1 connect to SATA(B) port.
The DISK2 connect to SATA(C) port.
The DISK3 connect to SATA(D) port.
In this case, the DISK3 connect to SATA(B) port, the DISK2 connect to SATA(D)port and the DISK1 connect to DISK(C) port should work.
Thank you for your time!
It shouldn’t matter. ZFS doesn’t care. It reads the pool metadata on all member devices and knows how to import the pool. On top of that, TrueNAS uses PARTUUID, which are unaffected by disk order or port location.
See for yourself:
zpool status <poolname>
ls -1 /dev/disk/by-partuuid
Thank you so much for your help!!