This system has the following zfs pools:
These are the BEs:
The 'zroot' BE is close to full capacity and I want to free up space. I wish to remove the 'default' BE snapshot but it's not letting me:
It appears that I have been using the 13.1-RELEASE for some time now and want to keep that one. It looks like the 'default' BE might be tied to zroot/ROOT/default as follows:
How can I safely arrange this so that I can retain the '13.1-RELEASE' BE as the 'default' BE? In other words, how can the '13-RELEASE' BE be safely renamed to 'default'?
EDIT: remove 'zfs list | g ZROOT' doublepost and add 'bectl list' output.
Code:
[root@backup 08.May 8:35am /]# zpool list
NAME SIZE ALLOC FREE CKPOINT EXPANDSZ FRAG CAP DEDUP HEALTH ALTROOT
zdata 54.5T 37.2T 17.3T - - 6% 68% 1.00x ONLINE -
zroot 78.5G 73.6G 4.89G - - 79% 93% 1.00x ONLINE -
[root@backup 08.May 5:54am /]#
These are the BEs:
Code:
[root@backup 08.May 8:42am /zdata/backup]# bectl list
BE Active Mountpoint Space Created
13.1-RELEASE NR / 15.1G 2021-07-28 13:14
13.1-RELEASE-p1_2022-08-31_072939 - - 9.92M 2022-08-31 07:29
13.1-RELEASE-p2_2022-11-01_153116 - - 48.0M 2022-11-01 15:31
13.1-RELEASE-p3_2022-11-17_123716 - - 2.52M 2022-11-17 12:37
13.1-RELEASE-p4_2022-11-29_173509 - - 1.75M 2022-11-29 17:35
13.1-RELEASE-p5_2023-02-11_142058 - - 8.05M 2023-02-11 14:20
13.1-RELEASE-p6_2023-02-21_153603 - - 8.75M 2023-02-21 15:36
13.1-RELEASE_2022-08-09_154244 - - 325M 2022-08-09 15:42
default - - 66.4G 2017-08-07 11:10
[root@backup 08.May 11:50am /zdata/backup]#
The 'zroot' BE is close to full capacity and I want to free up space. I wish to remove the 'default' BE snapshot but it's not letting me:
Code:
[root@backup 08.May 8:35am /zdata/backup]# bectl destroy default
cannot destroy 'zroot/ROOT/default/usr/home': dataset is busy
unknown error
[root@backup 08.May 8:35am /]#
It appears that I have been using the 13.1-RELEASE for some time now and want to keep that one. It looks like the 'default' BE might be tied to zroot/ROOT/default as follows:
Code:
[root@backup 08.May 8:35am /]# zfs list | g ZROOT
...
zroot 74.1G 2.44G 144K none
zroot/ROOT 73.5G 1.95G 420K legacy
zroot/ROOT/13.1-RELEASE 15.1G 1.95G 6.41G /
zroot/ROOT/13.1-RELEASE@2021-07-28-13:14:23-0 7.98G - 13.8G -
zroot/ROOT/13.1-RELEASE@2022-08-09-15:42:44-0 325M - 6.72G -
zroot/ROOT/13.1-RELEASE@2022-08-31-07:29:39-0 9.91M - 6.47G -
zroot/ROOT/13.1-RELEASE@2022-11-01-15:31:16-0 48.0M - 6.46G -
zroot/ROOT/13.1-RELEASE@2022-11-17-12:37:16-0 2.51M - 6.48G -
zroot/ROOT/13.1-RELEASE@2022-11-29-17:35:09-0 1.74M - 6.41G -
zroot/ROOT/13.1-RELEASE@2023-02-11-14:20:58-0 8.04M - 6.41G -
zroot/ROOT/13.1-RELEASE@2023-02-21-15:36:03-0 8.73M - 6.47G -
zroot/ROOT/13.1-RELEASE-p1_2022-08-31_072939 12K 1.95G 6.47G /
zroot/ROOT/13.1-RELEASE-p2_2022-11-01_153116 12K 1.95G 6.46G /
zroot/ROOT/13.1-RELEASE-p3_2022-11-17_123716 12K 1.95G 6.48G /
zroot/ROOT/13.1-RELEASE-p4_2022-11-29_173509 12K 1.95G 6.41G /
zroot/ROOT/13.1-RELEASE-p5_2023-02-11_142058 12K 1.95G 6.41G /
zroot/ROOT/13.1-RELEASE-p6_2023-02-21_153603 12K 1.95G 6.47G /
zroot/ROOT/13.1-RELEASE_2022-08-09_154244 12K 1.95G 6.72G /
zroot/ROOT/default 58.4G 1.95G 13.8G /
zroot/ROOT/default/root 3.40G 1.95G 3.40G /root
zroot/ROOT/default/tmp 348K 1.95G 348K /tmp
zroot/ROOT/default/usr 53.3G 1.95G 3.58G /usr
zroot/ROOT/default/usr/home 684K 1.95G 684K /usr/home
zroot/ROOT/default/usr/local 24.5G 1.95G 13.8G /usr/local
zroot/ROOT/default/usr/local@2023-04-09_06.00.00--1m 2.48M - 15.1G -
zroot/ROOT/default/usr/local@2023-04-16_06.00.00--1m 2.46M - 15.1G -
zroot/ROOT/default/usr/local@2023-04-23_06.00.00--1m 384K - 15.1G -
zroot/ROOT/default/usr/local@2023-04-30_06.00.00--1m 112M - 13.9G -
zroot/ROOT/default/usr/obj 555M 1.95G 555M /usr/obj
zroot/ROOT/default/usr/ports 23.2G 1.95G 20.5G /usr/ports
zroot/ROOT/default/usr/ports/distfiles 2.64G 1.95G 2.64G /usr/ports/distfiles
zroot/ROOT/default/usr/src 1.43G 1.95G 1.43G /usr/src
zroot/ROOT/default/var 1.71G 1.95G 1.46G /var
zroot/ROOT/default/var/audit 216K 1.95G 216K /var/audit
zroot/ROOT/default/var/crash 168K 1.95G 168K /var/crash
zroot/ROOT/default/var/empty 216K 1.95G 216K /var/empty
zroot/ROOT/default/var/log 251M 1.95G 251M /var/log
zroot/ROOT/default/var/mail 228K 1.95G 228K /var/mail
zroot/ROOT/default/var/run 1.03M 1.95G 1.03M /var/run
zroot/ROOT/default/var/tmp 208K 1.95G 208K /var/tmp
[root@backup 08.May 8:42am /]#
How can I safely arrange this so that I can retain the '13.1-RELEASE' BE as the 'default' BE? In other words, how can the '13-RELEASE' BE be safely renamed to 'default'?
EDIT: remove 'zfs list | g ZROOT' doublepost and add 'bectl list' output.