However, I have found a problem where if you try to restart a host that is running HAST as a primary node with a mounted zpool the server fails to complete the shutdown process and requires a hard reset.
You can fix this by modifying the HAST init script and force it to unmount any zfs filesystems before stopping HAST.
vi /etc/rc.d/hastd
hastd_stop_precmd()
{
zfs unmount -a
${hastctl} role init all
}
Note: If you do a csup at any point this change could be overwritten so take care. Also, be aware that this will unmount all zfs filesystems, if you need to only unmount a specific filesystem then you should modify the unmount command accordingly.
No comments:
Post a Comment