Filesystem Root has 0 bytes remaining -- Possible Timeshift issue?

Questions about applications and software
Forum rules
Before you post read how to get help. Topics in this forum are automatically closed 6 months after creation.
Locked
NRGibbons
Level 1
Level 1
Posts: 2
Joined: Sat May 14, 2022 3:00 pm

Filesystem Root has 0 bytes remaining -- Possible Timeshift issue?

Post by NRGibbons »

I am fairly confident there is a probelm with Timeshift -- it hasn't completed a backup in over a week (I keep 1 weekly and 1 daily) and I believe error logs are filling up /var/log. Unfortunately I don't know what I should do to resolve this :?

Here is output of inxi -Fxxxrz:

Code: Select all

(base) graeme@LDT2:~$ inxi -Fxxxrz
System:
  Kernel: 5.15.0-53-generic x86_64 bits: 64 compiler: gcc v: 11.2.0
    Desktop: Cinnamon 5.4.12 tk: GTK 3.24.33 wm: Mutter vt: 7
    dm: LightDM 1.30.0 Distro: Linux Mint 21 Vanessa base: Ubuntu 22.04 jammy
Machine:
  Type: Desktop System: LENOVO product: 90RE008AMW
    v: IdeaCentre Gaming5 14IOB6 serial: <superuser required> Chassis: type: 3
    serial: <superuser required>
  Mobo: LENOVO model: 3730 v: SDK0T76465 WIN 3422076513946
    serial: <superuser required> UEFI: LENOVO v: M3GKT2FA date: 09/24/2021
Battery:
  Device-1: hidpp_battery_0 model: Logitech Wireless Keyboard K270
    serial: <filter> charge: 100% (should be ignored) rechargeable: yes
    status: Discharging
CPU:
  Info: 6-core model: Intel Core i5-10400F bits: 64 type: MT MCP smt: enabled
    arch: Comet Lake rev: 3 cache: L1: 384 KiB L2: 1.5 MiB L3: 12 MiB
  Speed (MHz): avg: 3859 high: 3908 min/max: 800/4300 cores: 1: 3900
    2: 3900 3: 3877 4: 3900 5: 3908 6: 3900 7: 3901 8: 3812 9: 3800 10: 3801
    11: 3811 12: 3801 bogomips: 69597
  Flags: avx avx2 ht lm nx pae sse sse2 sse3 sse4_1 sse4_2 ssse3 vmx
