update_drv -vf sd sorry, typo
Am 20.09.2016 um 16:00 schrieb InterNetX - Juergen Gotteswinter: > try changing this in /kernel/drv/sd.conf > > sd-config-list= > "", > "retries-timeout:1,retries-busy:1,retries-reset:1,retries-victim:2", > > > to > > sd-config-list= > "", > "retries-timeout:1,retries-busy:1,retries-reset:1,retries-victim:2,physical-blocksize:4096", > > and if any of the other entries matches your disk/ssd and sets it to 4k, > remove it. > > after that, update_drv -vf and try again replacing your disk. worked for > me, even if update_drv tells that it needs to be rebooted. ignore it... > > > Am 20.09.2016 um 06:49 schrieb 郑圆杰: >> Hi Joshua >> Thank you very much! >> The original disk driver just report logical sector size 512 byte without a >> physical sector size. We create the zpool with default setting. >> And zfs use logical sector size as ashift if physical sector size do not >> reported. >> The replacement disk is a different model that report logical sector size >> 512 byte and physical sectory size 4k. >> Memtioned in https://smartos.org/bugview/OS-4718. Zfs will mismatch the >> alignment. >> >> >> 在 16/9/20 11:53,“Joshua M. Clulow”<[email protected]> 写入: >> >> On 19 September 2016 at 20:12, 郑圆杰 <[email protected]> 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 >> >> If these _are_ Advanced Format (512e) disks, you might want to try >> this custom patched platform: >> >> https://us-east.manta.joyent.com/jmc/public/tmp/platform-20160904T224833Z-OS-4718.tgz >> >> This custom platform image includes an attempted fix for OS-4718 which >> should help. Source diff for the platform build is here: >> >> https://gist.github.com/jclulow/ccb00c396c2f6961672494ef2dbdee66 >> >> Let me know how it goes! >> >> Cheers. >> >> -- >> Joshua M. Clulow >> UNIX Admin/Developer >> http://blog.sysmgr.org >> > > ------------------------------------------- smartos-discuss Archives: https://www.listbox.com/member/archive/184463/=now RSS Feed: https://www.listbox.com/member/archive/rss/184463/25769125-55cfbc00 Modify Your Subscription: https://www.listbox.com/member/?member_id=25769125&id_secret=25769125-7688e9fb Powered by Listbox: http://www.listbox.com
