Tuesday, December 5, 2023
 Popular · Latest · Hot · Upcoming
rated 0 times [  2] [ 0]  / answers: 1 / hits: 6572  / 9 Months ago, thu, march 23, 2023, 6:06:54

Two question.....

  1. I have installed Ubuntu LTS 20.04.3 with ZFS and encryption, few hours ago, but don't know how to delete snapshots as they are piling up pretty quickly, I'm setting up my installation, installed zfs-auto-snapshot package but it's not detecting the snapshots for some reason on

$sudo zfs-auto-snapshot --keep NUM

No matter what number I give it's says no snapshots detected or sth like that, also skimmed through ZFS manpage but there was only method of deleting snapshots one by one which is very tedious as I have already like 15/20 snapshots piled up....

So what's the method/solution I should use to tackle it??

  1. Though I moved to LTS version by now, I want the non LTS version, so is there anyway I can achieve that from LTS version to non LTS version a smooth shift without messing anything up?

More From » backup


You can list ZFS snapshots in the terminal with the following command:

zfs list -t snapshot

To remove a specific snapshot, you can do this:

sudo zfs destroy rpool/USERDATA/MHT@FRIDAY09-03-21

If you would like to remove all snapshots — damn the torpedoes! — you can do this:

sudo zfs list -H -o name -t snapshot | xargs -n1 zfs destroy

Be careful when issuing zfs destroy commands, because there is no undo.

As for your second question, the window to upgrade from 20.04 ⇢ 20.10 ⇢ 21.04 has closed, as 20.10 is no longer supported. The simplest way to get your machine up to 21.04 would be to reinstall the OS using the newer installation .iso.

[#1208] Thursday, March 23, 2023, 9 Months  [reply] [flag answer]
Only authorized users can answer the question. Please sign in first, or register a free account.

Total Points: 461
Total Questions: 126
Total Answers: 117

Location: Saudi Arabia
Member since Fri, Jul 1, 2022
1 Year ago
rtbrbab questions
Fri, May 5, 23, 14:22, 8 Months ago
Tue, Nov 16, 21, 14:41, 2 Years ago
Thu, Mar 23, 23, 20:47, 9 Months ago
Thu, Jan 6, 22, 01:23, 2 Years ago