On Tue, 6 Aug 2024 at 07:27, Carsten Grzemba via illumos-discuss <discuss@lists.illumos.org> wrote: > What does the shutdown process do with the zpools?
Pools that are still imported at the very last point, when the kernel is preparing to reboot, are like any other file system: we try to sync outstanding changes to disk, which usually generates at least a little bit of I/O. Nothing is unmounted, just made consistent. The reason this is a challenge for network file systems and block devices, of course, is that we've already brought down the IP stack. That's why the iSCSI initiator service unmounts file systems from vfstab(5), and why your iSCSI pools likely need to be exported prior to that point. > It is not a zfs umount or zpool export. If so the zpool.cache file would be > deleted. Correct. An explicit export is required to remove a pool from the cache file that was used when it was imported. -- Joshua M. Clulow http://blog.sysmgr.org ------------------------------------------ illumos: illumos-discuss Permalink: https://illumos.topicbox.com/groups/discuss/T494e7618fdacd18b-M7305ac48aa5dfcf5d7a36025 Delivery options: https://illumos.topicbox.com/groups/discuss/subscription