Graphics:
  Device-1: NVIDIA GA106 [GeForce RTX 3060 Lite Hash Rate] vendor: Lenovo
    driver: nvidia v: 510.85.02 pcie: speed: 2.5 GT/s lanes: 16 ports:
    active: none off: HDMI-A-1 empty: DP-1,DP-2,DP-3 bus-ID: 01:00.0
    chip-ID: 10de:2504 class-ID: 0300
  Device-2: Logitech C922 Pro Stream Webcam type: USB
    driver: snd-usb-audio,uvcvideo bus-ID: 1-11.1.4:8 chip-ID: 046d:085c
    class-ID: 0102 serial: <filter>
  Display: x11 server: X.Org v: 1.21.1.3 driver: X: loaded: nvidia
    unloaded: fbdev,modesetting,nouveau,vesa gpu: nvidia display-ID: :0
    screens: 1
  Screen-1: 0 s-res: 1920x1080 s-dpi: 92 s-size: 530x301mm (20.9x11.9")
    s-diag: 610mm (24")
  Monitor-1: HDMI-0 res: 1920x1080 hz: 60 dpi: 93
    size: 527x296mm (20.7x11.7") diag: 604mm (23.8")
  OpenGL: renderer: NVIDIA GeForce RTX 3060/PCIe/SSE2
    v: 4.6.0 NVIDIA 510.85.02 direct render: Yes
Audio:
  Device-1: Intel vendor: Lenovo driver: snd_hda_intel v: kernel
    bus-ID: 00:1f.3 chip-ID: 8086:f0c8 class-ID: 0403
  Device-2: NVIDIA vendor: Lenovo driver: snd_hda_intel v: kernel pcie:
    speed: 8 GT/s lanes: 16 bus-ID: 01:00.1 chip-ID: 10de:228e class-ID: 0403
  Device-3: Logitech C922 Pro Stream Webcam type: USB
    driver: snd-usb-audio,uvcvideo bus-ID: 1-11.1.4:8 chip-ID: 046d:085c
    class-ID: 0102 serial: <filter>
  Sound Server-1: ALSA v: k5.15.0-53-generic running: yes
  Sound Server-2: PulseAudio v: 15.99.1 running: yes
  Sound Server-3: PipeWire v: 0.3.48 running: yes
Network:
  Device-1: Realtek RTL8111/8168/8411 PCI Express Gigabit Ethernet
    vendor: Lenovo driver: r8169 v: kernel pcie: speed: 2.5 GT/s lanes: 1
    port: 4000 bus-ID: 03:00.0 chip-ID: 10ec:8168 class-ID: 0200
  IF: enp3s0 state: down mac: <filter>
  Device-2: Realtek RTL8822CE 802.11ac PCIe Wireless Network Adapter
    vendor: Lenovo driver: rtw_8822ce v: N/A pcie: speed: 2.5 GT/s lanes: 1
    port: 3000 bus-ID: 04:00.0 chip-ID: 10ec:c822 class-ID: 0280
  IF: wlp4s0 state: up mac: <filter>
  Device-3: Microsoft Wireless XBox Controller Dongle type: USB
    driver: mt76x2u bus-ID: 1-10:5 chip-ID: 045e:02e6 class-ID: 0000
    serial: <filter>
  IF: wlx6245b4f23256 state: down mac: <filter>
Bluetooth:
  Device-1: Realtek Bluetooth Radio type: USB driver: btusb v: 0.8
    bus-ID: 1-2:2 chip-ID: 0bda:c123 class-ID: e001 serial: <filter>
  Report: hciconfig ID: hci0 rfk-id: 0 state: up address: <filter>
    bt-v: 3.0 lmp-v: 5.1 sub-v: 6d7d hci-v: 5.1 rev: 19b7
Drives:
  Local Storage: total: 2.29 TiB used: 1.25 TiB (54.7%)
  ID-1: /dev/nvme0n1 vendor: SK Hynix model: HFS512GDE9X081N
    size: 476.94 GiB speed: 31.6 Gb/s lanes: 4 type: SSD serial: <filter>
    rev: 41720C20 temp: 43.9 C scheme: GPT
  ID-2: /dev/sda type: USB vendor: Seagate model: ST2000LM007-1R8174
    size: 1.82 TiB type: HDD rpm: 5400 serial: <filter> rev: 0003 scheme: MBR
Partition:
  ID-1: / size: 245.11 GiB used: 244.58 GiB (99.8%) fs: ext4
    dev: /dev/nvme0n1p5
  ID-2: /boot/efi size: 256 MiB used: 36 MiB (14.1%) fs: vfat
    dev: /dev/nvme0n1p1
Swap:
  ID-1: swap-1 type: file size: 2 GiB used: 167.5 MiB (8.2%) priority: -2
    file: /swapfile
Sensors:
  System Temperatures: cpu: 27.8 C mobo: N/A gpu: nvidia temp: 32 C
  Fan Speeds (RPM): N/A gpu: nvidia fan: 31%
Repos:
  Packages: 3010 apt: 2989 flatpak: 21
  No active apt repos in: /etc/apt/sources.list
  Active apt repos in: /etc/apt/sources.list.d/agornostal-ulauncher-jammy.list
    1: deb http://ppa.launchpad.net/agornostal/ulauncher/ubuntu jammy main
  Active apt repos in: /etc/apt/sources.list.d/nordvpn.list
    1: deb https://repo.nordvpn.com//deb/nordvpn/debian stable main
  Active apt repos in: /etc/apt/sources.list.d/official-package-repositories.list
    1: deb http://packages.linuxmint.com vanessa main upstream import backport
    2: deb http://archive.ubuntu.com/ubuntu jammy main restricted universe multiverse
    3: deb http://archive.ubuntu.com/ubuntu jammy-updates main restricted universe multiverse
    4: deb http://archive.ubuntu.com/ubuntu jammy-backports main restricted universe multiverse
    5: deb http://security.ubuntu.com/ubuntu/ jammy-security main restricted universe multiverse
  Active apt repos in: /etc/apt/sources.list.d/spotify.list
    1: deb http://repository.spotify.com stable non-free
  Active apt repos in: /etc/apt/sources.list.d/vscode.list
    1: deb [arch=amd64,arm64,armhf] http://packages.microsoft.com/repos/code stable main
Info:
  Processes: 368 Uptime: 16h 36m wakeups: 15 Memory: 15.34 GiB
  used: 3.9 GiB (25.4%) Init: systemd v: 249 runlevel: 5 Compilers:
  gcc: 11.3.0 alt: 11 Shell: Bash v: 5.1.16 running-in: guake inxi: 3.3.13
and here is an example backup log found in /var/log/timeshift:

Code: Select all

[08:00:01] Main: check_dependencies()
[08:00:01] Main: add_default_exclude_entries()
[08:00:01] Main: add_default_exclude_entries(): exit
[08:00:01] update_partitions()
[08:00:01] Device: get_disk_space_using_df(): 3
[08:00:01] Device: get_mounted_filesystems_using_mtab(): 3
[08:00:01] Device: get_filesystems(): 8
[08:00:01] partition list updated
[08:00:01] detect_system_devices()
[08:00:01] Searching subvolume for system at path: /
[08:00:01] Users: root graeme
[08:00:01] Encrypted home users: 
[08:00:01] Encrypted home dirs:

[08:00:01] Encrypted private dirs:

[08:00:01] Main: load_app_config()
[08:00:01] IconManager: init()
[08:00:01] bin_path: /bin/timeshift
[08:00:01] found images directory: /usr/share/timeshift/images
[08:00:01] base_path: (null)
[08:00:01] Main(): ok
[08:00:01] AppConsole: parse_arguments()
[08:00:01] Main: initialize_repo()
[08:00:01] backup_uuid=961b0e6f-ecd3-40ba-a74d-9ee4ca2e361f
[08:00:01] backup_parent_uuid=
[08:00:01] Setting snapshot device from config file
[08:00:01] repo: creating from uuid
[08:00:01] SnapshotRepo: from_uuid(): RSYNC
[08:00:01] uuid=961b0e6f-ecd3-40ba-a74d-9ee4ca2e361f
[08:00:01] SnapshotRepo: init_from_device()
[08:00:01] 
[08:00:01] SnapshotRepo: unlock_and_mount_devices()
[08:00:01] device=/dev/nvme0n1p5
[08:00:01] SnapshotRepo: unlock_and_mount_device()
[08:00:01] device=/dev/nvme0n1p5
[08:00:01] Device: get_mounted_filesystems_using_mtab(): 3
[08:00:01] ------------------
[08:00:01] arg=961b0e6f-ecd3-40ba-a74d-9ee4ca2e361f, device=/dev/nvme0n1p5
[08:00:01] /
[08:00:01] ------------------
[08:00:01] Device: get_mounted_filesystems_using_mtab(): 3
[08:00:01] Mounted '/dev/nvme0n1p5' at '/run/timeshift/76498/backup'
[08:00:01] SnapshotRepo: load_snapshots()
[08:00:01] loading snapshots from '/run/timeshift/76498/backup/timeshift/snapshots': 2 found
[08:00:01] SnapshotRepo: unlock_and_mount_device(): exit
[08:00:01] Selected snapshot device: /dev/nvme0n1p5
[08:00:01] Free space: 54.6 GB
[08:00:01] SnapshotRepo: check_status()
[08:00:01] SnapshotRepo: available()
[08:00:01] is_available: ok
[08:00:01] SnapshotRepo: has_snapshots()
[08:00:01] SnapshotRepo: has_space() - 0 required (0 B)
[08:00:01] Device: get_disk_space_using_df(): 1
[08:00:01] SnapshotRepo: check_status(): exit
[08:00:01] SnapshotRepo: init_from_device(): exit
[08:00:01] SnapshotRepo: from_uuid(): exit
[08:00:01] Main: initialize_repo(): exit
[08:00:01] AppConsole: start_application()
[08:00:01] Main: create_snapshot()
[08:00:01] SnapshotRepo: has_space() - 0 required (0 B)
[08:00:01] Device: get_disk_space_using_df(): 1
[08:00:01] Daily snapshots are enabled
[08:00:01] Last daily snapshot is more than 1 day old
[08:00:01] Main: backup_and_rotate()
[08:00:01] SnapshotRepo: available()
[08:00:01] is_available: ok
[08:00:01] ------------------------------------------------------------------------------
[08:00:01] Creating new snapshot...(RSYNC)
[08:00:01] Saving to device: /dev/nvme0n1p5, mounted at path: /run/timeshift/76498/backup
[08:00:01] Linking from snapshot: 2022-11-24_18-00-01
[08:00:01] Main: save_exclude_list_for_backup()
[08:00:01] Main: create_exclude_list_for_backup()
[08:00:01] Main: create_exclude_list_for_backup(): exit
[08:00:01] Syncing files with rsync...
[08:00:01] RsyncTask:execute()
[08:00:01] export LC_ALL=C.UTF-8
rsync -aii --recursive --verbose --delete --force --stats --sparse --delete-excluded --link-dest='/run/timeshift/76498/backup/timeshift/snapshots/2022-11-24_18-00-01/localhost/' --log-file='/run/timeshift/76498/backup/timeshift/snapshots/2022-12-01_08-00-01/rsync-log' --exclude-from='/run/timeshift/76498/backup/timeshift/snapshots/2022-12-01_08-00-01/exclude.list' --delete-excluded '/' '/run/timeshift/76498/backup/timeshift/snapshots/2022-12-01_08-00-01/localhost/'
[08:00:01] RsyncTask:prepare(): saved: /tmp/WAV3doUd/2022-12-01_08-00-01/script.sh
[08:00:01] AsyncTask: child_pid: 76532
[08:03:06] AsyncTask: finish(): enter
[08:03:06] exit_code: 11
[08:03:06] E: rsync returned an error
[08:03:06] E: Failed to create new snapshot
[08:03:06] Failed to create snapshot
[08:03:06] SnapshotRepo: load_snapshots()
[08:03:06] loading snapshots from '/run/timeshift/76498/backup/timeshift/snapshots': 2 found
[08:03:06] Weekly snapshots are enabled
[08:03:06] Last weekly snapshot is more than 1 week old
[08:03:06] Main: backup_and_rotate()
[08:03:06] SnapshotRepo: available()
[08:03:06] is_available: ok
[08:03:06] ------------------------------------------------------------------------------
[08:03:06] Creating new snapshot...(RSYNC)
[08:03:06] Saving to device: /dev/nvme0n1p5, mounted at path: /run/timeshift/76498/backup
[08:03:06] Linking from snapshot: 2022-11-24_18-00-01
[08:03:06] Main: save_exclude_list_for_backup()
[08:03:06] Main: create_exclude_list_for_backup()
[08:03:06] Main: create_exclude_list_for_backup(): exit
[08:03:06] Syncing files with rsync...
[08:03:06] RsyncTask:execute()
[08:03:06] export LC_ALL=C.UTF-8
rsync -aii --recursive --verbose --delete --force --stats --sparse --delete-excluded --link-dest='/run/timeshift/76498/backup/timeshift/snapshots/2022-11-24_18-00-01/localhost/' --log-file='/run/timeshift/76498/backup/timeshift/snapshots/2022-12-01_08-00-01/rsync-log' --exclude-from='/run/timeshift/76498/backup/timeshift/snapshots/2022-12-01_08-00-01/exclude.list' --delete-excluded '/' '/run/timeshift/76498/backup/timeshift/snapshots/2022-12-01_08-00-01/localhost/'
[08:03:06] RsyncTask:prepare(): saved: /tmp/WAV3doUd/2022-12-01_08-03-06/script.sh
[08:03:06] AsyncTask: child_pid: 76602
[08:03:23] AsyncTask: finish(): enter
[08:03:23] exit_code: 11
[08:03:24] E: rsync returned an error
[08:03:24] E: Failed to create new snapshot
[08:03:24] Failed to create snapshot
[08:03:24] SnapshotRepo: load_snapshots()
[08:03:24] loading snapshots from '/run/timeshift/76498/backup/timeshift/snapshots': 2 found
[08:03:24] ------------------------------------------------------------------------------
[08:03:24] SnapshotRepo: load_snapshots()
[08:03:24] loading snapshots from '/run/timeshift/76498/backup/timeshift/snapshots': 2 found
[08:03:24] SnapshotRepo: auto_remove()
[08:03:24] SnapshotRepo: remove_untagged()
[08:03:24] SnapshotRepo: load_snapshots()
[08:03:24] loading snapshots from '/run/timeshift/76498/backup/timeshift/snapshots': 2 found
[08:03:24] SnapshotRepo: load_snapshots()
[08:03:24] loading snapshots from '/run/timeshift/76498/backup/timeshift/snapshots': 2 found
[08:03:24] Removing snapshots (incomplete):
[08:03:24] ------------------------------------------------------------------------------
[08:03:24] Removing '2022-12-01_08-00-01'...
[08:03:24] RsyncTask:execute()
[08:03:24] rm -rfv '/run/timeshift/76498/backup/timeshift/snapshots/2022-12-01_08-00-01/'
[08:03:24] RsyncTask:prepare(): saved: /tmp/WAV3doUd/2022-12-01_08-03-24/script.sh
[08:03:24] AsyncTask: child_pid: 76624
[08:03:26] AsyncTask: finish(): enter
[08:03:26] exit_code: 0
[08:03:26] Removed '2022-12-01_08-00-01'
[08:03:26] ------------------------------------------------------------------------------
[08:03:26] SnapshotRepo: load_snapshots()
[08:03:26] loading snapshots from '/run/timeshift/76498/backup/timeshift/snapshots': 2 found
[08:03:26] SnapshotRepo: load_snapshots()
[08:03:26] loading snapshots from '/run/timeshift/76498/backup/timeshift/snapshots': 2 found
[08:03:26] Symlinks updated
[08:03:26] exit_app()
[08:03:26] crontab -l
[08:03:26] Failed to read cron tab
[08:03:26] crontab -l
[08:03:26] Failed to read cron tab
[08:03:26] Cron task exists: /etc/cron.d/timeshift-hourly
[08:03:26] unmount_target_device()
[08:03:26] clean_logs()
[08:03:26] rm -rf '/tmp/WAV3doUd'
[08:03:26] cleanup_unmount_devices()
[08:03:26] Device: get_disk_space_using_df(): 3
[08:03:26] Device: get_mounted_filesystems_using_mtab(): 3
[08:03:26] Device: get_filesystems(): 8
[08:03:26] 
Found stale mount for device '/dev/nvme0n1p5' at path '/run/timeshift/76498/backup'
[08:03:26] Unmounted successfully
Thank you for your assistance!
Last edited by LockBot on Thu Jun 01, 2023 10:00 pm, edited 1 time in total.
Reason: Topic automatically closed 6 months after creation. New replies are no longer allowed.
User avatar
Pjotr
Level 24
Level 24
Posts: 20135
Joined: Mon Mar 07, 2011 10:18 am
Location: The Netherlands (Holland) 🇳🇱
Contact:

Re: Filesystem Root has 0 bytes remaining -- Possible Timeshift issue?

Post by Pjotr »

Clean safely (and tame your Timeshift):
https://easylinuxtipsproject.blogspot.c ... -mint.html
Tip: 10 things to do after installing Linux Mint 21.3 Virginia
Keep your Linux Mint healthy: Avoid these 10 fatal mistakes
Twitter: twitter.com/easylinuxtips
All in all, horse sense simply makes sense.
NRGibbons
Level 1
Level 1
Posts: 2
Joined: Sat May 14, 2022 3:00 pm

Re: Filesystem Root has 0 bytes remaining -- Possible Timeshift issue?

Post by NRGibbons »

Yess, reading this helped. It is very obvious in retrospect, but I did not realize how storage-hungry timeshift was -- reducing it to only 1 monthly backup was sufficient. Thank you!
Locked

Return to “Software & Applications”