‘snapper list’ doesn’t provide me with the disk usage. Is there another command for this information?
Hehehe, I’ve been wondering too, and did sudo btrfs fi du --help. Got to this:
knurpht@Lenovo-P16:~> sudo btrfs fi du -s --human-readable /.snapshots
Total Exclusive Set shared Filename
333.17GiB 712.92MiB 32.75GiB /.snapshots
knurpht@Lenovo-P16:~>
Thanks, but I was hoping to find the size of each snapshot.
OK, it’s only Fridaymorning, but I’m declaring it weekend:
knurpht@Lenovo-P16:~> sudo su
Lenovo-P16:/home/knurpht # cd /.snapshots/
Lenovo-P16:/.snapshots # ls -d *
3668 3773 3774 3775 3776 3779 3780 3781 3782 3784 3785 3786 3787 3788 3789 3790 grub-snapshot.cfg
Lenovo-P16:/.snapshots # for i in `ls -d *`; do btrfs fi du -s --human-readable /.snapshots/$i; done
Total Exclusive Set shared Filename
21.14GiB 0.00B 21.14GiB /.snapshots/3668
Total Exclusive Set shared Filename
20.94GiB 503.86MiB 20.44GiB /.snapshots/3773
Total Exclusive Set shared Filename
20.57GiB 200.00KiB 20.57GiB /.snapshots/3774
Total Exclusive Set shared Filename
20.57GiB 0.00B 20.57GiB /.snapshots/3775
Total Exclusive Set shared Filename
20.60GiB 128.20MiB 20.48GiB /.snapshots/3776
Total Exclusive Set shared Filename
20.60GiB 80.44MiB 20.52GiB /.snapshots/3779
Total Exclusive Set shared Filename
20.61GiB 0.00B 20.61GiB /.snapshots/3780
Total Exclusive Set shared Filename
20.61GiB 0.00B 20.61GiB /.snapshots/3781
Total Exclusive Set shared Filename
20.61GiB 0.00B 20.61GiB /.snapshots/3782
Total Exclusive Set shared Filename
20.61GiB 0.00B 20.61GiB /.snapshots/3784
Total Exclusive Set shared Filename
20.61GiB 0.00B 20.61GiB /.snapshots/3785
Total Exclusive Set shared Filename
21.14GiB 84.00KiB 21.14GiB /.snapshots/3786
Total Exclusive Set shared Filename
21.14GiB 44.00KiB 21.14GiB /.snapshots/3787
Total Exclusive Set shared Filename
21.14GiB 52.00KiB 21.14GiB /.snapshots/3788
Total Exclusive Set shared Filename
21.14GiB 48.00KiB 21.14GiB /.snapshots/3789
Total Exclusive Set shared Filename
21.14GiB 4.00KiB 21.14GiB /.snapshots/3790
Total Exclusive Set shared Filename
0.00B 0.00B 0.00B /.snapshots/grub-snapshot.cfg
Lenovo-P16:/.snapshots #
@jonc Hi I see “Used Space” in the output?
snapper list
# │ Type │ Pre # │ Date │ User │ Used Space │ Cleanup │ Description │ Userdata
─────┼────────┼───────┼─────────────────────────────────┼──────┼────────────┼─────────┼───────────────────────┼──────────────
0 │ single │ │ │ root │ │ │ current │
1* │ single │ │ Tue 17 Mar 2026 10:34:09 AM CDT │ root │ 260.30 MiB │ │ first root filesystem │
114 │ pre │ │ Tue 30 Jun 2026 04:06:19 PM CDT │ root │ 936.68 MiB │ number │ zypp(zypper) │ important=yes
115 │ post │ 114 │ Tue 30 Jun 2026 04:08:27 PM CDT │ root │ 359.38 MiB │ number │ │ important=yes
122 │ pre │ │ Sun 05 Jul 2026 01:31:23 PM CDT │ root │ 287.85 MiB │ number │ zypp(zypper) │ important=yes
123 │ post │ 122 │ Sun 05 Jul 2026 01:32:24 PM CDT │ root │ 45.44 MiB │ number │ │ important=yes
124 │ pre │ │ Wed 08 Jul 2026 12:42:41 PM CDT │ root │ 10.06 MiB │ number │ zypp(zypper) │ important=yes
125 │ post │ 124 │ Wed 08 Jul 2026 12:43:30 PM CDT │ root │ 18.25 MiB │ number │ │ important=yes
128 │ pre │ │ Fri 10 Jul 2026 01:53:35 PM CDT │ root │ 15.15 MiB │ number │ zypp(zypper) │ important=yes
129 │ post │ 128 │ Fri 10 Jul 2026 01:54:38 PM CDT │ root │ 305.44 MiB │ number │ │ important=yes
136 │ pre │ │ Fri 17 Jul 2026 02:15:55 PM CDT │ root │ 732.00 KiB │ number │ zypp(zypper) │ important=no
137 │ post │ 136 │ Fri 17 Jul 2026 02:15:56 PM CDT │ root │ 984.00 KiB │ number │ │ important=no
138 │ pre │ │ Tue 21 Jul 2026 08:32:27 AM CDT │ root │ 9.12 MiB │ number │ zypp(zypper) │ important=yes
139 │ post │ 138 │ Tue 21 Jul 2026 08:33:27 AM CDT │ root │ 95.96 MiB │ number │ │ important=yes
140 │ pre │ │ Sat 25 Jul 2026 11:46:03 AM CDT │ root │ 8.03 MiB │ number │ zypp(zypper) │ important=no
141 │ post │ 140 │ Sat 25 Jul 2026 11:46:08 AM CDT │ root │ 4.82 MiB │ number │ │ important=no
142 │ pre │ │ Sat 25 Jul 2026 11:46:23 AM CDT │ root │ 288.00 KiB │ number │ zypp(zypper) │ important=no
143 │ post │ 142 │ Sat 25 Jul 2026 11:48:03 AM CDT │ root │ 43.75 MiB │ number │ │ important=no
144 │ pre │ │ Tue 28 Jul 2026 08:27:50 PM CDT │ root │ 3.91 MiB │ number │ zypp(zypper) │ important=no
145 │ post │ 144 │ Tue 28 Jul 2026 08:27:54 PM CDT │ root │ 3.13 MiB │ number │ │ important=no
146 │ pre │ │ Wed 29 Jul 2026 06:48:20 AM CDT │ root │ 832.00 KiB │ number │ zypp(zypper) │ important=no
147 │ post │ 146 │ Wed 29 Jul 2026 06:48:29 AM CDT │ root │ 30.74 MiB │ number │ │ important=no
Isn’t that kinda redundant?
“use sudo to become root so I can then become root” … ?
I get
# │ Type │ Pre # │ Date │ User │ Cleanup │ Description │ Userdata
Used space is missing.
Ask some search engine “when to use sudo su and not just su”. My reason is there.
Ok … not gonna do that … the fact is you’re introducing a secondary pipeline to an authentication method that doesn’t need to be there … as you’re so fond of saying “period … full stop”
I normally use “su bash” for that purpose.
sudo -i initiates an entirely new login …
@jonc and the snapper version?
I see;
zypper se -si snapper
S | Name | Type | Version | Arch | Repository
---+----------------------+---------+-------------------+--------+----------------
i | grub2-snapper-plugin | package | 2.12-160000.6.1 | noarch | repo-oss (16.0)
i | libsnapper7 | package | 0.12.1-160000.2.2 | x86_64 | repo-oss (16.0)
i+ | snapper | package | 0.12.1-160000.2.2 | x86_64 | repo-oss (16.0)
i | snapper-zypp-plugin | package | 0.12.1-160000.2.2 | x86_64 | repo-oss (16.0)
My “virgin” machine shows this
widowmaker:/.snapshots # zypper se -si snapper
Loading repository data...
Reading installed packages...
S | Name | Type | Version | Arch | Repository
---+---------------------+---------+---------------------------+--------+----------------------
i | libsnapper8 | package | 0.13.1-3.3 | x86_64 | Main Repository (OSS)
i | sdbootutil-snapper | package | 1+git20260714.d9bb736-1.2 | noarch | Main Repository (OSS)
i+ | snapper | package | 0.13.1-3.3 | x86_64 | Main Repository (OSS)
i | snapper-lang | package | 0.13.1-3.3 | noarch | Main Repository (OSS)
i | snapper-zypp-plugin | package | 0.13.1-3.3 | x86_64 | Main Repository (OSS)
i | yast2-snapper | package | 5.0.0-1.12 | x86_64 | Main Repository (OSS)
widowmaker:/.snapshots #
@dart364 That’s on Tumbleweed, OP is using Leap 16.0 ![]()
Sorry … my mistake … I’ll be quiet now … ![]()
Mine looks the same.
> zypper se -si snapper
Loading repository data...
Reading installed packages...
S | Name | Type | Version | Arch | Repository
---+----------------------+---------+-------------------+--------+----------------
i | grub2-snapper-plugin | package | 2.12-160000.6.1 | noarch | repo-oss (16.0)
i | libsnapper7 | package | 0.12.1-160000.2.2 | x86_64 | repo-oss (16.0)
i | snapper | package | 0.12.1-160000.2.2 | x86_64 | repo-oss (16.0)
i | snapper-zypp-plugin | package | 0.12.1-160000.2.2 | x86_64 | repo-oss (16.0)
My output is the same as @malcolmlewis 's
, i.e., “Used Space” is shown:
# snapper list
# │ Type │ Pre # │ Date │ User │ Used Space │ Cleanup │ Description │ Userdata
────┼────────┼───────┼─────────────────────────────────┼──────┼────────────┼─────────┼───────────────────────┼──────────────
0 │ single │ │ │ root │ │ │ current │
1* │ single │ │ Mon 20 Jul 2026 12:18:56 PM CDT │ root │ 49.93 MiB │ │ first root filesystem │
14 │ pre │ │ Tue 28 Jul 2026 09:12:26 PM CDT │ root │ 1.33 GiB │ number │ zypp(zypper) │ important=yes
15 │ post │ 14 │ Tue 28 Jul 2026 09:22:40 PM CDT │ root │ 174.81 MiB │ number │ │ important=yes
18 │ pre │ │ Wed 29 Jul 2026 07:37:06 AM CDT │ root │ 30.90 MiB │ number │ zypp(myrlyn) │ important=yes
19 │ post │ 18 │ Wed 29 Jul 2026 07:40:55 AM CDT │ root │ 72.46 MiB │ number │ │ important=yes
20 │ pre │ │ Thu 30 Jul 2026 08:06:29 AM CDT │ root │ 1.46 MiB │ number │ zypp(zypper) │ important=no
21 │ post │ 20 │ Thu 30 Jul 2026 08:07:36 AM CDT │ root │ 3.75 MiB │ number │ │ important=no
#
@jonc Was this an upgrade or fresh install? Seems your running with --disable-used-space you haven’t created an alias for snapper list?
Does it show in the output of;
snapper list --columns config,subvolume,number,default,active,date,user,used-space,cleanup,description,userdata,pre-number,post-number,post-date
knurpht@Lenovo-P16:~> LANG=C su bash
su: user bash does not exist or the user entry does not contain all the required fields
knurpht@Lenovo-P16:~>
Are btrfs quotas enabled ? What is the result of
btrfs qgroup show /