> On Sep 20, 2016, at 6:48 AM, Humberto Ramirez <harl2...@gmail.com> wrote:
> Is there a definitive approach / guide / manual / wiki as to how to properly
> work / replace 4k - 512 - 512e disks? This has been asked before, here and in
> some other lists and obviously continues to be a source of problems and
The reason the mismatch is reported is because it causes pain and tears if you
Do yourself a favor and don’t replace 512n drives with 512e.
> On Sep 19, 2016 11:54 PM, "Joshua M. Clulow" <j...@sysmgr.org
> <mailto:j...@sysmgr.org>> wrote:
> On 19 September 2016 at 20:12, 郑圆杰 <zhengyuan...@briphant.com
> <mailto:zhengyuan...@briphant.com>> wrote:
> > I have created an zpool with ashift=9.
> How did you do this? Just by using disks with native 512 byte
> sectors, or through some other mechanism?
> > Now a disk is out of service. And I try to replace with a new disk.
> Is the replacement disk a different model from the original disk?
> > Unfortunately, new disk reports that the physical sector size is 4k. Some
> > error occurs when trying exec command “zfs replace”/ “zfs attach”.
> Do you know if the new disk is an "Advanced Format" disk (aka "512e")?
> That is: does the new disk present 4KB physical sectors, but provide
> emulation for legacy 512 byte sectors?
> If the new disks are 4K native, I'm afraid you cannot use them in an
> ashift=9 pool. If the disks _do_ provide an emulated 512 byte logical
> sector size, you might be hitting this bug:
> https://smartos.org/bugview/OS-4718 <https://smartos.org/bugview/OS-4718>
> If these _are_ Advanced Format (512e) disks, you might want to try
> this custom patched platform:
> This custom platform image includes an attempted fix for OS-4718 which
> should help. Source diff for the platform build is here:
> Let me know how it goes!
> Joshua M. Clulow
> UNIX Admin/Developer
> http://blog.sysmgr.org <http://blog.sysmgr.org/>
> smartos-discuss | Archives
> <https://www.listbox.com/member/archive/rss/184463/21953302-fd56db47> |
> Modify <https://www.listbox.com/member/?&> Your Subscription
RSS Feed: https://www.listbox.com/member/archive/rss/184463/25769125-55cfbc00
Modify Your Subscription:
Powered by Listbox: http://www.listbox.com