Hey all,
I've got a biggish ZFS setup consisting of 6 drives (2 raidz vdevs, 3x 1TB and 3x1.5TB)
Recently 1 of the 1 TB drives died, an other is on the verge of dying.
Since the new 1TB drive I got out of warranty had exacly the same sector count I just dd'ed the old MBR from one of the other drives (the 3 1TBs consist of a 50gig partition being gmirrored, an 4 for swap and rest for ZFS) and I noticed horrific performance.
Doing some googling I found out that my new drive is 4K aligned, all the other old ones are 512byte.
Since one of the other 1 TB's is also failing I'll get another out of warranty with the same 4k specs, and I also bought a new 1Tb to replace the third before it fails.
I redid the partitioning on the new drive, dropping the swap slice and aligning the 50gig slice to 4k boundaries, I did the same for the ZFS slice.
Will ZFS automagicly pick up the correct physical aligmnment of the drive ? If not is there a "hack" to make it work ? (one that does not involve replacing all drives with 4k ones and exporting and recreating the pool)
Camcontrol does identify the drive as having a physical sector size of 4k with a logical size of 512
I've got a biggish ZFS setup consisting of 6 drives (2 raidz vdevs, 3x 1TB and 3x1.5TB)
Recently 1 of the 1 TB drives died, an other is on the verge of dying.
Since the new 1TB drive I got out of warranty had exacly the same sector count I just dd'ed the old MBR from one of the other drives (the 3 1TBs consist of a 50gig partition being gmirrored, an 4 for swap and rest for ZFS) and I noticed horrific performance.
Doing some googling I found out that my new drive is 4K aligned, all the other old ones are 512byte.
Since one of the other 1 TB's is also failing I'll get another out of warranty with the same 4k specs, and I also bought a new 1Tb to replace the third before it fails.
I redid the partitioning on the new drive, dropping the swap slice and aligning the 50gig slice to 4k boundaries, I did the same for the ZFS slice.
Will ZFS automagicly pick up the correct physical aligmnment of the drive ? If not is there a "hack" to make it work ? (one that does not involve replacing all drives with 4k ones and exporting and recreating the pool)
Camcontrol does identify the drive as having a physical sector size of 4k with a logical size of 512