Permalink
Browse files

Set canmount=off on unmounted overlapping zfs datasets

- Found this wonderful issue after a reboot
  • Loading branch information...
1 parent 8a8a0a3 commit c6c7859b1f0cfa6823cfb8c7679e7584dd134afc @jhixson74 jhixson74 committed Jun 22, 2013
Showing with 1 addition and 0 deletions.
  1. +1 −0 src/pcbsd/pbi-manager/pbi-manager
View
1 src/pcbsd/pbi-manager/pbi-manager
@@ -7634,6 +7634,7 @@ createZFSDataset() {
if [ "${ma}" = "0" ] ; then
zfs unmount -f "${fds}"
+ zfs set canmount=off "${fds}"
fi
fi

0 comments on commit c6c7859

Please sign in to comment.