ZFS folders on Ubuntu not mounting after reboot

After upgrading to 12.04 people seem to be finding that their ZFS shares aren’t mounting on boot; this has an easy fix, fortunately – edit your /etc/rc.local file and add:

 

stop smbd

stop nmbd

zfs mount -a

start smbd

start nmbd

 

Save and reboot and your shares should be intact. This has worked on all of the systems we’ve tested it on so far.


Posted

in

, ,

by

Tags: