Import by Serial is Progressive
Posted: Fri Oct 23, 2020 3:42 pm
I prefer to see the disks in my pools by serial number. Today, I made a new pool with 16 SSDs. After running my standard zpool create command, I exported the pool then imported it back like this:
12 of the drives showed by serial but 4 did not (I can't remember how they showed). So I exported and imported again. Now, 2 of the 4 drives which were not originally listed by serial were, as well as all the original 12. Then I repeated the process and one more drive showed with serial. Then I repeated the process once more and they all showed with serial. Since then, every export/import cycle results in all serial numbers.
In summary, I had to export/import by serial FOUR times to get all the drives listed by serial, but now it seems permanent. Is this behavior expected?
- Code: Select all
sudo zpool import -d /var/run/disk/by-serial tank
12 of the drives showed by serial but 4 did not (I can't remember how they showed). So I exported and imported again. Now, 2 of the 4 drives which were not originally listed by serial were, as well as all the original 12. Then I repeated the process and one more drive showed with serial. Then I repeated the process once more and they all showed with serial. Since then, every export/import cycle results in all serial numbers.
In summary, I had to export/import by serial FOUR times to get all the drives listed by serial, but now it seems permanent. Is this behavior expected?