[Bug 253445] bectl: does not function in two-level zfs datasets

bugzilla-noreply at freebsd.org bugzilla-noreply at freebsd.org
Thu Feb 11 23:33:19 UTC 2021


https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=253445

--- Comment #5 from Wes Maag <jwmaag at gmail.com> ---
Yeah, libbe really wants there to be at least two levels. It checks for the
existence of a '/' in the root name and errors out if it does not exist.

Attached is a diff that I scratched together which seems to work

works[wes]:/home/wes $ zfs list -r test                                        
                                                                               
                                                                       
[16:27:06]
NAME         USED  AVAIL     REFER  MOUNTPOINT
test         246K   832M       24K  none
test/root1    24K   832M       24K  /tmp/bectl_test_75GY
test/root2    24K   832M       24K  /tmp/bectl_test_75GY

works[wes]:/home/wes $ bectl -r test list                                      
                                                                               
                                                                       
[16:16:30]
BE    Active Mountpoint Space Created
root1 -      -          24K   2021-02-11 15:46
root2 -      -          24K   2021-02-11 15:46

-- 
You are receiving this mail because:
You are the assignee for the bug.


More information about the freebsd-bugs mailing list