To be more clear and for all future readers: with $ZROOT I meant that you have to substitute your own root dataset. $ZROOT is not part of the command.note: I just had to add the dataset at the end of the command, mine was zroot (I remembered something )
Thanks!, this was very helpful.I typically do the following when booting single-user to perform an installworld, which will mount the root dataset rw, and then mount all other zfs datasets:
mount -u /
zfs mount -a
Three years later.. This isn't going to work for ZFS. This doesn't change the readonly property. So it's still going to be mounted read-only.I typically do the following when booting single-user to perform an installworld, which will mount the root dataset rw, and then mount all other zfs datasets:
mount -u /
zfs mount -a