- Urgent
I stopped my array and added an additional disk, which was precleared but not formatted. I started the array in maintenance mode but that did not provide a Format option.
I attempted to stop the array again so I could re-start in normal mode but the array refused to stop.
The log was filled with errors reporting that 'rmdir /mnt/user' failed because it was not empty.
Jun 3 12:31:47 Giant rc.samba: Stopping Samba server daemon...
Jun 3 12:31:47 Giant rc.samba: killall --ns 3056077 smbd nmbd wsdd2 winbindd
Jun 3 12:31:47 Giant wsdd2[3038296]: 'Terminated' signal received.
Jun 3 12:31:47 Giant winbindd[3038303]: [2025/06/03 12:31:47.828187, 0, traceid=1] ../../source3/winbindd/winbindd_dual.c:1980(winbindd_sig_term_handler)
Jun 3 12:31:47 Giant winbindd[3038303]: Got sig[15] terminate (is_parent=1)
Jun 3 12:31:47 Giant wsdd2[3038296]: terminating.
Jun 3 12:31:48 Giant rc.samba: Samba server daemon... Stopped.
Jun 3 12:31:48 Giant emhttpd: shcmd (14943205): rm -f /etc/avahi/services/smb.service
Jun 3 12:31:48 Giant emhttpd: Stopping mover...
Jun 3 12:31:48 Giant emhttpd: shcmd (14943207): /usr/local/sbin/mover stop
Jun 3 12:31:48 Giant root: mover: not running
Jun 3 12:31:48 Giant emhttpd: Sync filesystems...
Jun 3 12:31:48 Giant emhttpd: shcmd (14943208): sync
Jun 3 12:31:48 Giant emhttpd: error: malloc_share_locations, 7936: Operation not supported (95): getxattr: /mnt/user/Incoming
Jun 3 12:31:48 Giant emhttpd: shcmd (14943209): /usr/sbin/zfs unmount -a
Jun 3 12:31:48 Giant emhttpd: shcmd (14943210): umount /mnt/user
Jun 3 12:31:48 Giant root: umount: /mnt/user: not mounted.
Jun 3 12:31:48 Giant emhttpd: shcmd (14943210): exit status: 32
Jun 3 12:31:48 Giant emhttpd: shcmd (14943211): rmdir /mnt/user
Jun 3 12:31:48 Giant root: rmdir: failed to remove '/mnt/user': Directory not empty
Jun 3 12:31:48 Giant emhttpd: shcmd (14943211): exit status: 1
Jun 3 12:31:48 Giant emhttpd: shcmd (14943213): rm -f /boot/config/plugins/dynamix/mover.cron
Jun 3 12:31:48 Giant emhttpd: shcmd (14943214): /usr/local/sbin/update_cron
Jun 3 12:31:48 Giant emhttpd: Retry unmounting user share(s)...
Jun 3 12:31:53 Giant emhttpd: shcmd (14943215): /usr/sbin/zfs unmount -a
Jun 3 12:31:53 Giant emhttpd: shcmd (14943216): umount /mnt/user
Jun 3 12:31:53 Giant root: umount: /mnt/user: not mounted.
Jun 3 12:31:53 Giant emhttpd: shcmd (14943216): exit status: 32
Jun 3 12:31:53 Giant emhttpd: shcmd (14943217): rmdir /mnt/user
Jun 3 12:31:53 Giant root: rmdir: failed to remove '/mnt/user': Directory not empty
Jun 3 12:31:53 Giant emhttpd: shcmd (14943217): exit status: 1
Jun 3 12:31:53 Giant emhttpd: shcmd (14943219): rm -f /boot/config/plugins/dynamix/mover.cron
...
I then requested a shutdown instead, which also hung, but did shut down the webui interface. I eventually, had to do a hard boot. Wonderful....
EDIT: This may be caused by a user script which create the /mnt/user/Incoming folder mentioned in the log above rather than the unformatted drive. I left out the flag to prevent it from running when the array wasn't started, but in this case it was started but was in maintenance mode....