I am yet another member with the same old question. I do not have a recent backup so I need to ask the following:
Following arethe outputs of
Q1] What are the additional checks that I need to do to ensure that a particular snapshot is safe to delete?
Q2] Is it advisable to delete a more recent snapshot first than the older one (if it is not Active .. marked as NR)?
Q3] Can I delete the ones which are not NR?
Q4] In case deletes a snapshot that they should not have.. for example one with NR, does that mean their data is lost OR is it that one can't boot but the data is safe?
I deleted a lot of large files and realized it's of no help. I need to make space. My disk is reaching a point where I will need space to make some space.
Any suggestions?
Following arethe outputs of
Code:
#zfs list
NAME USED AVAIL REFER MOUNTPOINT
zroot 457G 55.2M 96K /zroot
zroot/ROOT 452G 55.2M 96K none
zroot/ROOT/13.1-RELEASE-p2_2022-11-02_174902 8K 55.2M 80.6G /
zroot/ROOT/13.1-RELEASE-p3_2022-11-19_121059 8K 55.2M 89.2G /
zroot/ROOT/13.1-RELEASE-p4_2022-11-23_174834 8K 55.2M 93.1G /
zroot/ROOT/13.1-RELEASE-p4_2022-11-30_161004 8K 55.2M 117G /
zroot/ROOT/13.1-RELEASE-p5_2023-02-13_104743 8K 55.2M 201G /
zroot/ROOT/13.1-RELEASE-p6_2023-02-17_045441 8K 55.2M 202G /
zroot/ROOT/13.1-RELEASE-p7_2023-06-28_133616 8K 55.2M 191G /
zroot/ROOT/13.1-RELEASE_2022-10-06_170110 8K 55.2M 1.10G /
zroot/ROOT/default 452G 55.2M 173G /
zroot/tmp 468K 55.2M 468K /tmp
zroot/usr 3.75G 55.2M 96K /usr
zroot/usr/home 3.00G 55.2M 3.00G /usr/home
zroot/usr/ports 96K 55.2M 96K /usr/ports
zroot/usr/src 760M 55.2M 760M /usr/src
zroot/var 1.29G 55.2M 96K /var
zroot/var/audit 96K 55.2M 96K /var/audit
zroot/var/crash 1.29G 55.2M 1.29G /var/crash
zroot/var/log 1.87M 55.2M 1.87M /var/log
zroot/var/mail 160K 55.2M 160K /var/mail
zroot/var/tmp 120K 55.2M 120K /var/tmp
#zfs list -rt snapshot zroot | sort -k 2
NAME USED AVAIL REFER MOUNTPOINT
zroot/ROOT/default@2023-02-13-10:47:43-0 16.5G - 201G -
zroot/ROOT/default@2023-02-17-04:54:41-0 17.7G - 202G -
zroot/ROOT/default@2022-11-02-17:49:02-0 19.3G - 80.6G -
zroot/ROOT/default@2023-06-28-13:36:16-0 21.1G - 191G -
zroot/ROOT/default@2022-11-19-12:10:59-0 3.17G - 89.2G -
zroot/ROOT/default@2022-11-30-16:10:04-0 34.5G - 117G -
zroot/ROOT/default@2022-11-23-17:48:34-0 4.13G - 93.1G -
zroot/ROOT/default@2022-10-06-17:01:10-0 76.9M - 1.10G -
#bectl list
BE Active Mountpoint Space Created
13.1-RELEASE-p2_2022-11-02_174902 - - 19.3G 2022-11-02 17:49
13.1-RELEASE-p3_2022-11-19_121059 - - 3.17G 2022-11-19 12:10
13.1-RELEASE-p4_2022-11-23_174834 - - 4.13G 2022-11-23 17:48
13.1-RELEASE-p4_2022-11-30_161004 - - 34.5G 2022-11-30 16:10
13.1-RELEASE-p5_2023-02-13_104743 - - 16.5G 2023-02-13 10:47
13.1-RELEASE-p6_2023-02-17_045441 - - 17.7G 2023-02-17 04:54
13.1-RELEASE-p7_2023-06-28_133616 - - 21.1G 2023-06-28 13:36
13.1-RELEASE_2022-10-06_170110 - - 76.9M 2022-10-06 17:01
default NR / 452G 2022-10-06 16:51
Q1] What are the additional checks that I need to do to ensure that a particular snapshot is safe to delete?
Q2] Is it advisable to delete a more recent snapshot first than the older one (if it is not Active .. marked as NR)?
Q3] Can I delete the ones which are not NR?
Q4] In case deletes a snapshot that they should not have.. for example one with NR, does that mean their data is lost OR is it that one can't boot but the data is safe?
I deleted a lot of large files and realized it's of no help. I need to make space. My disk is reaching a point where I will need space to make some space.
Any suggestions?