[OmniOS-discuss] changing sector size for pool
Doug Hughes
doug at will.to
Sat Nov 21 18:32:47 UTC 2015
yep:
Vendor: ATA ,Product: HGST HDS724040AL ,Revision: A580 ,Serial No:
PK1331PAGKW5RV
Vendor: ATA ,Product: HGST HDS724040AL ,Revision: A580 ,Serial No:
PK1331PAGP029V
Vendor: ATA ,Product: HGST HDS724040AL ,Revision: A580 ,Serial No:
PK1331PAGWABES
Vendor: ATA ,Product: HGST HDS724040AL ,Revision: A580 ,Serial No:
PK1334PBJH0R8S
Vendor: ATA ,Product: HGST HDS724040AL ,Revision: A580 ,Serial No:
PK1381PBG9Y3TS
Vendor: ATA ,Product: HGST HDS724040AL ,Revision: A580 ,Serial No:
PK2301PAJNW54T
Vendor: ATA ,Product: HGST HDS724040AL ,Revision: A580 ,Serial No:
PK2331PAGU6NZT
Vendor: ATA ,Product: HGST HDS724040AL ,Revision: A580 ,Serial No:
PK2331PAH0KLYT
Vendor: ATA ,Product: HGST HDS724040AL ,Revision: A580 ,Serial No:
PK2381PAJEUMVT
They were all bought in the same batch at the same time. No jumpers
have been changed on any of them. The difference now is that it the host
has an upgraded HBA from when the zpool was originally created so that
it can actually see the larger disks and show it in zpool list.
On 11/21/2015 2:21 AM, Paul B. Henson wrote:
> Are you sure the replacement disk has the same physical sector size? It's not like vendors don't change specs on newer versions of the same model sometimes :(. What exactly is it? Is it by any chance one of those 4K drives with a jumper that controls whether or not it lies about the physical sector size?
>
>> On Nov 20, 2015, at 8:44 PM, Doug Hughes <doug at will.to> wrote:
>>
>> When this pool was setup, it was with a different controller that didn't support > 2TB / disk. When the controller was replaced, the pool is still set for ashift=9, but if I try to replace a disk in it with another disk of exactly the same model I get the annoying error:
>>
>> root at x4275-3-15-22:/root# zpool replace zpool1 c0t5000CCA22BC8F4C2d0 c0t5000CCA3DE1719Fd0
>> cannot replace c0t5000CCA22BC8F4C2d0 with c0t5000CCA23DE1719Fd0: devices have different sector alignment
>>
>> I know there's a -o ashift=9 option for Linux. Is there some sort of equivalent action that I can take, perhaps upgrading the existing zpool without having to recreate it?
>>
>> Thanks
>>
>> _______________________________________________
>> OmniOS-discuss mailing list
>> OmniOS-discuss at lists.omniti.com
>> http://lists.omniti.com/mailman/listinfo/omnios-discuss
More information about the OmniOS-discuss
mailing list