Re: [OmniOS-discuss] Host is not being rebooted if it uses ZFS over iSCSI

2016-12-01 Thread Дмитрий Глушенок
Thanks for the scripts, but I would like to avoid hardcoding pool names anywhere. Due to specific roles of my ZFS servers it is possible to export all zpools at iSCSI stop and import all visible pools at iSCSI start. So, I end up with following modifications: /lib/svc/method/iscsi-initiator:

Re: [OmniOS-discuss] Host is not being rebooted if it uses ZFS over iSCSI

2016-11-30 Thread Jim Klimov
30 ноября 2016 г. 17:45:53 CET, "Дмитрий Глушенок" пишет: >The 'reboot' works, but it kills all processes at once (including >iscsid), leaving no chances for ZFS to flush write cache. And I suspect >that with current iscsi/initiator SMF service implementation the same >happens

Re: [OmniOS-discuss] Host is not being rebooted if it uses ZFS over iSCSI

2016-11-30 Thread Дмитрий Глушенок
The 'reboot' works, but it kills all processes at once (including iscsid), leaving no chances for ZFS to flush write cache. And I suspect that with current iscsi/initiator SMF service implementation the same happens (but for some reason sync(), which is being called by 'reboot' after killing

Re: [OmniOS-discuss] Host is not being rebooted if it uses ZFS over iSCSI

2016-11-30 Thread Chris Siebenmann
> Does anybody uses ZFS over iSCSI? > > There is problem with reboots as iscsi-initiator service does not > taking care of ZFS while shutting down. It leads to zpool goes into > UNAVAIL state and then first sync() issued gets blocked with following > stack: We have a significant ZFS-over-iSCSI