• [Bookworm] ZFS shutdown

    From Greg@21:1/5 to All on Thu Apr 24 00:00:01 2025
    Hi there,

    What is the proper way of shutting down ZFS? After:

    # /etc/init.d/zfs-share stop
    # /etc/init.d/zfs-mount stop
    # /etc/init.d/zfs-import stop

    pool 'backup' is not mounted but:

    # zpool export backup
    cannot export 'backup': pool is busy

    How it is possible that it is not mounted but is still busy?
    PS. Shutting down the server is not an option.

    Regards
    Greg

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)
  • From David Christensen@21:1/5 to Greg on Thu Apr 24 01:30:01 2025
    On 4/23/25 14:49, Greg wrote:
    Hi there,

    What is the proper way of shutting down ZFS? After:

    # /etc/init.d/zfs-share stop
    # /etc/init.d/zfs-mount stop
    # /etc/init.d/zfs-import stop

    pool 'backup' is not mounted but:

    # zpool export backup
    cannot export 'backup': pool is busy

    How it is possible that it is not mounted but is still busy?
    PS. Shutting down the server is not an option.

    Regards
    Greg


    On FreeBSD 3.4-RELEASE-p4, `zpool export <poolname>` works for me.


    David

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)
  • From David Christensen@21:1/5 to David Christensen on Thu Apr 24 01:30:01 2025
    On 4/23/25 16:21, David Christensen wrote:
    On 4/23/25 14:49, Greg wrote:
    Hi there,

    What is the proper way of shutting down ZFS? After:

    # /etc/init.d/zfs-share stop
    # /etc/init.d/zfs-mount stop
    # /etc/init.d/zfs-import stop

    pool 'backup' is not mounted but:

    # zpool export backup
    cannot export 'backup': pool is busy

    How it is possible that it is not mounted but is still busy?
    PS. Shutting down the server is not an option.

    Regards
    Greg


    On FreeBSD 3.4-RELEASE-p4, `zpool export <poolname>` works for me.


    David


    Cut and paste correction: FreeBSD 13.4-RELEASE-p4


    David

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)