Join GitHub today
GitHub is home to over 40 million developers working together to host and review code, manage projects, and build software together.Sign up
When running "zedenv create on a pool called "mydata" the command returns the error
"Failed to create snapshot mydata/mydata@2018-05-30"
This appears to be a problem with mydata not having a volume also called "mydata". Ideally, the zedenv command should be trying to create a snapshot called "mydata@2018-05-30".
Yeah that's the problem if your root dataset is installed to
If so you could rename it to
You would want to import the pool to an altroot, say
Rename your root
zfs rename -p mydata mydata/ROOT/default zfs set mountpoint=none mydata zfs set mountpoint=none mydata/ROOT
Make sure your root is set:
Set your bootfs
Then, you need to edit your bootloader config to point to
You are right, Antergos sets up ZFS without any datasets. Unfortunately this also means that setting up a mydata/ROOT/default set will not work. Since there are no data sets there is nothing to rename or shift over to the new location. The above "zfs rename" command and similar steps to create and move the boot point into a new dataset fail. I think we'll just have to acknowledge Antergos won't work with zedenv.
You could also just create them manually:
If you can't rename them, you could always send them with:
I think, in this case, the zend/recv process is the only one that will work, I'm running into errors trying to create a new set. Thank you for trouble-shooting this.
I've also tried zedenv on FreeBSD. It's working pretty well. It just requires that the LANG environment variable is set before zedenv will run. Otherwise it seems to work just as well as beadm.