Replies: 1 comment 3 replies
-
ZFS unlike some other FS'es does not operate sectors internally, using byte offsets, aligned to ashift. Since ashift selected covers both cases equally, nothing has changed for ZFS. I am surprised you could reformat the drive without loosing the data, and recreated partition table fit into exactly the same offsets, but after that about ZFS I am mush less surprised. Yes, scrub should be sufficient to verify that everything is still properly readable. |
Beta Was this translation helpful? Give feedback.
3 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
After converting a HC550 disk in the ZFS pool to 4Kn, I was surprised to find that I could directly bring that hard drive into an ONLINE state. My initial expectation was that I would need to repartition and rebuild the ZFS pool, but it seems that may not be necessary. Now, I would like to verify the integrity of the ZFS pool. Is it sufficient to use the
zpool scrub
command for this purpose?From 512e to 4Kn, I created a new partition table and partitions, but did not format them. It seems that ZFS found the data that was not destroyed and then prevented the data from being rebuilt.
ashift was already set to 12 when creating the pool. What should I do next? What do you think about switching from 512e to 4Kn?
Beta Was this translation helpful? Give feedback.
All reactions