by mk01 » Sun Mar 03, 2013 9:27 pm
it happens sometimes to me as well (after crash, mounting fs with much snapshots takes some time and is possible to be quicker even with standard password protected accounts).
I usually use >console to check before I actually log in. but was doing as @raattgift.
Anyhow, this brings me to a different topic, I have more problems with Macosx unmounting the user home dir during logout. I have two mac mini's in my house which are used by family members. User homes are located there (on ZFS), synced via HomeSync to notebooks if needed, or used as a home dir for logins from other devices without home dir copy. Within the logout process mac is unmounting the home dir for accounts which are Network accounts and are not converted to Mobile accounts at the first login. Because in this situation mac is considering network login to a remote home dir it tries to mount on login (is not needed, because is local on the server) and then unmounts during logout.
This is causing pain in the ass, the zfs filesystems are always busy (always some logins through ssh, or remote desktops) but still due some /bug?/ ZFS ends up ready to restart - best case fs remains unmounted which is making next user unable to login (due to error with inaccessible home folder).
I can't imagine what happens during login sessions ending, but zfs most of the time unmounts the root fs (according to mount), leaving proxys intact (diskutil list). but with no names for them (accorging to mount), only the indexes as the proxys listed with diskutil list. so ZFS is unmouned without the children being unmounted first sf's, unable to remount the higher levels with mount or zfs mount putting some king of IO error 10 on screen and logs.
very very unpleasant. Is there any trick with system defaults as well?
br,
Matus
mk