Page 1 of 1

MX 21/3 error with MX Snapshot

Posted: Sun Nov 12, 2023 8:02 pm
by planetree
For the first time I've got an error with MX Snapshot:
Could not create linuxfs file, please check whether you have enough space on the destination partition.
This is the output:
mksquashfs: invalid option

SYNTAX:mksquashfs source1 source2 ... dest [options] [-e list of exclude
dirs/files]

Filesystem build options:
-comp <comp> select <comp> compression
Compressors available:
gzip (default)
lzma
lzo
lz4
xz
zstd
-b <block_size> set data block to <block_size>. Default 128 Kbytes
Optionally a suffix of K or M can be given to specify
Kbytes or Mbytes respectively
-reproducible build images that are reproducible (default)
-not-reproducible build images that are not reproducible
-mkfs-time <time> set mkfs time to <time> which is an unsigned int
-fstime <time> synonym for mkfs-time
-all-time <time> set all inode times to <time> which is an unsigned int
-no-exports don't make the filesystem exportable via NFS
-no-sparse don't detect sparse files
-no-xattrs don't store extended attributes
-xattrs store extended attributes (default)
-noI do not compress inode table
-noId do not compress the uid/gid table (implied by -noI)
-noD do not compress data blocks
-noF do not compress fragment blocks
-noX do not compress extended attributes
-no-fragments do not use fragments
-always-use-fragments use fragment blocks for files larger than block size
-no-duplicates do not perform duplicate checking
-all-root make all files owned by root
-root-mode <mode> set root directory permissions to octal <mode>
-force-uid <uid> set all file uids to <uid>
-force-gid <gid> set all file gids to <gid>
-nopad do not pad filesystem to a multiple of 4K
-keep-as-directory if one source directory is specified, create a root
directory containing that directory, rather than the
contents of the directory

Filesystem filter options:
-p <pseudo-definition> Add pseudo file definition
-pf <pseudo-file> Add list of pseudo file definitions
Pseudo definitions should be of the format
filename d mode uid gid
filename m mode uid gid
filename b mode uid gid major minor
filename c mode uid gid major minor
filename f mode uid gid command
filename s mode uid gid symlink
-sort <sort_file> sort files according to priorities in <sort_file>. One
file or dir with priority per line. Priority -32768 to
32767, default priority 0
-ef <exclude_file> list of exclude dirs/files. One per line
-wildcards Allow extended shell wildcards (globbing) to be used in
exclude dirs/files
-regex Allow POSIX regular expressions to be used in exclude
dirs/files

Filesystem append options:
-noappend do not append to existing filesystem
-root-becomes <name> when appending source files/directories, make the
original root become a subdirectory in the new root
called <name>, rather than adding the new source items
to the original root

Mksquashfs runtime options:
-version print version, licence and copyright message
-exit-on-error treat normally ignored errors as fatal
-recover <name> recover filesystem data using recovery file <name>
-no-recovery don't generate a recovery file
-quiet no verbose output
-info print files written to filesystem
-no-progress don't display the progress bar
-progress display progress bar when using the -info option
-processors <number> Use <number> processors. By default will use number of
processors available
-mem <size> Use <size> physical memory. Currently set to 1963M
Optionally a suffix of K, M or G can be given to specify
Kbytes, Mbytes or Gbytes respectively

Miscellaneous options:
-root-owned alternative name for -all-root
-offset <offset> Skip <offset> bytes at the beginning of <dest>.
Optionally a suffix of K, M or G can be given to specify
Kbytes, Mbytes or Gbytes respectively.
Default 0 bytes.
-o <offset> synonym for -offset
-noInodeCompression alternative name for -noI
-noIdTableCompression alternative name for -noId
-noDataCompression alternative name for -noD
-noFragmentCompression alternative name for -noF
-noXattrCompression alternative name for -noX

-Xhelp print compressor options for selected compressor

Compressors available and compressor specific options:
gzip (default)
-Xcompression-level <compression-level>
<compression-level> should be 1 .. 9 (default 9)
-Xwindow-size <window-size>
<window-size> should be 8 .. 15 (default 15)
-Xstrategy strategy1,strategy2,...,strategyN
Compress using strategy1,strategy2,...,strategyN in turn
and choose the best compression.
Available strategies: default, filtered, huffman_only,
run_length_encoded and fixed
lzma (no options)
lzo
-Xalgorithm <algorithm>
Where <algorithm> is one of:
lzo1x_1
lzo1x_1_11
lzo1x_1_12
lzo1x_1_15
lzo1x_999 (default)
-Xcompression-level <compression-level>
<compression-level> should be 1 .. 9 (default 8)
Only applies to lzo1x_999 algorithm
lz4
-Xhc
Compress using LZ4 High Compression
xz
-Xbcj filter1,filter2,...,filterN
Compress using filter1,filter2,...,filterN in turn
(in addition to no filter), and choose the best compression.
Available filters: x86, arm, armthumb, powerpc, sparc, ia64
-Xdict-size <dict-size>
Use <dict-size> as the XZ dictionary size. The dictionary size
can be specified as a percentage of the block size, or as an
absolute value. The dictionary size must be less than or equal
to the block size and 8192 bytes or larger. It must also be
storable in the xz header as either 2^n or as 2^n+2^(n+1).
Example dict-sizes are 75%, 50%, 37.5%, 25%, or 32K, 16K, 8K
etc.
zstd
-Xcompression-level <compression-level>
<compression-level> should be 1 .. 22 (default 15)
I don't understand why I'm, getting this error. Rebooted and got it again. Appreciate any help.

This is my system info:

Code: Select all

System:    Kernel: 5.10.0-26-amd64 [5.10.197-1] x86_64 bits: 64 compiler: gcc v: 10.2.1 
           parameters: BOOT_IMAGE=/boot/vmlinuz-5.10.0-26-amd64 root=UUID=<filter> ro quiet splash 
           Desktop: Xfce 4.18.1 tk: Gtk 3.24.24 info: xfce4-panel wm: xfwm 4.18.0 vt: 7 
           dm: LightDM 1.26.0 Distro: MX-21.3_x64 Wildflower October 20  2021 
           base: Debian GNU/Linux 11 (bullseye) 
Machine:   Type: Desktop System: Dell product: OptiPlex 7020 v: 00 serial: <filter> Chassis: 
           type: 15 serial: <filter> 
           Mobo: Dell model: 02YYK5 v: A00 serial: <filter> BIOS: Dell v: A18 date: 05/30/2019 
CPU:       Info: Quad Core model: Intel Core i5-4590 bits: 64 type: MCP arch: Haswell family: 6 
           model-id: 3C (60) stepping: 3 microcode: 28 cache: L2: 6 MiB 
           flags: avx avx2 lm nx pae sse sse2 sse3 sse4_1 sse4_2 ssse3 vmx bogomips: 26337 
           Speed: 1044 MHz min/max: 800/3300 MHz Core speeds (MHz): 1: 1044 2: 1047 3: 1055 
           4: 1000 
           Vulnerabilities: Type: gather_data_sampling status: Not affected 
           Type: itlb_multihit status: KVM: VMX disabled 
           Type: l1tf mitigation: PTE Inversion; VMX: conditional cache flushes, SMT disabled 
           Type: mds mitigation: Clear CPU buffers; SMT disabled 
           Type: meltdown mitigation: PTI 
           Type: mmio_stale_data status: Unknown: No mitigations 
           Type: retbleed status: Not affected 
           Type: spec_rstack_overflow status: Not affected 
           Type: spec_store_bypass 
           mitigation: Speculative Store Bypass disabled via prctl and seccomp 
           Type: spectre_v1 mitigation: usercopy/swapgs barriers and __user pointer sanitization 
           Type: spectre_v2 mitigation: Retpolines, IBPB: conditional, IBRS_FW, STIBP: disabled, 
           RSB filling, PBRSB-eIBRS: Not affected 
           Type: srbds mitigation: Microcode 
           Type: tsx_async_abort status: Not affected 
Graphics:  Device-1: Intel Xeon E3-1200 v3/4th Gen Core Processor Integrated Graphics vendor: Dell 
           driver: i915 v: kernel bus-ID: 00:02.0 chip-ID: 8086:0412 class-ID: 0300 
           Display: x11 server: X.Org 1.20.11 compositor: xfwm4 v: 4.18.0 driver: 
           loaded: modesetting unloaded: fbdev,vesa display-ID: :0.0 screens: 1 
           Screen-1: 0 s-res: 1920x1080 s-dpi: 96 s-size: 508x285mm (20.0x11.2") 
           s-diag: 582mm (22.9") 
           Monitor-1: VGA-1 res: 1920x1080 dpi: 82 size: 598x336mm (23.5x13.2") diag: 686mm (27") 
           OpenGL: renderer: Mesa DRI Intel HD Graphics 4600 (HSW GT2) v: 4.5 Mesa 20.3.5 
           compat-v: 3.0 direct render: Yes 
Audio:     Device-1: Intel Xeon E3-1200 v3/4th Gen Core Processor HD Audio vendor: Dell 
           driver: snd_hda_intel v: kernel bus-ID: 00:03.0 chip-ID: 8086:0c0c class-ID: 0403 
           Device-2: Intel 8 Series/C220 Series High Definition Audio vendor: Dell 
           driver: snd_hda_intel v: kernel bus-ID: 00:1b.0 chip-ID: 8086:8c20 class-ID: 0403 
           Sound Server-1: ALSA v: k5.10.0-26-amd64 running: yes 
           Sound Server-2: PulseAudio v: 14.2 running: yes 
           Sound Server-3: PipeWire v: 0.3.19 running: no 
Network:   Device-1: Intel Ethernet I217-LM vendor: Dell driver: e1000e v: kernel port: f080 
           bus-ID: 00:19.0 chip-ID: 8086:153a class-ID: 0200 
           IF: eth0 state: down mac: <filter> 
           Device-2: Huawei Broadband stick type: USB driver: cdc_ether,option,option1,usb-storage 
           bus-ID: 2-8:3 chip-ID: 12d1:1436 class-ID: 0806 
           IF: wwan0 state: down mac: <filter> 
           IF-ID-1: ipv6leakintrf0 state: unknown speed: N/A duplex: N/A mac: <filter> 
           IF-ID-2: ppp0 state: unknown speed: N/A duplex: N/A mac: N/A 
           IF-ID-3: proton0 state: unknown speed: 10 Mbps duplex: full mac: N/A 
           IF-ID-4: pvpnksintrf0 state: unknown speed: N/A duplex: N/A mac: <filter> 
Drives:    Local Storage: total: 465.76 GiB used: 394.52 GiB (84.7%) 
           SMART Message: Unable to run smartctl. Root privileges required. 
           ID-1: /dev/sda maj-min: 8:0 vendor: Toshiba model: DT01ACA050 size: 465.76 GiB 
           block-size: physical: 4096 B logical: 512 B speed: 6.0 Gb/s type: HDD rpm: 7200 
           serial: <filter> rev: A7S0 scheme: MBR 
Partition: ID-1: / raw-size: 457.75 GiB size: 449.5 GiB (98.20%) used: 394.52 GiB (87.8%) fs: ext4 
           dev: /dev/sda1 maj-min: 8:1 
Swap:      Kernel: swappiness: 15 (default 60) cache-pressure: 100 (default) 
           ID-1: swap-1 type: partition size: 8 GiB used: 0 KiB (0.0%) priority: -2 dev: /dev/sda2 
           maj-min: 8:2 
Sensors:   System Temperatures: cpu: 29.8 C mobo: 27.8 C 
           Fan Speeds (RPM): N/A 
Repos:     Packages: 2536 note: see --pkg apt: 2522 lib: 1321 flatpak: 14 
           No active apt repos in: /etc/apt/sources.list 
           Active apt repos in: /etc/apt/sources.list.d/atom.list 
           1: deb [arch=amd64] https://packagecloud.io/AtomEditor/atom/any/ any main
           Active apt repos in: /etc/apt/sources.list.d/debian-stable-updates.list 
           1: deb http://deb.debian.org/debian bullseye-updates main contrib non-free
           Active apt repos in: /etc/apt/sources.list.d/debian.list 
           1: deb http://deb.debian.org/debian bullseye main contrib non-free
           2: deb http://security.debian.org/debian-security bullseye-security main contrib non-free
           Active apt repos in: /etc/apt/sources.list.d/mx.list 
           1: deb http://mxlinux.mirrors.uk2.net/packages/mx/repo/ bullseye main non-free
           Active apt repos in: /etc/apt/sources.list.d/protonvpn-stable.list 
           1: deb [arch="all", signed-by=/usr/share/keyrings/protonvpn-stable-archive-keyring.gpg] https://repo.protonvpn.com/debian stable main
           Active apt repos in: /etc/apt/sources.list.d/vivaldi.list 
           1: deb [arch=amd64] https://repo.vivaldi.com/stable/deb/ stable main
Info:      Processes: 224 Uptime: 14m wakeups: 1 Memory: 7.67 GiB used: 1.93 GiB (25.1%) 
           Init: SysVinit v: 2.96 runlevel: 5 default: 5 tool: systemctl Compilers: gcc: 10.2.1 
           alt: 10 Client: shell wrapper v: 5.1.4-release inxi: 3.3.06 
Boot Mode: BIOS (legacy, CSM, MBR)

Re: MX 21/3 error with MX Snapshot

Posted: Sun Nov 12, 2023 8:37 pm
by Adrian
Hey, @planetree I wonder if I messed up something, the old version should work fine, but I would like to know what is going on because I'm not getting this. Do you have any custom commands for mksquasfs in the .conf file?
Can you cut a bit more from the log file before this error, it should show the command that is actually run.

Just to make sure we are on the same page, what version of mx-snapshot do you use?

Re: MX 21/3 error with MX Snapshot

Posted: Sun Nov 12, 2023 8:44 pm
by planetree
Snapshot Version 23.11

I'm excluding everything except Desktop via the checkboxes.

I've now deleted a lot of old stuff just in case so now I have plenty of space but still get same error. I suspect it may be an update as I haven't had any problems before.

Re: MX 21/3 error with MX Snapshot

Posted: Sun Nov 12, 2023 8:46 pm
by planetree
Can you cut a bit more from the log file before this error, it should show the command that is actually run.
Where do I find the log file? I was just pasting from the Snapshot window output before.

Re: MX 21/3 error with MX Snapshot

Posted: Sun Nov 12, 2023 8:46 pm
by Adrian
It's not the space, that error it's a catch all because I don't know why it errors out the most common is lack of space but that's not case here. Can you please look on /var/log/mx-snapshot.log and post the mksquashfs command it's trying to run?

Re: MX 21/3 error with MX Snapshot

Posted: Sun Nov 12, 2023 8:49 pm
by planetree
Here's the whole logfile:

Code: Select all

2023-11-13 01:39:49.969 DBG default: mx-snapshot version: 23.11
2023-11-13 01:39:49.976 DBG default: grep -oP '(?<=DISTRIB_ID=).*' /etc/lsb-release
2023-11-13 01:39:49.978 DBG default: cut -f1 -d'_' /etc/mx-version
2023-11-13 01:39:49.981 DBG default: grep -oP '(?<=DISTRIB_CODENAME=).*' /etc/lsb-release
2023-11-13 01:39:49.983 DBG default: /usr/share/mx-snapshot/scripts/snapshot-bootparameter.sh | tr '
' ' '
2023-11-13 01:39:49.993 DBG default: +++ QString Settings::getFilename() const +++
2023-11-13 01:39:49.993 DBG default: +++ void Settings::selectKernel() +++
2023-11-13 01:39:50.025 DBG default: +++ void MainWindow::setup() +++
2023-11-13 01:39:50.041 DBG default: +++ void MainWindow::loadSettings() +++
2023-11-13 01:39:50.041 DBG default: ls -1 /boot/vmlinuz-* | wc -l
2023-11-13 01:39:50.110 DBG default: 2

2023-11-13 01:39:50.112 DBG default: +++ void MainWindow::listFreeSpace() +++
2023-11-13 01:39:50.113 DBG default: stat --file-system --format=%T "/home"
2023-11-13 01:39:50.117 DBG default: df -k --output=avail "/home" |tail -n1
2023-11-13 01:39:50.120 DBG default: - Free space on /home, where snapshot folder is placed: 102.31GiB 

2023-11-13 01:39:50.120 DBG default: find "/home/snapshot" -maxdepth 1 -type f -name '*.iso' -exec du -shc {} + |tail -1 |awk '{print $1}'
2023-11-13 01:39:50.125 DBG default: The free space should be sufficient to hold the compressed data from / and /home

      If necessary, you can create more available space
      by removing previous snapshots and saved copies:
      3 snapshots are taking up 15G of disk space.

2023-11-13 01:39:50.125 DBG default: find "/home/snapshot" -maxdepth 1 -type f -name '*.iso' -exec du -shc {} + |tail -1 |awk '{print $1}'
2023-11-13 01:39:50.137 DBG default: df -k --output=used / |tail -n1
2023-11-13 01:39:50.294 DBG default: mountpoint -q /home
2023-11-13 01:39:55.745 DBG default: +++ void Settings::selectKernel() +++
2023-11-13 01:39:58.025 DBG default: +++ void Settings::excludeDocuments(bool) +++
2023-11-13 01:39:58.026 DBG default: xdg-user-dir "DOCUMENTS"
2023-11-13 01:39:58.689 DBG default: +++ void Settings::excludeMusic(bool) +++
2023-11-13 01:39:58.689 DBG default: xdg-user-dir "MUSIC"
2023-11-13 01:39:59.273 DBG default: +++ void Settings::excludeNetworks(bool) +++
2023-11-13 01:40:00.353 DBG default: +++ void Settings::excludeDownloads(bool) +++
2023-11-13 01:40:00.353 DBG default: xdg-user-dir "DOWNLOAD"
2023-11-13 01:40:00.914 DBG default: +++ void Settings::excludePictures(bool) +++
2023-11-13 01:40:00.914 DBG default: xdg-user-dir "PICTURES"
2023-11-13 01:40:01.441 DBG default: +++ void Settings::excludeSteam(bool) +++
2023-11-13 01:40:02.537 DBG default: +++ void Settings::excludeVideos(bool) +++
2023-11-13 01:40:02.537 DBG default: xdg-user-dir "VIDEOS"
2023-11-13 01:40:03.081 DBG default: +++ void Settings::excludeVirtualBox(bool) +++
2023-11-13 01:40:06.522 DBG default: grep ^CONFIG_SQUASHFS_XZ=y /boot/config-5.10.0-26-amd64
2023-11-13 01:40:07.595 DBG default: +++ bool Settings::checkSnapshotDir() const +++
2023-11-13 01:40:07.595 DBG default: mkdir -p /home/snapshot
2023-11-13 01:40:11.995 DBG default: chown $(logname): "//home/snapshot"
2023-11-13 01:40:12.018 DBG default: +++ bool Settings::checkTempDir() +++
2023-11-13 01:40:12.019 DBG default: +++ static bool Settings::isOnSupportedPart(const QString&) +++
2023-11-13 01:40:12.019 DBG default: stat --file-system --format=%T "/home/snapshot"
2023-11-13 01:40:12.022 DBG default: detected partition "ext2/ext3" supported part: true
2023-11-13 01:40:12.022 DBG default: +++ static QString Settings::largerFreeSpace(const QString&, const QString&, const QString&) +++
2023-11-13 01:40:12.022 DBG default: +++ static QString Settings::largerFreeSpace(const QString&, const QString&) +++
2023-11-13 01:40:12.022 DBG default: stat -c '%d' /home
2023-11-13 01:40:12.026 DBG default: stat -c '%d' /tmp
2023-11-13 01:40:12.031 DBG default: +++ static QString Settings::largerFreeSpace(const QString&, const QString&) +++
2023-11-13 01:40:12.031 DBG default: stat -c '%d' /home/snapshot
2023-11-13 01:40:12.035 DBG default: stat -c '%d' /tmp
2023-11-13 01:40:12.040 DBG default: stat --file-system --format=%T "/tmp/mx-snapshot-yLYgBUSA"
2023-11-13 01:40:12.044 DBG default: df -k --output=avail "/tmp/mx-snapshot-yLYgBUSA" |tail -n1
2023-11-13 01:40:12.049 DBG default: Work directory is placed in "/tmp"
2023-11-13 01:40:12.049 DBG default: +++ void Settings::otherExclusions() +++
2023-11-13 01:40:12.057 DBG default: +++ void Work::setupEnv() +++
2023-11-13 01:40:12.057 DBG default: mountpoint /boot
2023-11-13 01:40:12.071 DBG default: /boot is not a mountpoint

2023-11-13 01:40:12.072 DBG default: +++ static bool Work::checkInstalled(const QString&) +++
2023-11-13 01:40:12.072 DBG default: dpkg -s mx-installer |grep '^Status: install ok installed'
2023-11-13 01:40:12.104 DBG default: installed-to-live -b /.bind-root start bind=/home live-files version-file adjtime read-only
2023-11-13 01:40:12.925 DBG default: Calculating total size of excluded files...
2023-11-13 01:40:12.925 DBG default: du -sxc {/.bind-root/.config,/.bind-root/.fehbg,/.bind-root/lost+found,/.bind-root/tmp,/.bind-root/dev/,/.bind-root/media/,/.bind-root/mnt/,/.bind-root/sys/,/.bind-root/proc/,/.bind-root/run/,/.bind-root/boot/grub/,/.bind-root/etc/bcm-ckd,/.bind-root/etc/defaultdomain,/.bind-root/etc/crypttab,/.bind-root/etc/live/protect,/.bind-root/etc/machine-id,/.bind-root/etc/mailname,/.bind-root/etc/resolv.conf,/.bind-root/home/snapshot,/.bind-root/home/*/.config/MX-Linux/xdg_check,/.bind-root/var/cache/apt/archives/partial/,/.bind-root/var/cache/debconf/*-old,/.bind-root/var/cache/lightdm,/.bind-root/var/lib/apt/lists/,/.bind-root/var/lib/apt/periodic/,/.bind-root/var/lib/dbus/machine-id,/.bind-root/var/lib/dhcp/,/.bind-root/var/lib/dpkg/*-old,/.bind-root/var/lib/NetworkManager/,/.bind-root/var/lib/sudo/,/.bind-root/var/lib/urandom/,/.bind-root/var/log/,/.bind-root/var/log/samba/,/.bind-root/var/mail/,/.bind-root/var/spool/mail/,/.bind-root/var/spool/anacron/,/.bind-root/var/tmp/,/.bind-root/home/*/.cache/mozilla/firefox/*/cache2/,/.bind-root/home/*/.cache/thumbnails/,/.bind-root/home/*/.cache/vivaldi/Default/Cache/,/.bind-root/home/*/.dbus,/.bind-root/home/*/.thumbnails/,/.bind-root/home/*/.local/share/Trash/,/.bind-root/home/*/.bash_history,/.bind-root/home/*/.local/share/recently-used.xbel,/.bind-root/home/*/.xsession-errors,/.bind-root/home/*/Documents/,/.bind-root/home/*/Documents/.,/.bind-root/home/*/Music/,/.bind-root/home/*/Music/.,/.bind-root/etc/NetworkManager/system-connections/,/.bind-root/home/*/Downloads/,/.bind-root/home/*/Downloads/.,/.bind-root/home/*/Pictures/,/.bind-root/home/*/Pictures/.,/.bind-root/home/*/Videos/,/.bind-root/home/*/Videos/.,/.bind-root/home/*/VirtualBox\ VMs,/.bind-root/home/snapshot,/.bind-root/tmp/mx-snapshot-yLYgBUSA} 2>/dev/null |tail -1 |cut -f1
2023-11-13 01:40:13.336 DBG default: 321074604

2023-11-13 01:40:13.336 DBG default: Calculating size of root...
2023-11-13 01:40:13.336 DBG default: du -sx /.bind-root 2>/dev/null |tail -1 |cut -f1
2023-11-13 01:40:14.960 DBG default: 340039280

2023-11-13 01:40:14.960 DBG default: SIZE 340039280
2023-11-13 01:40:14.960 DBG default: SIZE ROOT     340039280
2023-11-13 01:40:14.960 DBG default: SIZE EXCLUDES 321074604
2023-11-13 01:40:14.960 DBG default: COMPRESSION   31
2023-11-13 01:40:14.960 DBG default: SIZE NEEDED   5879049
2023-11-13 01:40:14.960 DBG default: SIZE FREE     107277292 

2023-11-13 01:40:14.960 DBG default: +++ void Work::checkNoSpaceAndExit(quint64, quint64, const QString&) +++
2023-11-13 01:40:14.960 DBG default: Needed space: 5879049
2023-11-13 01:40:14.960 DBG default: Free space  : 107277292 on "/home/snapshot"
2023-11-13 01:40:14.960 DBG default: stat -c '%d' /home/snapshot
2023-11-13 01:40:14.964 DBG default: stat -c '%d' /tmp/mx-snapshot-yLYgBUSA
2023-11-13 01:40:14.968 DBG default: Copying the new-iso filesystem...
2023-11-13 01:40:14.968 DBG default: tar xf /usr/lib/iso-template/iso-template.tar.gz
2023-11-13 01:40:15.473 DBG default: cp /usr/lib/iso-template/template-initrd.gz iso-template/antiX/initrd.gz
2023-11-13 01:40:15.477 DBG default: cp /boot/vmlinuz-5.10.0-26-amd64 iso-template/antiX/vmlinuz
2023-11-13 01:40:15.616 DBG default: +++ void Work::replaceMenuStrings() +++
2023-11-13 01:40:15.616 DBG default: sed -i 's|%DISTRO%|MX-21.3|g' /tmp/mx-snapshot-yLYgBUSA/iso-template/boot/grub/grub.cfg
2023-11-13 01:40:15.639 DBG default: sed -i 's|%DISTRO_NAME%|MX|g' /tmp/mx-snapshot-yLYgBUSA/iso-template/boot/grub/grub.cfg
2023-11-13 01:40:15.663 DBG default: sed -i 's|%FULL_DISTRO_NAME%|MX-21.3_x64|g' /tmp/mx-snapshot-yLYgBUSA/iso-template/boot/grub/grub.cfg
2023-11-13 01:40:15.686 DBG default: sed -i 's|%FULL_DISTRO_NAME_SPACE%|MX-21.3 x64|g' /tmp/mx-snapshot-yLYgBUSA/iso-template/boot/grub/grub.cfg
2023-11-13 01:40:15.709 DBG default: sed -i 's|%RELEASE_DATE%|November 13, 2023|g' /tmp/mx-snapshot-yLYgBUSA/iso-template/boot/grub/grub.cfg
2023-11-13 01:40:15.736 DBG default: printf '%s\n' quiet splash | grep -E '^(lang=|kbd=|kbvar=|kbopt=|tz=)' >> '/tmp/mx-snapshot-yLYgBUSA/iso-template/boot/grub/grubenv.cfg'
2023-11-13 01:40:15.740 DBG default: sed -i "s|%OPTIONS%|$(printf '%s\n' quiet splash | grep -v -E '^(lang=|kbd=|kbvar=|kbopt=|tz=)' | tr '\n' ' ')|" '/tmp/mx-snapshot-yLYgBUSA/iso-template/boot/grub/grub.cfg'
2023-11-13 01:40:15.746 DBG default: sed -i 's|%OPTIONS%|quiet splash|g' /tmp/mx-snapshot-yLYgBUSA/iso-template/boot/syslinux/syslinux.cfg
2023-11-13 01:40:15.774 DBG default: sed -i 's|%CODE_NAME%|Wildflower|g' /tmp/mx-snapshot-yLYgBUSA/iso-template/boot/syslinux/syslinux.cfg
2023-11-13 01:40:15.799 DBG default: sed -i 's|%OPTIONS%|quiet splash|g' /tmp/mx-snapshot-yLYgBUSA/iso-template/boot/isolinux/isolinux.cfg
2023-11-13 01:40:15.822 DBG default: sed -i 's|%CODE_NAME%|Wildflower|g' /tmp/mx-snapshot-yLYgBUSA/iso-template/boot/isolinux/isolinux.cfg
2023-11-13 01:40:15.846 DBG default: sed -i 's|%FULL_DISTRO_NAME%|MX-21.3_x64|g' /tmp/mx-snapshot-yLYgBUSA/iso-template/boot/syslinux/syslinux.cfg
2023-11-13 01:40:15.870 DBG default: sed -i 's|%RELEASE_DATE%|November 13, 2023|g' /tmp/mx-snapshot-yLYgBUSA/iso-template/boot/syslinux/syslinux.cfg
2023-11-13 01:40:15.896 DBG default: sed -i 's|%FULL_DISTRO_NAME%|MX-21.3_x64|g' /tmp/mx-snapshot-yLYgBUSA/iso-template/boot/isolinux/isolinux.cfg
2023-11-13 01:40:15.919 DBG default: sed -i 's|%RELEASE_DATE%|November 13, 2023|g' /tmp/mx-snapshot-yLYgBUSA/iso-template/boot/isolinux/isolinux.cfg
2023-11-13 01:40:15.945 DBG default: sed -i 's|%FULL_DISTRO_NAME%|MX-21.3_x64|g' /tmp/mx-snapshot-yLYgBUSA/iso-template/boot/syslinux/readme.msg
2023-11-13 01:40:15.971 DBG default: sed -i 's|%RELEASE_DATE%|November 13, 2023|g' /tmp/mx-snapshot-yLYgBUSA/iso-template/boot/syslinux/readme.msg
2023-11-13 01:40:15.996 DBG default: sed -i 's|%FULL_DISTRO_NAME%|MX-21.3_x64|g' /tmp/mx-snapshot-yLYgBUSA/iso-template/boot/isolinux/readme.msg
2023-11-13 01:40:16.023 DBG default: sed -i 's|%RELEASE_DATE%|November 13, 2023|g' /tmp/mx-snapshot-yLYgBUSA/iso-template/boot/isolinux/readme.msg
2023-11-13 01:40:16.047 DBG default: sed -i 's|%ASCII_CODE_NAME%|Wildflower|g' /tmp/mx-snapshot-yLYgBUSA/iso-template/boot/grub/theme/uefi.txt
2023-11-13 01:40:16.073 DBG default: sed -i 's|%DISTRO%|MX-21.3|g' /tmp/mx-snapshot-yLYgBUSA/iso-template/boot/grub/theme/uefi.txt
2023-11-13 01:40:16.097 DBG default: sed -i 's|%ASCII_CODE_NAME%|Wildflower|g' /tmp/mx-snapshot-yLYgBUSA/iso-template/boot/grub/theme/uefisb.txt
2023-11-13 01:40:16.122 DBG default: sed -i 's|%DISTRO%|MX-21.3|g' /tmp/mx-snapshot-yLYgBUSA/iso-template/boot/grub/theme/uefisb.txt
2023-11-13 01:40:16.145 DBG default: sed -i 's|%ASCII_CODE_NAME%|Wildflower|g' /tmp/mx-snapshot-yLYgBUSA/iso-template/boot/grub/theme/bios.txt
2023-11-13 01:40:16.169 DBG default: sed -i 's|%DISTRO%|MX-21.3|g' /tmp/mx-snapshot-yLYgBUSA/iso-template/boot/grub/theme/bios.txt
2023-11-13 01:40:16.193 DBG default: sed -i 's|%ASCII_CODE_NAME%|Wildflower|g' /tmp/mx-snapshot-yLYgBUSA/iso-template/boot/grub/theme/theme.txt
2023-11-13 01:40:16.218 DBG default: sed -i 's|%DISTRO%|MX-21.3|g' /tmp/mx-snapshot-yLYgBUSA/iso-template/boot/grub/theme/theme.txt
2023-11-13 01:40:16.245 DBG default: sed -i 's|%ASCII_CODE_NAME%|Wildflower|g' /tmp/mx-snapshot-yLYgBUSA/iso-template/boot/grub/theme/l10n.txt
2023-11-13 01:40:16.268 DBG default: sed -i 's|%DISTRO%|MX-21.3|g' /tmp/mx-snapshot-yLYgBUSA/iso-template/boot/grub/theme/l10n.txt
2023-11-13 01:40:16.292 DBG default: +++ void Work::makeChecksum(Work::HashType, const QString&, const QString&) +++
2023-11-13 01:40:16.292 DBG default: Calculating checksum...
2023-11-13 01:40:16.292 DBG default: sync
2023-11-13 01:40:16.532 DBG default: md5sum "vmlinuz">"/tmp/mx-snapshot-yLYgBUSA/iso-template/antiX/vmlinuz.md5"
2023-11-13 01:40:16.552 DBG default: +++ void Work::openInitrd(const QString&, const QString&) +++
2023-11-13 01:40:16.552 DBG default: Building new initrd...
2023-11-13 01:40:16.552 DBG default: chmod a+rx "/tmp/mx-snapshot-Anslee"
2023-11-13 01:40:16.555 DBG default: gunzip -c "/tmp/mx-snapshot-yLYgBUSA/iso-template/antiX/initrd.gz" |cpio -idum
2023-11-13 01:40:16.600 WRN default: 6982 blocks

2023-11-13 01:40:16.600 DBG default: /usr/share/mx-snapshot/scripts/copy-initrd-modules -t="/tmp/mx-snapshot-Anslee" -k="5.10.0-26-amd64"
2023-11-13 01:40:16.617 WRN default: copy-initrd-modules warning: 2 repeated module(s) in input
libahci
sdhci

2023-11-13 01:40:16.622 WRN default: modprobe: WARNING: Module aufs not found in directory /lib/modules/5.10.0-26-amd64
modprobe: WARNING: Module block not found in directory /lib/modules/5.10.0-26-amd64

2023-11-13 01:40:16.622 WRN default: modprobe: WARNING: Module cryptsetup not found in directory /lib/modules/5.10.0-26-amd64
modprobe: WARNING: Module dmsetup not found in directory /lib/modules/5.10.0-26-amd64

2023-11-13 01:40:16.622 WRN default: modprobe: WARNING: Module fotg210-hcd not found in directory /lib/modules/5.10.0-26-amd64
modprobe: WARNING: Module fusbh200-hcd not found in directory /lib/modules/5.10.0-26-amd64

2023-11-13 01:40:16.622 WRN default: modprobe: WARNING: Module hid-lenovo-tpkbd not found in directory /lib/modules/5.10.0-26-amd64

2023-11-13 01:40:16.622 WRN default: modprobe: WARNING: Module hyperv not found in directory /lib/modules/5.10.0-26-amd64

2023-11-13 01:40:16.622 WRN default: modprobe: WARNING: Module jbd not found in directory /lib/modules/5.10.0-26-amd64

2023-11-13 01:40:16.623 WRN default: modprobe: WARNING: Module ntfs not found in directory /lib/modules/5.10.0-26-amd64

2023-11-13 01:40:16.623 WRN default: modprobe: WARNING: Module pcie-aspm not found in directory /lib/modules/5.10.0-26-amd64

2023-11-13 01:40:16.623 WRN default: modprobe: WARNING: Module printk not found in directory /lib/modules/5.10.0-26-amd64

2023-11-13 01:40:16.623 WRN default: modprobe: WARNING: Module rts5139 not found in directory /lib/modules/5.10.0-26-amd64

2023-11-13 01:40:16.624 WRN default: modprobe: WARNING: Module whci-hcd not found in directory /lib/modules/5.10.0-26-amd64
modprobe: WARNING: Module whc-rc not found in directory /lib/modules/5.10.0-26-amd64

2023-11-13 01:40:17.187 DBG default: /usr/share/mx-snapshot/scripts/copy-initrd-programs --to="/tmp/mx-snapshot-Anslee"
2023-11-13 01:40:17.209 DBG default:   add program: ntfs-3g

2023-11-13 01:40:17.257 DBG default: ld_linux: /lib64/ld-linux-x86-64.so.2

2023-11-13 01:40:17.259 DBG default: ld_dir: /tmp/mx-snapshot-Anslee/lib/x86_64-linux-gnu

2023-11-13 01:40:17.270 DBG default:   add program: eject

2023-11-13 01:40:17.339 DBG default: ld_linux: /lib64/ld-linux-x86-64.so.2

2023-11-13 01:40:17.340 DBG default: ld_dir: /tmp/mx-snapshot-Anslee/lib/x86_64-linux-gnu

2023-11-13 01:40:17.351 DBG default:   add program: kmod

2023-11-13 01:40:17.429 DBG default: ld_linux: /lib64/ld-linux-x86-64.so.2

2023-11-13 01:40:17.430 DBG default: ld_dir: /tmp/mx-snapshot-Anslee/lib/x86_64-linux-gnu

2023-11-13 01:40:17.442 DBG default: chown -R $(logname): /tmp/mx-snapshot-Anslee
2023-11-13 01:40:17.474 DBG default: +++ void Work::closeInitrd(const QString&, const QString&) +++
2023-11-13 01:40:17.474 DBG default: (find . |cpio -o -H newc --owner root:root |gzip -9) >"/tmp/mx-snapshot-yLYgBUSA/iso-template/antiX/initrd.gz"
2023-11-13 01:40:30.458 WRN default: 73955 blocks

2023-11-13 01:40:30.470 DBG default: +++ void Work::makeChecksum(Work::HashType, const QString&, const QString&) +++
2023-11-13 01:40:30.470 DBG default: Calculating checksum...
2023-11-13 01:40:30.470 DBG default: sync
2023-11-13 01:40:30.776 DBG default: md5sum "initrd.gz">"/tmp/mx-snapshot-yLYgBUSA/iso-template/antiX/initrd.gz.md5"
2023-11-13 01:40:30.829 DBG default: +++ void Work::savePackageList(const QString&) +++
2023-11-13 01:40:30.829 DBG default: dpkg -l |grep ^ii\ \ |awk '{print $2,$3}' |sed 's/:'$(dpkg --print-architecture)'//' |column -t >"/tmp/mx-snapshot-yLYgBUSA/iso-template/snapshot-20231113_0139/package_list"
2023-11-13 01:40:30.873 DBG default: +++ bool Work::createIso(const QString&) +++
2023-11-13 01:40:30.873 DBG default: +++ static bool Work::checkInstalled(const QString&) +++
2023-11-13 01:40:30.873 DBG default: dpkg -s expect |grep '^Status: install ok installed'
2023-11-13 01:40:30.901 DBG default: Squashing filesystem...
2023-11-13 01:40:30.901 DBG default: stdbuf -o0 mksquashfs /.bind-root /tmp/mx-snapshot-yLYgBUSA/iso-template/antiX/linuxfs -comp xz -processors 4 -throttle 0 -wildcards -ef /usr/local/share/excludes/mx-snapshot-exclude.list -e "home/*/Documents/*" "home/*/Documents/.*" "home/*/Music/*" "home/*/Music/.*" "etc/NetworkManager/system-connections/*" "etc/wicd/*" "var/lib/connman/*" "home/*/Downloads/*" "home/*/Downloads/.*" "home/*/Pictures/*" "home/*/Pictures/.*" "home/*/.steam" "home/*/.local/share/Steam" "home/*/Videos/*" "home/*/Videos/.*" "home/*/VirtualBox VMs" "home/snapshot" "tmp/mx-snapshot-yLYgBUSA"
2023-11-13 01:40:30.924 WRN default: mksquashfs: invalid option

SYNTAX:mksquashfs source1 source2 ...  dest [options] [-e list of exclude
dirs/files]

Filesystem build options:
-comp <comp>		select <comp> compression
			Compressors available:
				gzip (default)
				lzma
				lzo
				lz4
				xz
				zstd
-b <block_size>		set data block to <block_size>.  Default 128 Kbytes
			Optionally a suffix of K or M can be given to specify
			Kbytes or Mbytes respectively
-reproducible		build images that are reproducible (default)
-not-reproducible	build images that are not reproducible
-mkfs-time <time>	set mkfs time to <time> which is an unsigned int
-fstime <time>		synonym for mkfs-time
-all-time <time>	set all inode times to <time> which is an unsigned int
-no-exports		don't make the filesystem exportable via NFS
-no-sparse		don't detect sparse files
-no-xattrs		don't store extended attributes
-xattrs			store extended attributes (default)
-noI			do not compress inode table
-noId			do not compress the uid/gid table (implied by -noI)
-noD			do not compress data blocks
-noF			do not compress fragment blocks
-noX			do not compress extended attributes
-no-fragments		do not use fragments
-always-use-fragments	use fragment blocks for files larger than block size
-no-duplicates		do not perform duplicate checking
-all-root		make all files owned by root
-root-mode <mode>	set root directory permissions to octal <mode>
-force-uid <uid>	set all file uids to <uid>
-force-gid <gid>	set all file gids to <gid>
-nopad			do not pad filesystem to a multiple of 4K
-keep-as-directory	if one source directory is specified, create a root
			directory containing that directory, rather than the
			contents of the directory

Filesystem filter options:
-p <pseudo-definition>	Add pseudo file definition
-pf <pseudo-file>	Add list of pseudo file definitions
			Pseudo definitions should be of the format
				filename d mode uid gid
				filename m mode uid gid
				filename b mode uid gid major minor
				filename c mode uid gid major minor
				filename f mode uid gid command

2023-11-13 01:40:30.949 WRN default: 				filename s mode uid gid symlink
-sort <sort_file>	sort files according to priorities in <sort_file>.  One
			file or dir with priority per line.  Priority -32768 to
			32767, default priority 0
-ef <exclude_file>	list of exclude dirs/files.  One per line
-wildcards		Allow extended shell wildcards (globbing) to be used in
			exclude dirs/files
-regex			Allow POSIX regular expressions to be used in exclude
			dirs/files

Filesystem append options:
-noappend		do not append to existing filesystem
-root-becomes <name>	when appending source files/directories, make the
			original root become a subdirectory in the new root
			called <name>, rather than adding the new source items
			to the original root

Mksquashfs runtime options:
-version		print version, licence and copyright message
-exit-on-error		treat normally ignored errors as fatal
-recover <name>		recover filesystem data using recovery file <name>
-no-recovery		don't generate a recovery file
-quiet			no verbose output
-info			print files written to filesystem
-no-progress		don't display the progress bar
-progress		display progress bar when using the -info option
-processors <number>	Use <number> processors.  By default will use number of
			processors available
-mem <size>		Use <size> physical memory.  Currently set to 1963M
			Optionally a suffix of K, M or G can be given to specify
			Kbytes, Mbytes or Gbytes respectively

Miscellaneous options:
-root-owned		alternative name for -all-root
-offset <offset>	Skip <offset> bytes at the beginning of <dest>.
			Optionally a suffix of K, M or G can be given to specify
			Kbytes, Mbytes or Gbytes respectively.
			Default 0 bytes.
-o <offset>		synonym for -offset
-noInodeCompression	alternative name for -noI
-noIdTableCompression	alternative name for -noId
-noDataCompression	alternative name for -noD
-noFragmentCompression	alternative name for -noF
-noXattrCompression	alternative name for -noX

-Xhelp			print compressor options for selected compressor

Compressors available and compressor specific options:
	gzip (default)
	  -Xcompression-level <compression-level>
		<compression-level> should be 1 .. 9 (default 9)
	  -Xwindow-size <window-size>
		<window-size> should be 8 .. 15 (default 15)
	  -Xstrategy strategy1,strategy2,...,strategyN
		Compress using strategy1,strategy2,...,strategyN in turn
		and choose the best compression.
		Available strategies: default, filtered, huffman_only,
		run_length_encoded and fixed
	lzma (no options)
	lzo
	  -Xalgorithm <algorithm>
		Where <algorithm> is one of:
			lzo1x_1
			lzo1x_1_11
			lzo1x_1_12
			lzo1x_1_15
			lzo1x_999 (default)
	  -Xcompression-level <compression-level>
		<compression-level> should be 1 .. 9 (default 8)
		Only applies to lzo1x_999 algorithm
	lz4
	  -Xhc
		Compress using LZ4 High Compression
	xz
	  -Xbcj filter1,filter2,...,filterN
		Compress using filter1,filter2,...,filterN in turn
		(in addition to no filter), and choose the best compression.
		Available filters: x86, arm, armthumb, powerpc, sparc, ia64
	  -Xdict-size <dict-size>
		Use <dict-size> as the XZ dictionary size.  The dictionary size
		can be specified as a percentage of the block size, or as an
		absolute value.  The dictionary size must be less than or equal
		to the block size and 8192 bytes or larger.  It must also be
		storable in the xz header as either 2^n or as 2^n+2^(n+1).
		Example dict-sizes are 75%, 50%, 37.5%, 25%, or 32K, 16K, 8K
		etc.
	zstd
	  -Xcompression-level <compression-level>
		<compression-level> should be 1 .. 22 (default 15)

2023-11-13 01:40:30.953 DBG default: Error Could not create linuxfs file, please check whether you have enough space on the destination partition.
2023-11-13 01:40:39.568 DBG default: Cleaning...
2023-11-13 01:40:39.601 DBG default: sync
2023-11-13 01:40:39.722 DBG default: /usr/bin/pkexec /usr/lib/mx-snapshot/snapshot-lib cleanup
2023-11-13 01:40:39.810 DBG default: Interrupted or failed to complete

Re: MX 21/3 error with MX Snapshot

Posted: Sun Nov 12, 2023 9:05 pm
by Adrian
Thanks for that, frankly I don't see anything wrong with the mksquashfs command:
mksquashfs /.bind-root /tmp/mx-snapshot-yLYgBUSA/iso-template/antiX/linuxfs -comp xz -processors 4 -throttle 0 -wildcards -ef /usr/local/share/excludes/mx-snapshot-exclude.list -e "home/*/Documents/*" "home/*/Documents/.*" "home/*/Music/*" "home/*/Music/.*" "etc/NetworkManager/system-connections/*" "etc/wicd/*" "var/lib/connman/*" "home/*/Downloads/*" "home/*/Downloads/.*" "home/*/Pictures/*" "home/*/Pictures/.*" "home/*/.steam" "home/*/.local/share/Steam" "home/*/Videos/*" "home/*/Videos/.*" "home/*/VirtualBox VMs" "home/snapshot" "tmp/mx-snapshot-yLYgBUSA"
I actually created a /tmp/mx-snapshot-yLYgBUSA/iso-template/antiX folder on my computer and duplicated some of your settings and the command started to run and compress my files...

Can you switch back to the old mx-snapshot and let me know if that works? You can download the 23.10.01 build from here:
https://github.com/MX-Linux/mx-snapshot ... _amd64.deb
You can install the new one and install this .deb and let me know how it works.

Re: MX 21/3 error with MX Snapshot

Posted: Sun Nov 12, 2023 9:09 pm
by planetree
Switched to earlier Snapshot and it appears to be working, got past the error. Still in process at moment.

Re: MX 21/3 error with MX Snapshot

Posted: Sun Nov 12, 2023 9:10 pm
by Adrian
It might be an option not available on Bullseye I added -throttle 0, I will have to remove it from Bullseye build

Re: MX 21/3 error with MX Snapshot

Posted: Sun Nov 12, 2023 9:17 pm
by planetree
Thanks for your fast help, appreciate it.

Re: MX 21/3 error with MX Snapshot

Posted: Sun Nov 12, 2023 9:23 pm
by Adrian
Fix will come shortly from the repo. Thanks for reporting this problem.

Re: MX 21/3 error with MX Snapshot

Posted: Sun Nov 12, 2023 9:30 pm
by Adrian
planetree wrote: Sun Nov 12, 2023 9:17 pm Thanks for your fast help, appreciate it.
This is the fixed deb, would you be able to test this?
https://github.com/MX-Linux/mx-snapshot ... _amd64.deb

Re: MX 21/3 error with MX Snapshot

Posted: Sun Nov 12, 2023 10:01 pm
by planetree
Tested 23.11.01mx21. That appears to be working fine, it has got past the error and is squashing the file system.

Re: MX 21/3 error with MX Snapshot

Posted: Sun Nov 12, 2023 10:06 pm
by Adrian
planetree wrote: Sun Nov 12, 2023 10:01 pm Tested 23.11.01mx21. That appears to be working fine, it has got past the error and is squashing the file system.
Thanks again for reporting and testing, this will come from repos soon for other Bullseye (MX-21) users. I just assumed that that option was forever in mksquashfs...

Re: MX 21/3 error with MX Snapshot

Posted: Mon Nov 13, 2023 6:58 pm
by CyberGhost
I got the same error after the new snapshot update today. It was working fine before the update. However, I'm still running MX 21.3 64 Bit Xfce. I have 118.7gb of free space. I tried to make a snapshot as of a little before 6pm central time. Here's a screenshot of the error:
Snapshot Error 11-13-23.png


My QSI:

Code: Select all

System:    Kernel: 5.10.0-26-amd64 [5.10.197-1] x86_64 bits: 64 compiler: gcc v: 10.2.1 
           parameters: BOOT_IMAGE=/boot/vmlinuz-5.10.0-26-amd64 root=UUID=<filter> ro quiet splash 
           Desktop: Xfce 4.18.1 tk: Gtk 3.24.24 info: xfce4-panel wm: xfwm 4.18.0 vt: 7 
           dm: LightDM 1.26.0 Distro: MX-21.3_x64 Wildflower January 15  2023 
           base: Debian GNU/Linux 11 (bullseye) 
Machine:   Type: Desktop Mobo: ASUSTeK model: P5G41T-M LX v: Rev X.0x serial: <filter> 
           BIOS: American Megatrends v: 0902 date: 07/27/2011 
CPU:       Info: Dual Core model: Intel Pentium D bits: 64 type: MCP arch: Netburst Presler 
           family: F (15) model-id: 6 stepping: 2 microcode: F cache: L2: 2 MiB 
           flags: lm nx pae sse sse2 sse3 vmx bogomips: 12003 
           Speed: 3001 MHz min/max: N/A Core speeds (MHz): 1: 3001 2: 3001 
           Vulnerabilities: Type: gather_data_sampling status: Not affected 
           Type: itlb_multihit status: KVM: VMX disabled 
           Type: l1tf mitigation: PTE Inversion; VMX: EPT disabled 
           Type: mds status: Vulnerable: Clear CPU buffers attempted, no microcode; SMT disabled 
           Type: meltdown mitigation: PTI 
           Type: mmio_stale_data status: Unknown: No mitigations 
           Type: retbleed status: Not affected 
           Type: spec_rstack_overflow status: Not affected 
           Type: spec_store_bypass status: Vulnerable 
           Type: spectre_v1 mitigation: usercopy/swapgs barriers and __user pointer sanitization 
           Type: spectre_v2 
           mitigation: Retpolines, STIBP: disabled, RSB filling, PBRSB-eIBRS: Not affected 
           Type: srbds status: Not affected 
           Type: tsx_async_abort status: Not affected 
Graphics:  Device-1: AMD Juniper XT [Radeon HD 6770] vendor: Gigabyte driver: radeon v: kernel 
           bus-ID: 01:00.0 chip-ID: 1002:68ba class-ID: 0300 
           Display: x11 server: X.Org 1.20.11 compositor: xfwm4 v: 4.18.0 driver: 
           loaded: ati,radeon unloaded: fbdev,modesetting,vesa display-ID: :0.0 screens: 1 
           Screen-1: 0 s-res: 1280x1024 s-dpi: 96 s-size: 338x270mm (13.3x10.6") 
           s-diag: 433mm (17") 
           Monitor-1: DVI-0 res: 1280x1024 hz: 60 dpi: 96 size: 338x270mm (13.3x10.6") 
           diag: 433mm (17") 
           OpenGL: renderer: AMD JUNIPER (DRM 2.50.0 / 5.10.0-26-amd64 LLVM 11.0.1) 
           v: 3.3 Mesa 20.3.5 compat-v: 3.1 direct render: Yes 
Audio:     Device-1: Intel NM10/ICH7 Family High Definition Audio vendor: ASUSTeK 
           driver: snd_hda_intel v: kernel bus-ID: 00:1b.0 chip-ID: 8086:27d8 class-ID: 0403 
           Device-2: AMD Juniper HDMI Audio [Radeon HD 5700 Series] vendor: Gigabyte 
           driver: snd_hda_intel v: kernel bus-ID: 01:00.1 chip-ID: 1002:aa58 class-ID: 0403 
           Sound Server-1: ALSA v: k5.10.0-26-amd64 running: yes 
           Sound Server-2: PulseAudio v: 14.2 running: yes 
Network:   Device-1: Qualcomm Atheros AR8131 Gigabit Ethernet vendor: ASUSTeK driver: atl1c 
           v: kernel port: ec00 bus-ID: 02:00.0 chip-ID: 1969:1063 class-ID: 0200 
           IF: eth0 state: up speed: 1000 Mbps duplex: full mac: <filter> 
Drives:    Local Storage: total: 149.05 GiB used: 14.01 GiB (9.4%) 
           SMART Message: Unable to run smartctl. Root privileges required. 
           ID-1: /dev/sda maj-min: 8:0 vendor: Seagate model: ST3160812AS size: 149.05 GiB 
           block-size: physical: 512 B logical: 512 B speed: <unknown> type: N/A serial: <filter> 
           rev: D scheme: MBR 
Partition: ID-1: / raw-size: 143.17 GiB size: 139.86 GiB (97.69%) used: 14.01 GiB (10.0%) fs: ext4 
           dev: /dev/sda1 maj-min: 8:1 
Swap:      Kernel: swappiness: 15 (default 60) cache-pressure: 100 (default) 
           ID-1: swap-1 type: partition size: 5.87 GiB used: 0 KiB (0.0%) priority: -2 
           dev: /dev/sda2 maj-min: 8:2 
Sensors:   System Temperatures: cpu: 56.0 C mobo: 38.0 C gpu: radeon temp: 45.0 C 
           Fan Speeds (RPM): cpu: 1418 case-1: 0 
           Power: 12v: 12.04 5v: N/A 3.3v: 3.38 vbat: N/A 
Repos:     Packages: 1999 note: see --pkg apt: 1994 lib: 976 flatpak: 5 
           No active apt repos in: /etc/apt/sources.list 
           Active apt repos in: /etc/apt/sources.list.d/debian-stable-updates.list 
           1: deb http://deb.debian.org/debian bullseye-updates main contrib non-free
           Active apt repos in: /etc/apt/sources.list.d/debian.list 
           1: deb http://deb.debian.org/debian bullseye main contrib non-free
           2: deb http://security.debian.org/debian-security bullseye-security main contrib non-free
           Active apt repos in: /etc/apt/sources.list.d/google-chrome.list 
           1: deb [arch=amd64] https://dl.google.com/linux/chrome/deb/ stable main
           Active apt repos in: /etc/apt/sources.list.d/mx.list 
           1: deb http://mirrors.rit.edu/mxlinux/mx-packages/mx/repo/ bullseye main non-free
           Active apt repos in: /etc/apt/sources.list.d/plex-mx.list 
           1: deb https://downloads.plex.tv/repo/deb public main
           Active apt repos in: /etc/apt/sources.list.d/spotify.list 
           1: deb http://repository.spotify.com stable non-free
Info:      Processes: 198 Uptime: 40m wakeups: 1 Memory: 3.83 GiB used: 1.51 GiB (39.5%) 
           Init: SysVinit v: 2.96 runlevel: 5 default: 5 tool: systemctl Compilers: gcc: N/A 
           alt: 10 Client: shell wrapper v: 5.1.4-release inxi: 3.3.06 
Boot Mode: BIOS (legacy, CSM, MBR)

Re: MX 21/3 error with MX Snapshot

Posted: Mon Nov 13, 2023 7:07 pm
by Adrian
I need the /var/log/snapshot.log to tell what is going on in your case.

Re: MX 21/3 error with MX Snapshot

Posted: Mon Nov 13, 2023 7:14 pm
by CyberGhost
@Adrian Ok here it is:

Code: Select all

2023-11-13 17:42:16.027 DBG default: mx-snapshot version: 23.11
2023-11-13 17:42:16.057 DBG default: grep -oP '(?<=DISTRIB_ID=).*' /etc/lsb-release
2023-11-13 17:42:16.066 DBG default: cut -f1 -d'_' /etc/mx-version
2023-11-13 17:42:16.074 DBG default: grep -oP '(?<=DISTRIB_CODENAME=).*' /etc/lsb-release
2023-11-13 17:42:16.082 DBG default: /usr/share/mx-snapshot/scripts/snapshot-bootparameter.sh | tr '
' ' '
2023-11-13 17:42:16.123 DBG default: +++ QString Settings::getFilename() const +++
2023-11-13 17:42:16.124 DBG default: +++ void Settings::selectKernel() +++
2023-11-13 17:42:16.227 DBG default: +++ void MainWindow::setup() +++
2023-11-13 17:42:16.474 DBG default: +++ void MainWindow::loadSettings() +++
2023-11-13 17:42:16.475 DBG default: ls -1 /boot/vmlinuz-* | wc -l
2023-11-13 17:42:16.633 DBG default: 3

2023-11-13 17:42:16.650 DBG default: +++ void MainWindow::listFreeSpace() +++
2023-11-13 17:42:16.650 DBG default: stat --file-system --format=%T "/home"
2023-11-13 17:42:16.664 DBG default: df -k --output=avail "/home" |tail -n1
2023-11-13 17:42:16.678 DBG default: - Free space on /home, where snapshot folder is placed: 118.65GiB 

2023-11-13 17:42:16.678 DBG default: find "/home/snapshot" -maxdepth 1 -type f -name '*.iso' -exec du -shc {} + |tail -1 |awk '{print $1}'
2023-11-13 17:42:16.698 DBG default: The free space should be sufficient to hold the compressed data from / and /home

      If necessary, you can create more available space
      by removing previous snapshots and saved copies:
      1 snapshots are taking up 3.3G of disk space.

2023-11-13 17:42:16.698 DBG default: find "/home/snapshot" -maxdepth 1 -type f -name '*.iso' -exec du -shc {} + |tail -1 |awk '{print $1}'
2023-11-13 17:42:16.734 DBG default: df -k --output=used / |tail -n1
2023-11-13 17:42:16.844 DBG default: mountpoint -q /home
2023-11-13 17:43:09.500 DBG default: +++ void Settings::selectKernel() +++
2023-11-13 17:43:18.485 DBG default: EXCLUDE ALL true
2023-11-13 17:43:18.485 DBG default: +++ void Settings::excludeDesktop(bool) +++
2023-11-13 17:43:18.485 DBG default: xdg-user-dir "DESKTOP"
2023-11-13 17:43:18.496 DBG default: +++ void Settings::excludeDocuments(bool) +++
2023-11-13 17:43:18.497 DBG default: xdg-user-dir "DOCUMENTS"
2023-11-13 17:43:18.507 DBG default: +++ void Settings::excludeDownloads(bool) +++
2023-11-13 17:43:18.507 DBG default: xdg-user-dir "DOWNLOAD"
2023-11-13 17:43:18.517 DBG default: +++ void Settings::excludeMusic(bool) +++
2023-11-13 17:43:18.517 DBG default: xdg-user-dir "MUSIC"
2023-11-13 17:43:18.527 DBG default: +++ void Settings::excludeNetworks(bool) +++
2023-11-13 17:43:18.527 DBG default: +++ void Settings::excludePictures(bool) +++
2023-11-13 17:43:18.527 DBG default: xdg-user-dir "PICTURES"
2023-11-13 17:43:18.537 DBG default: +++ void Settings::excludeSteam(bool) +++
2023-11-13 17:43:18.537 DBG default: +++ void Settings::excludeVideos(bool) +++
2023-11-13 17:43:18.538 DBG default: xdg-user-dir "VIDEOS"
2023-11-13 17:43:18.548 DBG default: +++ void Settings::excludeVirtualBox(bool) +++
2023-11-13 17:43:18.548 DBG default: +++ void Settings::excludeDesktop(bool) +++
2023-11-13 17:43:18.548 DBG default: xdg-user-dir "DESKTOP"
2023-11-13 17:43:18.560 DBG default: +++ void Settings::excludeDocuments(bool) +++
2023-11-13 17:43:18.560 DBG default: xdg-user-dir "DOCUMENTS"
2023-11-13 17:43:18.572 DBG default: +++ void Settings::excludeDownloads(bool) +++
2023-11-13 17:43:18.572 DBG default: xdg-user-dir "DOWNLOAD"
2023-11-13 17:43:18.584 DBG default: +++ void Settings::excludeMusic(bool) +++
2023-11-13 17:43:18.584 DBG default: xdg-user-dir "MUSIC"
2023-11-13 17:43:18.595 DBG default: +++ void Settings::excludeNetworks(bool) +++
2023-11-13 17:43:18.595 DBG default: +++ void Settings::excludePictures(bool) +++
2023-11-13 17:43:18.596 DBG default: xdg-user-dir "PICTURES"
2023-11-13 17:43:18.606 DBG default: +++ void Settings::excludeSteam(bool) +++
2023-11-13 17:43:18.606 DBG default: +++ void Settings::excludeVideos(bool) +++
2023-11-13 17:43:18.607 DBG default: xdg-user-dir "VIDEOS"
2023-11-13 17:43:18.617 DBG default: +++ void Settings::excludeVirtualBox(bool) +++
2023-11-13 17:43:37.853 DBG default: grep ^CONFIG_SQUASHFS_ZSTD=y /boot/config-5.10.0-26-amd64
2023-11-13 17:43:40.383 DBG default: +++ bool Settings::checkSnapshotDir() const +++
2023-11-13 17:43:40.383 DBG default: mkdir -p /home/snapshot
2023-11-13 17:43:46.919 DBG default: chown $(logname): "//home/snapshot"
2023-11-13 17:43:46.986 DBG default: +++ bool Settings::checkTempDir() +++
2023-11-13 17:43:46.986 DBG default: +++ static bool Settings::isOnSupportedPart(const QString&) +++
2023-11-13 17:43:46.987 DBG default: stat --file-system --format=%T "/home/snapshot"
2023-11-13 17:43:46.998 DBG default: detected partition "ext2/ext3" supported part: true
2023-11-13 17:43:46.998 DBG default: +++ static QString Settings::largerFreeSpace(const QString&, const QString&, const QString&) +++
2023-11-13 17:43:46.998 DBG default: +++ static QString Settings::largerFreeSpace(const QString&, const QString&) +++
2023-11-13 17:43:46.998 DBG default: stat -c '%d' /home
2023-11-13 17:43:47.009 DBG default: stat -c '%d' /tmp
2023-11-13 17:43:47.020 DBG default: +++ static QString Settings::largerFreeSpace(const QString&, const QString&) +++
2023-11-13 17:43:47.020 DBG default: stat -c '%d' /home/snapshot
2023-11-13 17:43:47.032 DBG default: stat -c '%d' /tmp
2023-11-13 17:43:47.043 DBG default: stat --file-system --format=%T "/tmp/mx-snapshot-OwIPpjNL"
2023-11-13 17:43:47.054 DBG default: df -k --output=avail "/tmp/mx-snapshot-OwIPpjNL" |tail -n1
2023-11-13 17:43:47.066 DBG default: Work directory is placed in "/tmp"
2023-11-13 17:43:47.066 DBG default: +++ void Settings::otherExclusions() +++
2023-11-13 17:43:47.066 DBG default: test -L /etc/localtime
2023-11-13 17:43:47.075 DBG default: cat /etc/timezone
2023-11-13 17:43:47.103 DBG default: +++ void Work::setupEnv() +++
2023-11-13 17:43:47.103 DBG default: mountpoint /boot
2023-11-13 17:43:47.138 DBG default: /boot is not a mountpoint

2023-11-13 17:43:47.139 DBG default: +++ static bool Work::checkInstalled(const QString&) +++
2023-11-13 17:43:47.139 DBG default: dpkg -s mx-installer |grep '^Status: install ok installed'
2023-11-13 17:43:47.210 DBG default: installed-to-live -b /.bind-root start empty=/home general version-file read-only
2023-11-13 17:43:50.554 DBG default: Adding new user `live_temp_useradd56a993155' to extra groups ...

2023-11-13 17:43:50.740 WRN default: adduser: The group `fuse' does not exist.

2023-11-13 17:43:52.380 DBG default: Removing user `live_temp_useradd56a993155' ...
Warning: group `live_temp_useradd56a993155' has no more members.

2023-11-13 17:43:52.725 DBG default: Done.

2023-11-13 17:43:55.624 DBG default: Calculating total size of excluded files...
2023-11-13 17:43:55.624 DBG default: du -sxc {/.bind-root/.config,/.bind-root/.fehbg,/.bind-root/lost+found,/.bind-root/tmp,/.bind-root/dev/,/.bind-root/media/,/.bind-root/mnt/,/.bind-root/sys/,/.bind-root/proc/,/.bind-root/run/,/.bind-root/boot/grub/,/.bind-root/etc/bcm-ckd,/.bind-root/etc/defaultdomain,/.bind-root/etc/crypttab,/.bind-root/etc/ioctl.save,/.bind-root/etc/live/protect,/.bind-root/etc/machine-id,/.bind-root/etc/mailname,/.bind-root/etc/resolv.conf,/.bind-root/var/cache/apt/archives/partial/,/.bind-root/var/cache/apt/*.bin,/.bind-root/var/cache/debconf/*-old,/.bind-root/var/cache/lightdm,/.bind-root/var/cache/samba/browse.dat,/.bind-root/var/lib/apt/lists/,/.bind-root/var/lib/apt/periodic/,/.bind-root/var/lib/dbus/machine-id,/.bind-root/var/lib/dhcp/,/.bind-root/var/lib/dpkg/*-old,/.bind-root/var/lib/NetworkManager/,/.bind-root/var/lib/sudo/,/.bind-root/var/lib/urandom/,/.bind-root/var/log/,/.bind-root/var/log/samba/,/.bind-root/var/mail/,/.bind-root/var/spool/mail/,/.bind-root/var/spool/anacron/,/.bind-root/var/tmp/,/.bind-root/etc/NetworkManager/system-connections/,/.bind-root/etc/NetworkManager/system-connections/,/.bind-root/tmp/mx-snapshot-OwIPpjNL,/.bind-root/etc/minstall.conf} 2>/dev/null |tail -1 |cut -f1
2023-11-13 17:43:55.701 DBG default: 358756

2023-11-13 17:43:55.702 DBG default: Calculating size of root...
2023-11-13 17:43:55.702 DBG default: du -sx /.bind-root 2>/dev/null |tail -1 |cut -f1
2023-11-13 17:43:59.359 DBG default: 10522816

2023-11-13 17:43:59.361 DBG default: SIZE 10522816
2023-11-13 17:43:59.361 DBG default: SIZE ROOT     10522816
2023-11-13 17:43:59.361 DBG default: SIZE EXCLUDES 358756
2023-11-13 17:43:59.361 DBG default: COMPRESSION   35
2023-11-13 17:43:59.361 DBG default: SIZE NEEDED   3557421
2023-11-13 17:43:59.361 DBG default: SIZE FREE     124415108 

2023-11-13 17:43:59.361 DBG default: +++ void Work::checkNoSpaceAndExit(quint64, quint64, const QString&) +++
2023-11-13 17:43:59.362 DBG default: Needed space: 3557421
2023-11-13 17:43:59.362 DBG default: Free space  : 124415108 on "/home/snapshot"
2023-11-13 17:43:59.363 DBG default: stat -c '%d' /home/snapshot
2023-11-13 17:43:59.374 DBG default: stat -c '%d' /tmp/mx-snapshot-OwIPpjNL
2023-11-13 17:43:59.386 DBG default: Copying the new-iso filesystem...
2023-11-13 17:43:59.386 DBG default: tar xf /usr/lib/iso-template/iso-template.tar.gz
2023-11-13 17:43:59.994 DBG default: cp /usr/lib/iso-template/template-initrd.gz iso-template/antiX/initrd.gz
2023-11-13 17:44:00.497 DBG default: cp /boot/vmlinuz-5.10.0-26-amd64 iso-template/antiX/vmlinuz
2023-11-13 17:44:00.534 DBG default: +++ void Work::replaceMenuStrings() +++
2023-11-13 17:44:00.534 DBG default: sed -i 's|%DISTRO%|MX-21.3|g' /tmp/mx-snapshot-OwIPpjNL/iso-template/boot/grub/grub.cfg
2023-11-13 17:44:00.775 DBG default: sed -i 's|%DISTRO_NAME%|MX|g' /tmp/mx-snapshot-OwIPpjNL/iso-template/boot/grub/grub.cfg
2023-11-13 17:44:00.841 DBG default: sed -i 's|%FULL_DISTRO_NAME%|MX-21.3_x64|g' /tmp/mx-snapshot-OwIPpjNL/iso-template/boot/grub/grub.cfg
2023-11-13 17:44:00.905 DBG default: sed -i 's|%FULL_DISTRO_NAME_SPACE%|MX-21.3 x64|g' /tmp/mx-snapshot-OwIPpjNL/iso-template/boot/grub/grub.cfg
2023-11-13 17:44:00.969 DBG default: sed -i 's|%RELEASE_DATE%|November 13, 2023|g' /tmp/mx-snapshot-OwIPpjNL/iso-template/boot/grub/grub.cfg
2023-11-13 17:44:01.034 DBG default: printf '%s\n' quiet splash | grep -E '^(lang=|kbd=|kbvar=|kbopt=|tz=)' >> '/tmp/mx-snapshot-OwIPpjNL/iso-template/boot/grub/grubenv.cfg'
2023-11-13 17:44:01.188 DBG default: sed -i "s|%OPTIONS%|$(printf '%s\n' quiet splash | grep -v -E '^(lang=|kbd=|kbvar=|kbopt=|tz=)' | tr '\n' ' ')|" '/tmp/mx-snapshot-OwIPpjNL/iso-template/boot/grub/grub.cfg'
2023-11-13 17:44:01.206 DBG default: sed -i 's|%OPTIONS%|quiet splash|g' /tmp/mx-snapshot-OwIPpjNL/iso-template/boot/syslinux/syslinux.cfg
2023-11-13 17:44:01.270 DBG default: sed -i 's|%CODE_NAME%|Wildflower|g' /tmp/mx-snapshot-OwIPpjNL/iso-template/boot/syslinux/syslinux.cfg
2023-11-13 17:44:01.335 DBG default: sed -i 's|%OPTIONS%|quiet splash|g' /tmp/mx-snapshot-OwIPpjNL/iso-template/boot/isolinux/isolinux.cfg
2023-11-13 17:44:01.399 DBG default: sed -i 's|%CODE_NAME%|Wildflower|g' /tmp/mx-snapshot-OwIPpjNL/iso-template/boot/isolinux/isolinux.cfg
2023-11-13 17:44:01.463 DBG default: sed -i 's|%FULL_DISTRO_NAME%|MX-21.3_x64|g' /tmp/mx-snapshot-OwIPpjNL/iso-template/boot/syslinux/syslinux.cfg
2023-11-13 17:44:01.528 DBG default: sed -i 's|%RELEASE_DATE%|November 13, 2023|g' /tmp/mx-snapshot-OwIPpjNL/iso-template/boot/syslinux/syslinux.cfg
2023-11-13 17:44:01.592 DBG default: sed -i 's|%FULL_DISTRO_NAME%|MX-21.3_x64|g' /tmp/mx-snapshot-OwIPpjNL/iso-template/boot/isolinux/isolinux.cfg
2023-11-13 17:44:01.656 DBG default: sed -i 's|%RELEASE_DATE%|November 13, 2023|g' /tmp/mx-snapshot-OwIPpjNL/iso-template/boot/isolinux/isolinux.cfg
2023-11-13 17:44:01.721 DBG default: sed -i 's|%FULL_DISTRO_NAME%|MX-21.3_x64|g' /tmp/mx-snapshot-OwIPpjNL/iso-template/boot/syslinux/readme.msg
2023-11-13 17:44:01.785 DBG default: sed -i 's|%RELEASE_DATE%|November 13, 2023|g' /tmp/mx-snapshot-OwIPpjNL/iso-template/boot/syslinux/readme.msg
2023-11-13 17:44:01.849 DBG default: sed -i 's|%FULL_DISTRO_NAME%|MX-21.3_x64|g' /tmp/mx-snapshot-OwIPpjNL/iso-template/boot/isolinux/readme.msg
2023-11-13 17:44:01.914 DBG default: sed -i 's|%RELEASE_DATE%|November 13, 2023|g' /tmp/mx-snapshot-OwIPpjNL/iso-template/boot/isolinux/readme.msg
2023-11-13 17:44:01.978 DBG default: sed -i 's|%ASCII_CODE_NAME%|Wildflower|g' /tmp/mx-snapshot-OwIPpjNL/iso-template/boot/grub/theme/theme.txt
2023-11-13 17:44:02.043 DBG default: sed -i 's|%DISTRO%|MX-21.3|g' /tmp/mx-snapshot-OwIPpjNL/iso-template/boot/grub/theme/theme.txt
2023-11-13 17:44:02.108 DBG default: sed -i 's|%ASCII_CODE_NAME%|Wildflower|g' /tmp/mx-snapshot-OwIPpjNL/iso-template/boot/grub/theme/uefi.txt
2023-11-13 17:44:02.172 DBG default: sed -i 's|%DISTRO%|MX-21.3|g' /tmp/mx-snapshot-OwIPpjNL/iso-template/boot/grub/theme/uefi.txt
2023-11-13 17:44:02.237 DBG default: sed -i 's|%ASCII_CODE_NAME%|Wildflower|g' /tmp/mx-snapshot-OwIPpjNL/iso-template/boot/grub/theme/uefisb.txt
2023-11-13 17:44:02.303 DBG default: sed -i 's|%DISTRO%|MX-21.3|g' /tmp/mx-snapshot-OwIPpjNL/iso-template/boot/grub/theme/uefisb.txt
2023-11-13 17:44:02.367 DBG default: sed -i 's|%ASCII_CODE_NAME%|Wildflower|g' /tmp/mx-snapshot-OwIPpjNL/iso-template/boot/grub/theme/bios.txt
2023-11-13 17:44:02.431 DBG default: sed -i 's|%DISTRO%|MX-21.3|g' /tmp/mx-snapshot-OwIPpjNL/iso-template/boot/grub/theme/bios.txt
2023-11-13 17:44:02.496 DBG default: sed -i 's|%ASCII_CODE_NAME%|Wildflower|g' /tmp/mx-snapshot-OwIPpjNL/iso-template/boot/grub/theme/l10n.txt
2023-11-13 17:44:02.560 DBG default: sed -i 's|%DISTRO%|MX-21.3|g' /tmp/mx-snapshot-OwIPpjNL/iso-template/boot/grub/theme/l10n.txt
2023-11-13 17:44:02.625 DBG default: +++ void Work::makeChecksum(Work::HashType, const QString&, const QString&) +++
2023-11-13 17:44:02.625 DBG default: Calculating checksum...
2023-11-13 17:44:02.626 DBG default: sync
2023-11-13 17:44:02.990 DBG default: md5sum "vmlinuz">"/tmp/mx-snapshot-OwIPpjNL/iso-template/antiX/vmlinuz.md5"
2023-11-13 17:44:03.017 DBG default: +++ void Work::openInitrd(const QString&, const QString&) +++
2023-11-13 17:44:03.017 DBG default: Building new initrd...
2023-11-13 17:44:03.017 DBG default: chmod a+rx "/tmp/mx-snapshot-WkMdax"
2023-11-13 17:44:03.028 DBG default: gunzip -c "/tmp/mx-snapshot-OwIPpjNL/iso-template/antiX/initrd.gz" |cpio -idum
2023-11-13 17:44:03.231 WRN default: 6982 blocks

2023-11-13 17:44:03.232 DBG default: /usr/share/mx-snapshot/scripts/copy-initrd-modules -t="/tmp/mx-snapshot-WkMdax" -k="5.10.0-26-amd64"
2023-11-13 17:44:03.282 WRN default: copy-initrd-modules warning: 2 repeated module(s) in input
libahci
sdhci

2023-11-13 17:44:03.397 WRN default: modprobe: WARNING: Module aufs not found in directory /lib/modules/5.10.0-26-amd64

2023-11-13 17:44:03.397 WRN default: modprobe: WARNING: Module block not found in directory /lib/modules/5.10.0-26-amd64

2023-11-13 17:44:03.397 WRN default: modprobe: WARNING: Module cryptsetup not found in directory /lib/modules/5.10.0-26-amd64
modprobe: WARNING: Module dmsetup not found in directory /lib/modules/5.10.0-26-amd64

2023-11-13 17:44:03.398 WRN default: modprobe: WARNING: Module fotg210-hcd not found in directory /lib/modules/5.10.0-26-amd64

2023-11-13 17:44:03.398 WRN default: modprobe: WARNING: Module fusbh200-hcd not found in directory /lib/modules/5.10.0-26-amd64

2023-11-13 17:44:03.398 WRN default: modprobe: WARNING: Module hid-lenovo-tpkbd not found in directory /lib/modules/5.10.0-26-amd64

2023-11-13 17:44:03.398 WRN default: modprobe: WARNING: Module hyperv not found in directory /lib/modules/5.10.0-26-amd64

2023-11-13 17:44:03.399 WRN default: modprobe: WARNING: Module jbd not found in directory /lib/modules/5.10.0-26-amd64

2023-11-13 17:44:03.399 WRN default: modprobe: WARNING: Module ntfs not found in directory /lib/modules/5.10.0-26-amd64

2023-11-13 17:44:03.400 WRN default: modprobe: WARNING: Module pcie-aspm not found in directory /lib/modules/5.10.0-26-amd64

2023-11-13 17:44:03.400 WRN default: modprobe: WARNING: Module printk not found in directory /lib/modules/5.10.0-26-amd64

2023-11-13 17:44:03.401 WRN default: modprobe: WARNING: Module rts5139 not found in directory /lib/modules/5.10.0-26-amd64

2023-11-13 17:44:03.403 WRN default: modprobe: WARNING: Module whci-hcd not found in directory /lib/modules/5.10.0-26-amd64

2023-11-13 17:44:03.403 WRN default: modprobe: WARNING: Module whc-rc not found in directory /lib/modules/5.10.0-26-amd64

2023-11-13 17:44:04.833 DBG default: /usr/share/mx-snapshot/scripts/copy-initrd-programs --to="/tmp/mx-snapshot-WkMdax"
2023-11-13 17:44:04.907 DBG default:   add program: ntfs-3g

2023-11-13 17:44:05.295 DBG default: ld_linux: /lib64/ld-linux-x86-64.so.2

2023-11-13 17:44:05.300 DBG default: ld_dir: /tmp/mx-snapshot-WkMdax/lib/x86_64-linux-gnu

2023-11-13 17:44:05.394 DBG default:   add program: eject

2023-11-13 17:44:06.036 DBG default: ld_linux: /lib64/ld-linux-x86-64.so.2

2023-11-13 17:44:06.039 DBG default: ld_dir: /tmp/mx-snapshot-WkMdax/lib/x86_64-linux-gnu

2023-11-13 17:44:06.126 DBG default:   add program: kmod

2023-11-13 17:44:06.589 DBG default: ld_linux: /lib64/ld-linux-x86-64.so.2

2023-11-13 17:44:06.592 DBG default: ld_dir: /tmp/mx-snapshot-WkMdax/lib/x86_64-linux-gnu

2023-11-13 17:44:06.675 DBG default: chown -R $(logname): /tmp/mx-snapshot-WkMdax
2023-11-13 17:44:06.764 DBG default: +++ void Work::closeInitrd(const QString&, const QString&) +++
2023-11-13 17:44:06.764 DBG default: (find . |cpio -o -H newc --owner root:root |gzip -9) >"/tmp/mx-snapshot-OwIPpjNL/iso-template/antiX/initrd.gz"
2023-11-13 17:44:27.537 WRN default: 73955 blocks

2023-11-13 17:44:27.645 DBG default: +++ void Work::makeChecksum(Work::HashType, const QString&, const QString&) +++
2023-11-13 17:44:27.645 DBG default: Calculating checksum...
2023-11-13 17:44:27.645 DBG default: sync
2023-11-13 17:44:27.706 DBG default: md5sum "initrd.gz">"/tmp/mx-snapshot-OwIPpjNL/iso-template/antiX/initrd.gz.md5"
2023-11-13 17:44:27.853 DBG default: +++ void Work::savePackageList(const QString&) +++
2023-11-13 17:44:27.853 DBG default: dpkg -l |grep ^ii\ \ |awk '{print $2,$3}' |sed 's/:'$(dpkg --print-architecture)'//' |column -t >"/tmp/mx-snapshot-OwIPpjNL/iso-template/snapshot-20231113_1742/package_list"
2023-11-13 17:44:27.964 DBG default: +++ bool Work::createIso(const QString&) +++
2023-11-13 17:44:27.964 DBG default: +++ static bool Work::checkInstalled(const QString&) +++
2023-11-13 17:44:27.964 DBG default: dpkg -s expect |grep '^Status: install ok installed'
2023-11-13 17:44:28.036 DBG default: Squashing filesystem...
2023-11-13 17:44:28.036 DBG default: stdbuf -o0 mksquashfs /.bind-root /tmp/mx-snapshot-OwIPpjNL/iso-template/antiX/linuxfs -comp zstd -processors 2 -throttle 0 -wildcards -ef /usr/local/share/excludes/mx-snapshot-exclude.list -e "home/*/Desktop/!(minstall.desktop)" "home/*/Documents/*" "home/*/Documents/.*" "home/*/Downloads/*" "home/*/Downloads/.*" "home/*/Music/*" "home/*/Music/.*" "etc/NetworkManager/system-connections/*" "etc/wicd/*" "var/lib/connman/*" "home/*/Pictures/*" "home/*/Pictures/.*" "home/*/.steam" "home/*/.local/share/Steam" "home/*/Videos/*" "home/*/Videos/.*" "home/*/VirtualBox VMs" "home/*/Desktop/!(minstall.desktop)" "home/*/Documents/*" "home/*/Documents/.*" "home/*/Downloads/*" "home/*/Downloads/.*" "home/*/Music/*" "home/*/Music/.*" "etc/NetworkManager/system-connections/*" "etc/wicd/*" "var/lib/connman/*" "home/*/Pictures/*" "home/*/Pictures/.*" "home/*/.steam" "home/*/.local/share/Steam" "home/*/Videos/*" "home/*/Videos/.*" "home/*/VirtualBox VMs" "home/snapshot" "tmp/mx-snapshot-OwIPpjNL" "etc/minstall.conf" "etc/localtime"
2023-11-13 17:44:28.103 WRN default: mksquashfs: invalid option

SYNTAX:mksquashfs source1 source2 ...  dest [options] [-e list of exclude
dirs/files]

Filesystem build options:
-comp <comp>		select <comp> compression
			Compressors available:
				gzip (default)
				lzma
				lzo
				lz4
				xz
				zstd
-b <block_size>		set data block to <block_size>.  Default 128 Kbytes
			Optionally a suffix of K or M can be given to specify
			Kbytes or Mbytes respectively
-reproducible		build images that are reproducible (default)
-not-reproducible	build images that are not reproducible

2023-11-13 17:44:28.125 WRN default: -mkfs-time <time>	set mkfs time to <time> which is an unsigned int
-fstime <time>		synonym for mkfs-time
-all-time <time>	set all inode times to <time> which is an unsigned int
-no-exports		don't make the filesystem exportable via NFS
-no-sparse		don't detect sparse files
-no-xattrs		don't store extended attributes
-xattrs			store extended attributes (default)
-noI			do not compress inode table
-noId			do not compress the uid/gid table (implied by -noI)
-noD			do not compress data blocks
-noF			do not compress fragment blocks
-noX			do not compress extended attributes
-no-fragments		do not use fragments
-always-use-fragments	use fragment blocks for files larger than block size
-no-duplicates		do not perform duplicate checking
-all-root		make all files owned by root
-root-mode <mode>	set root directory permissions to octal <mode>
-force-uid <uid>	set all file uids to <uid>
-force-gid <gid>	set all file gids to <gid>
-nopad			do not pad filesystem to a multiple of 4K
-keep-as-directory	if one source directory is specified, create a root
			directory containing that directory, rather than the
			contents of the directory

Filesystem filter options:
-p <pseudo-definition>	Add pseudo file definition
-pf <pseudo-file>	Add list of pseudo file definitions
			Pseudo definitions should be of the format
				filename d mode uid gid
				filename m mode uid gid
				filename b mode uid gid major minor
				filename c mode uid gid major minor
				filename f mode uid gid command
				filename s mode uid gid symlink
-sort <sort_file>	sort files according to priorities in <sort_file>.  One
			file or dir with priority per line.  Priority -32768 to
			32767, default priority 0
-ef <exclude_file>	list of exclude dirs/files.  One per line
-wildcards		Allow extended shell wildcards (globbing) to be used in
			exclude dirs/files
-regex			Allow POSIX regular expressions to be used in exclude
			dirs/files

Filesystem append options:
-noappend		do not append to existing filesystem
-root-becomes <name>	when appending source files/directories, make the
			original root become a subdirectory in the new root
			called <name>, rather than adding the new source items
			to the original root

Mksquashfs runtime options:
-version		print version, licence and copyright message
-exit-on-error		treat normally ignored errors as fatal
-recover <name>		recover filesystem data using recovery file <name>
-no-recovery		don't generate a recovery file
-quiet			no verbose output
-info			print files written to filesystem
-no-progress		don't display the progress bar
-progress		display progress bar when using the -info option
-processors <number>	Use <number> processors.  By default will use number of
			processors available
-mem <size>		Use <size> physical memory.  Currently set to 979M
			Optionally a suffix of K, M or G can be given to specify
			Kbytes, Mbytes or Gbytes respectively

Miscellaneous options:
-root-owned		alternative name for -all-root
-offset <offset>	Skip <offset> bytes at the beginning of <dest>.
			Optionally a suffix of K, M or G can be given to specify
			Kbytes, Mbytes or Gbytes respectively.
			Default 0 bytes.
-o <offset>		synonym for -offset
-noInodeCompression	alternative name for -noI
-noIdTableCompression	alternative name for -noId
-noDataCompression	alternative name for -noD
-noFragmentCompression	alternative name for -noF
-noXattrCompression	alternative name for -noX

-Xhelp			print compressor options for selected compressor

Compressors available and compressor specific options:
	gzip (default)
	  -Xcompression-level <compression-level>
		<compression-level> should be 1 .. 9 (default 9)
	  -Xwindow-size <window-size>
		<window-size> should be 8 .. 15 (default 15)
	  -Xstrategy strategy1,strategy2,...,strategyN
		Compress using strategy1,strategy2,...,strategyN in turn
		and choose the best compression.
		Available strategies: default, filtered, huffman_only,
		run_length_encoded and fixed
	lzma (no options)
	lzo
	  -Xalgorithm <algorithm>
		Where <algorithm> is one of:
			lzo1x_1
			lzo1x_1_11
			lzo1x_1_12
			lzo1x_1_15
			lzo1x_999 (default)
	  -Xcompression-level <compression-level>
		<compression-level> should be 1 .. 9 (default 8)
		Only applies to lzo1x_999 algorithm
	lz4
	  -Xhc
		Compress using LZ4 High Compression
	xz
	  -Xbcj filter1,filter2,...,filterN
		Compress using filter1,filter2,...,filterN in turn
		(in addition to no filter), and choose the best compression.
		Available filters: x86, arm, armthumb, powerpc, sparc, ia64
	  -Xdict-size <dict-size>
		Use <dict-size> as the XZ dictionary size.  The dictionary size
		can be specified as a percentage of the block size, or as an
		absolute value.  The dictionary size must be less than or equal
		to the block size and 8192 bytes or larger.  It must also be
		storable in the xz header as either 2^n or as 2^n+2^(n+1).
		Example dict-sizes are 75%, 50%, 37.5%, 25%, or 32K, 16K, 8K
		etc.
	zstd
	  -Xcompression-level <compression-level>
		<compression-level> should be 1 .. 22 (default 15)

2023-11-13 17:44:28.151 DBG default: Error Could not create linuxfs file, please check whether you have enough space on the destination partition.
2023-11-13 17:45:39.159 DBG default: Cleaning...
2023-11-13 17:45:39.252 DBG default: sync
2023-11-13 17:45:39.291 DBG default: /usr/bin/pkexec /usr/lib/mx-snapshot/snapshot-lib cleanup
2023-11-13 17:45:39.790 DBG default: Interrupted or failed to complete

Re: MX 21/3 error with MX Snapshot

Posted: Mon Nov 13, 2023 7:18 pm
by Adrian
It's not the last version, the last version is 23.11.01mx21 for MX21 which fixes this issue. You can either wait for the upgrade from the repo, or download the .deb from my last link.

Re: MX 21/3 error with MX Snapshot

Posted: Mon Nov 13, 2023 7:23 pm
by CyberGhost
@Adrian Update: I just grabbed the .deb file and it worked. Thanks so much for everything you do!

Re: MX 21/3 error with MX Snapshot

Posted: Tue Nov 14, 2023 1:46 am
by thebookkeeper
Adrian wrote: Mon Nov 13, 2023 7:18 pm... the last version is 23.11.01mx21 for MX21 which fixes this issue. You can either wait for the upgrade from the repo, or download the .deb from my last link.
But this .deb file doesn't work for me. The log file of this new version has disappeared. The error message was:
MX Snapshot cannot create temporary directory in /home/snapshot/

I suspected a rights issue, but

Code: Select all

sudo chown -R root:$USER /home/snapshot && sudo chmod o-w /home/snapshot
was not a solution.

Code: Select all

System:    Kernel: 5.10.0-26-amd64 [5.10.197-1] x86_64 bits: 64 compiler: gcc v: 10.2.1 
           parameters: BOOT_IMAGE=/boot/vmlinuz-5.10.0-26-amd64 root=UUID=<filter> ro quiet splash 
           fsck.mode=auto fsck.repair=preen security=apparmor apparmor=1 
           Desktop: Xfce 4.18.1 tk: Gtk 3.24.24 info: xfce4-panel wm: xfwm 4.18.0 vt: 7 
           dm: LightDM 1.26.0 Distro: MX-21.3_x64 Wildflower Oktober 26  2023 
           base: Debian GNU/Linux 11 (bullseye)
           ...

Re: MX 21/3 error with MX Snapshot

Posted: Tue Nov 14, 2023 8:45 am
by Adrian
Do you have polkit running? What happens if you run "pkexec"?

Re: MX 21/3 error with MX Snapshot

Posted: Wed Nov 15, 2023 1:44 pm
by thebookkeeper

Code: Select all

bookkeeper@mx-dell:~
$ apt list --installed -a *policykit*
Auflistung… Fertig
policykit-1-gnome/oldstable,now 0.105-7 amd64  [installiert]

policykit-1/oldstable,oldstable-security,now 0.105-31+deb11u1 amd64  [installiert]

bookkeeper@mx-dell:~
$ 
Today I use the downgrade version from mx-snapshot ( apt-mark hold mx-snapshot ):

Code: Select all

bookkeeper@mx-dell:~
$ apt policy mx-snapshot
mx-snapshot:
  Installiert:           23.10.01
  Installationskandidat: 23.11.01mx21
  Versionstabelle:
     23.11.01mx21 500
        500 https://mirror.yandex.ru/mirrors/MX-Linux/MX-Packages/mx/repo bullseye/main amd64 Packages
 *** 23.10.01 100
        100 /var/lib/dpkg/status
bookkeeper@mx-dell:~
$ 
But gedit works fine with pkexec:

Code: Select all

bookkeeper@mx-dell:~
$ pkexec env DISPLAY=$DISPLAY XAUTHORITY=$XAUTHORITY gedit
bookkeeper@mx-dell:~
$ 

Re: MX 21/3 error with MX Snapshot

Posted: Wed Nov 15, 2023 2:42 pm
by Charlie Brown
thebookkeeper wrote: Tue Nov 14, 2023 1:46 am... MX Snapshot cannot create temporary directory in /home/snapshot/...
Just to make sure: No space issue, right?

And, what if you select a different place as the destination ?

Re: MX 21/3 error with MX Snapshot

Posted: Wed Nov 15, 2023 3:06 pm
by Charlie Brown
Ok, sorry.

Re: MX 21/3 error with MX Snapshot

Posted: Wed Nov 15, 2023 3:07 pm
by Adrian
Charlie Brown wrote: Wed Nov 15, 2023 3:06 pm Ok, sorry.
No need for sorry from your part, I didn't see the response... not sure what it might be, I still suspect a pkexec issue.

Re: MX 21/3 error with MX Snapshot

Posted: Wed Nov 15, 2023 3:23 pm
by Adrian
I think I figured it out (but without logs I cannot really tell for sure this was the problem, but it's definitely one)

Code: Select all

tempdir_parent = largerFreeSpace("/tmp", "/home", snapshot_dir);
I'm checking for the largest location, /tmp /home or snapshot_dir to place that temp folder, /tmp and snapshot dir don't need root access, but if placing on /home it does, I will change that to place in /home/$USER.

Re: MX 21/3 error with MX Snapshot

Posted: Wed Nov 15, 2023 3:57 pm
by thebookkeeper
I have a backup from mx-snapshot, so I have install the bug-version again and now we can see the mx-snapshot.log:

Code: Select all

2023-11-15 21:44:48.321 DBG default: mx-snapshot Version: 23.11.01mx21
2023-11-15 21:44:48.357 DBG default: grep -oP '(?<=DISTRIB_ID=).*' /etc/lsb-release
2023-11-15 21:44:48.367 DBG default: cut -f1 -d'_' /etc/mx-version
2023-11-15 21:44:48.376 DBG default: grep -oP '(?<=DISTRIB_CODENAME=).*' /etc/lsb-release
2023-11-15 21:44:48.386 DBG default: /usr/share/mx-snapshot/scripts/snapshot-bootparameter.sh | tr '
' ' '
2023-11-15 21:44:48.438 DBG default: +++ QString Settings::getFilename() const +++
2023-11-15 21:44:48.438 DBG default: +++ void Settings::selectKernel() +++
2023-11-15 21:44:48.585 DBG default: +++ void MainWindow::setup() +++
2023-11-15 21:44:48.633 DBG default: +++ void MainWindow::loadSettings() +++
2023-11-15 21:44:48.638 DBG default: ls -1 /boot/vmlinuz-* | wc -l
2023-11-15 21:44:48.950 DBG default: 2

2023-11-15 21:44:48.960 DBG default: +++ void MainWindow::listFreeSpace() +++
2023-11-15 21:44:48.961 DBG default: stat --file-system --format=%T "/home"
2023-11-15 21:44:48.978 DBG default: df -k --output=avail "/home" |tail -n1
2023-11-15 21:44:48.995 DBG default: - Freier Platz auf /home, wo das Schnappschuss-Verzeichnis liegt:15.83GiB 

2023-11-15 21:44:48.995 DBG default: find "/home/snapshot" -maxdepth 1 -type f -name '*.iso' -exec du -shc {} + |tail -1 |awk '{print $1}'
2023-11-15 21:44:49.018 DBG default: Der freie Platz sollte für die komprimierten Daten von / und /home ausreichen.

Bei Bedarf können sie Platz gewinnen, indem sie
gespeicherte Kopien von früheren Schnappschüssen löschen:
0 Schnappschuss verbraucht 0 Festplattenplatz.

2023-11-15 21:44:49.019 DBG default: find "/home/snapshot" -maxdepth 1 -type f -name '*.iso' -exec du -shc {} + |tail -1 |awk '{print $1}'
2023-11-15 21:44:49.108 DBG default: df -k --output=used / |tail -n1
2023-11-15 21:44:49.247 DBG default: mountpoint -q /home
2023-11-15 21:44:49.294 DBG default: df -k --output=used /home |tail -n1
2023-11-15 21:45:00.328 DBG default: +++ void Settings::selectKernel() +++
2023-11-15 21:45:04.566 DBG default: EXCLUDE ALL true
2023-11-15 21:45:04.566 DBG default: +++ void Settings::excludeDesktop(bool) +++
2023-11-15 21:45:04.566 DBG default: xdg-user-dir "DESKTOP"
2023-11-15 21:45:04.608 DBG default: +++ void Settings::excludeDocuments(bool) +++
2023-11-15 21:45:04.608 DBG default: xdg-user-dir "DOCUMENTS"
2023-11-15 21:45:04.618 DBG default: +++ void Settings::excludeDownloads(bool) +++
2023-11-15 21:45:04.619 DBG default: xdg-user-dir "DOWNLOAD"
2023-11-15 21:45:04.629 DBG default: +++ void Settings::excludeMusic(bool) +++
2023-11-15 21:45:04.629 DBG default: xdg-user-dir "MUSIC"
2023-11-15 21:45:04.639 DBG default: +++ void Settings::excludeNetworks(bool) +++
2023-11-15 21:45:04.639 DBG default: +++ void Settings::excludePictures(bool) +++
2023-11-15 21:45:04.640 DBG default: xdg-user-dir "PICTURES"
2023-11-15 21:45:04.650 DBG default: +++ void Settings::excludeSteam(bool) +++
2023-11-15 21:45:04.650 DBG default: +++ void Settings::excludeVideos(bool) +++
2023-11-15 21:45:04.650 DBG default: xdg-user-dir "VIDEOS"
2023-11-15 21:45:04.660 DBG default: +++ void Settings::excludeVirtualBox(bool) +++
2023-11-15 21:45:04.661 DBG default: +++ void Settings::excludeDesktop(bool) +++
2023-11-15 21:45:04.661 DBG default: xdg-user-dir "DESKTOP"
2023-11-15 21:45:04.673 DBG default: +++ void Settings::excludeDocuments(bool) +++
2023-11-15 21:45:04.673 DBG default: xdg-user-dir "DOCUMENTS"
2023-11-15 21:45:04.686 DBG default: +++ void Settings::excludeDownloads(bool) +++
2023-11-15 21:45:04.686 DBG default: xdg-user-dir "DOWNLOAD"
2023-11-15 21:45:04.699 DBG default: +++ void Settings::excludeMusic(bool) +++
2023-11-15 21:45:04.699 DBG default: xdg-user-dir "MUSIC"
2023-11-15 21:45:04.712 DBG default: +++ void Settings::excludeNetworks(bool) +++
2023-11-15 21:45:04.712 DBG default: +++ void Settings::excludePictures(bool) +++
2023-11-15 21:45:04.712 DBG default: xdg-user-dir "PICTURES"
2023-11-15 21:45:04.725 DBG default: +++ void Settings::excludeSteam(bool) +++
2023-11-15 21:45:04.725 DBG default: +++ void Settings::excludeVideos(bool) +++
2023-11-15 21:45:04.726 DBG default: xdg-user-dir "VIDEOS"
2023-11-15 21:45:04.738 DBG default: +++ void Settings::excludeVirtualBox(bool) +++
2023-11-15 21:45:07.252 DBG default: +++ void Settings::excludeDocuments(bool) +++
2023-11-15 21:45:07.252 DBG default: xdg-user-dir "DOCUMENTS"
2023-11-15 21:45:08.844 DBG default: +++ void Settings::excludeDesktop(bool) +++
2023-11-15 21:45:08.844 DBG default: xdg-user-dir "DESKTOP"
2023-11-15 21:45:11.996 DBG default: +++ void Settings::excludeNetworks(bool) +++
2023-11-15 21:45:22.508 DBG default: grep ^CONFIG_SQUASHFS_LZ4=y /boot/config-5.10.0-26-amd64
2023-11-15 21:45:27.136 DBG default: +++ bool Settings::checkSnapshotDir() const +++
2023-11-15 21:45:27.141 DBG default: mkdir -p /home/snapshot
2023-11-15 21:45:37.198 DBG default: chown $(logname): "//home/snapshot"
2023-11-15 21:45:37.289 DBG default: +++ bool Settings::checkTempDir() +++
2023-11-15 21:45:37.289 DBG default: +++ static bool Settings::isOnSupportedPart(const QString&) +++
2023-11-15 21:45:37.289 DBG default: stat --file-system --format=%T "/home/snapshot"
2023-11-15 21:45:37.300 DBG default: detected partition "xfs" supported part: true
2023-11-15 21:45:37.301 DBG default: +++ static QString Settings::largerFreeSpace(const QString&, const QString&, const QString&) +++
2023-11-15 21:45:37.301 DBG default: +++ static QString Settings::largerFreeSpace(const QString&, const QString&) +++
2023-11-15 21:45:37.301 DBG default: stat -c '%d' /home
2023-11-15 21:45:37.316 DBG default: stat -c '%d' /tmp
2023-11-15 21:45:37.333 DBG default: stat --file-system --format=%T "/tmp"
2023-11-15 21:45:37.350 DBG default: df -k --output=avail "/tmp" |tail -n1
2023-11-15 21:45:37.364 DBG default: stat --file-system --format=%T "/home"
2023-11-15 21:45:37.375 DBG default: df -k --output=avail "/home" |tail -n1
2023-11-15 21:45:37.389 DBG default: +++ static QString Settings::largerFreeSpace(const QString&, const QString&) +++
2023-11-15 21:45:37.389 DBG default: stat -c '%d' /home/snapshot
2023-11-15 21:45:37.401 DBG default: stat -c '%d' /home
2023-11-15 21:45:37.412 DBG default: "Konnte kein Temporärverzeichnis anlegen."
2023-11-15 21:48:13.269 DBG default: Bereinigung läuft...
2023-11-15 21:48:13.481 DBG default: sync
2023-11-15 21:48:13.613 DBG default: Fertigstellung fehlgeschlagen oder Ausführung unterbrochen.
But this is in german language, I'm a german.

Re: MX 21/3 error with MX Snapshot

Posted: Wed Nov 15, 2023 4:04 pm
by Adrian
Perfect, I think I got it, the error message is misleading, it cannot create the temp folder in /home (that's probably because that message predates my attempt to find larger space where to stick that temp folder)

I will have a build soon that you can test.

Re: MX 21/3 error with MX Snapshot

Posted: Wed Nov 15, 2023 6:05 pm
by Adrian
I thought I understood what was going on there, the "/home/snapshot" is actually accurate, in the sense that that's where it tried to put the temp directory, you can also see in the log that I made sure that is owned by your "logname" -- what does "logname" report on the terminal, does it report your correct username? Can you create directories in /home/snapshot with "mkdir testdir" or you get an error message?

I have a new build, it fixes the issue with putting the temp folder in /home (not exactly your problem, but your report brought this to my attention) and it also reunifies MX21 and MX23 builds.

If you want to test the deb (but again it probably won't solve your particular problem); https://github.com/MX-Linux/mx-snapshot ... _amd64.deb

Re: MX 21/3 error with MX Snapshot

Posted: Wed Nov 15, 2023 6:43 pm
by thebookkeeper
Thank you, Version 23.11.02 works fine.
Adrian wrote: Wed Nov 15, 2023 6:05 pm... Can you create directories in /home/snapshot with "mkdir testdir" or you get an error message? ...
Yes, no error:

Code: Select all

bookkeeper@mx-dell:~
$ mkdir /home/snapshot/testdir
bookkeeper@mx-dell:~
$ 

Re: MX 21/3 error with MX Snapshot

Posted: Thu Nov 16, 2023 12:07 pm
by rod178
I also have had an issue with MX Snapshot over the last few days. I creates a Snapshot (MX21.3 xfce) which seems to consists of only a generic MX21.3, is no desktop, data or panel etc Only detected when I noticed that the snapshot was only about 6.3GB, instead of about the previous 54GB. Have not yet had time to investigate further.

Re: MX 21/3 error with MX Snapshot

Posted: Thu Nov 16, 2023 12:28 pm
by thebookkeeper
54GB? Are you using Flatpak or backing up with Timeshift? I don't have either in the MX system. Remastersys wasn't designed for such large ISO files anyway. My MX snapshot files are only 5.5GB.

Re: MX 21/3 error with MX Snapshot

Posted: Thu Nov 16, 2023 12:30 pm
by Adrian
rod178 wrote: Thu Nov 16, 2023 12:07 pm I also have had an issue with MX Snapshot over the last few days. I creates a Snapshot (MX21.3 xfce) which seems to consists of only a generic MX21.3, is no desktop, data or panel etc Only detected when I noticed that the snapshot was only about 6.3GB, instead of about the previous 54GB. Have not yet had time to investigate further.
Please provide logs.

Re: MX 21/3 error with MX Snapshot

Posted: Thu Nov 16, 2023 9:46 pm
by rod178
Adrian, Snapshot log attached

PS I do not use timeshift, although a limited few Flatpaks.

My usual snapshot contains about 49GB data, which I use as a live USB (tiny encrypted Sandisk 128GB on a keyring) whilst travelling, as well was being another level of data recovery else an asteroid hits the house when I'm out. Up to a few days ago all has been working (better than) fine for years.

If I discovered a more attractive version of Linux, with the exception that it did not have a tool such as MX Snapshot, it would be dismissed as I have such a reliance on the tool.

Re: MX 21/3 error with MX Snapshot

Posted: Thu Nov 16, 2023 10:18 pm
by Adrian
I see you excluded Documents, Music, Pictures, etc. was that intended? This is all the stuff that's excluded:
2023-11-17 10:00:26.646 DBG default: du -sxc {/.bind-root/.config,/.bind-root/.fehbg,/.bind-root/lost+found,/.bind-root/tmp,/.bind-root/dev/,/.bind-root/media/,/.bind-root/mnt/,/.bind-root/sys/,/.bind-root/proc/,/.bind-root/run/,/.bind-root/etc/bcm-ckd,/.bind-root/etc/defaultdomain,/.bind-root/etc/crypttab,/.bind-root/etc/ioctl.save,/.bind-root/etc/live/protect,/.bind-root/etc/machine-id,/.bind-root/etc/mailname,/.bind-root/etc/resolv.conf,/.bind-root/home/snapshot,/.bind-root/home/*/.config/MX-Linux/xdg_check,/.bind-root/var/cache/apt/archives/*.deb,/.bind-root/var/cache/apt/archives/partial/,/.bind-root/var/cache/apt/*.bin,/.bind-root/var/cache/debconf/*-old,/.bind-root/var/cache/lightdm,/.bind-root/var/cache/samba/browse.dat,/.bind-root/var/lib/apt/lists/,/.bind-root/var/lib/apt/periodic/,/.bind-root/var/lib/dbus/machine-id,/.bind-root/var/lib/dhcp/,/.bind-root/var/lib/dpkg/*-old,/.bind-root/var/lib/NetworkManager/,/.bind-root/var/lib/sudo/,/.bind-root/var/lib/urandom/,/.bind-root/var/log/,/.bind-root/var/log/samba/,/.bind-root/var/mail/,/.bind-root/var/spool/mail/,/.bind-root/var/spool/anacron/,/.bind-root/var/tmp/,/.bind-root/home/*/.cache/mozilla/firefox/*/cache2/,/.bind-root/home/*/.cache/mozilla/firefox/*/thumbnails/,/.bind-root/home/*/.cache/thumbnails/,/.bind-root/home/*/.dbus,/.bind-root/home/*/.local/share/Trash/,/.bind-root/home/*/.bash_history,/.bind-root/home/*/.local/share/recently-used.xbel,/.bind-root/home/*/.xsession-errors,/.bind-root/home/*/Documents/,/.bind-root/home/*/Documents/.,/.bind-root/home/*/Music/,/.bind-root/home/*/Music/.,/.bind-root/home/rod//,/.bind-root/home/rod//.,/.bind-root/home/*/Downloads/,/.bind-root/home/*/Downloads/.,/.bind-root/home/*/Pictures/,/.bind-root/home/*/Pictures/.,/.bind-root/home/*/Videos/,/.bind-root/home/*/Videos/.,/.bind-root/home/rod//,/.bind-root/home/rod//.}
Please upgrade mx-snapshot since I see it's the the last one with the /home fix and make sure you don't exclude anything you might want to keep and check the log again to if it was excluded or not, if it was excluded another thing to check would /etc/mx-snapshot-exclude.list see if you don't have them excluded there. I just took a snapshot and the excluded file list looked OK on my system.

Otherwise, at a first look I don't see anything obviously wrong in the log.

Re: MX 21/3 error with MX Snapshot

Posted: Thu Nov 16, 2023 11:27 pm
by rod178
The exclusion list is correct.
I noted that there is an new MX Update today. I will run it and let you know the result

Re: MX 21/3 error with MX Snapshot

Posted: Thu Nov 16, 2023 11:39 pm
by Adrian
rod178 wrote: Thu Nov 16, 2023 11:27 pm The exclusion list is correct.
I noted that there is an new MX Update today. I will run it and let you know the result
So what is actually missing?

Re: MX 21/3 error with MX Snapshot

Posted: Fri Nov 17, 2023 1:06 am
by rod178
Missing are
Desktop, as well as two created data directories in /Home, UserData and UserDataArchieve are on the OS SSD

Also the exclude list does not seem to have retained my old settings, although accessing remotely rather inconvenient at present.
I will test again after I return home

thanks for your attention to this matter

PS Looking back the last successful snapshot was performed 30Oct2023, all retained in depth on HDD and Flash Drives.

Is it possible to revert to an older version of Snapshot? I do an MX Update whenever available ie daily, Snapshots less so as I obviously also backup Data independently, so all is not lost if the OS SSD goes to SSD Heaven.

Re: MX 21/3 error with MX Snapshot

Posted: Fri Nov 17, 2023 2:24 am
by Adrian
You could use 23.10 for example:
https://github.com/MX-Linux/mx-snapshot ... _amd64.deb

I think I figured out where things are going wrong for you, I see your home is excluded (twice):

Code: Select all

/.bind-root/home/rod//,/.bind-root/home/rod//.
I wonder if there's something wrong in your XDG user settings, can you post here the content ~/.config/user-dirs.dirs ?

Not sure where that /home/rod// comes from I cannot really replicate that, I think one of your exclusion could be translated as /home/rod// instead of /home/rod/Downloads/ (let's say), but I cannot figure out which.
Also please do me a favor and check /etc/mx-snapshot-exclude.list to see if there's any such exclusion, look for one terminated with a slash, normally exclusion there should not have a slash at the end.

Re: MX 21/3 error with MX Snapshot

Posted: Fri Nov 17, 2023 2:59 am
by Adrian
I think I fixed it, please try this last .deb: https://github.com/MX-Linux/mx-snapshot ... _amd64.deb
If this doesn't fix it, I still need the info that I requested in the previous post.

BTW, do you guys on Bullseye get multiple root prompts when the snapshot finishes or this happens only on my testing machine?

Re: MX 21/3 error with MX Snapshot

Posted: Fri Nov 17, 2023 7:16 am
by rod178
Adrian
I do not remember getting multiple root prompts
Still to download and install the .deb file
I suspect that the issue is with the exclusion list.
Previously my old exclusion list was carried over to new version of MX Snapshot, now not so.
Later I will try copying a pre November copy of my exclusion list
ie pre November MX21.3 Snapshot to the lateset MX21.3 live system
Cannot see /home/Rod/ in the exclusion list

Follows is requested output

Code: Select all

# This file is written by xdg-user-dirs-update
# If you want to change or add directories, just edit the line you're
# interested in. All local changes will be retained on the next run.
# Format is XDG_xxx_DIR="$HOME/yyy", where yyy is a shell-escaped
# homedir-relative path, or XDG_xxx_DIR="/yyy", where /yyy is an
# absolute path. No other format is supported.
# 
XDG_DESKTOP_DIR="$HOME/Desktop"
XDG_DOWNLOAD_DIR="$HOME/Downloads"
XDG_TEMPLATES_DIR="$HOME/Templates"
XDG_PUBLICSHARE_DIR="$HOME/Public"
XDG_DOCUMENTS_DIR="$HOME/Documents"
XDG_MUSIC_DIR="$HOME/Music"
XDG_PICTURES_DIR="$HOME/Pictures"
XDG_VIDEOS_DIR="$HOME/Videos"

Code: Select all

#=======  /etc/mx-snapshot-exclude.list  ======
# rsync excludes file for mx-snapshot
# version 15.2.20

# Do NOT edit this entry block unless you know what you are doing
.bind-root
.config
.fehbg
lost+found
swapfile
tmp
tmpdir
dev/*
cdrom/*
live/*
media/*
mnt/*
sys/*
proc/*
run/*
boot/grub/!(themes|unicode.pf2)
etc/adjtime
etc/bcm-ckd
etc/blkid.tab.old
etc/defaultdomain
etc/crypttab
etc/fstab.backup
etc/ioctl.save
etc/live/protect
etc/machine-id
etc/mailname
etc/mtab
etc/udev/rules.d/70-persistent-cd.rules
etc/udev/rules.d/70-persistent-net.rules
etc/resolv.conf
etc/volkeys/*
home/timeshift/snapshots
home/snapshot
home/*/.config/MX-Linux/xdg_check
root/.bash_history
root/.cache
root/.local/share/mc/history
root/.local/share/recently-used.xbel
root/.local/share/Trash/*
root/.dbus
root/.gconf
root/.gnome2
root/.lesshst
root/.Trash*
root/.sudo_as_admin_successful
root/.xsession-errors*
root/keyfile
timeshift/snapshots
var/cache/apt/archives/*.deb
var/cache/apt/archives/partial/*
var/cache/apt-xapian-index/index.*
var/cache/apt-show-versions/*
var/cache/apt/*.bin
var/cache/apt/apt-file/*
var/cache/debconf/*-old
var/cache/lightdm
var/cache/samba/browse.dat
var/lib/apt/lists/*
var/lib/apt/periodic/*
var/lib/dbus/machine-id
var/lib/dhcp/*
var/lib/dpkg/*-old
var/lib/lightdm/.cache
var/lib/lightdm/.Xauthority
var/lib/NetworkManager/*
var/lib/nfs/rpc_pipefs/*
var/lib/sudo/*
var/lib/udisks/*
var/lib/urandom/*
var/log/!(apache2|samba|clamav)
var/log/clamav/*
var/log/samba/*
var/mail/*
var/spool/mail/*
var/spool/anacron/*
var/tmp/*
var/cache/brightness-settings-cache/*

# Entries below this can be edited by the user. If you have any large
# files or directories, you should exclude them from being copied
# by adding them to this list.

home/*/.cache/mozilla/firefox/*/cache2/*
home/*/.cache/mozilla/firefox/*/thumbnails/*
home/*/.cache/librewolf/*/cache2/*
home/*/.cache/librewolf/*/thumbnails/*
home/*/.cache/thumbnails/*
home/*/.cache/vivaldi/Default/Cache/*
home/*/.mozilla/firefox/*/Cache/*
home/*/.mozilla/firefox/*/cache2/*
home/*/.mozilla/seamonkey/*/Cache/*
home/*/.adobe
home/*/.dbus
home/*/.keyfileDONOTdelete
home/*/.macromedia
home/*/.sudo_as_admin_successful
home/*/.thumbnails/*
home/*/.Trash*
home/*/.local/share/Trash/*
# home/*/.cache
home/*/.gvfs
home/*/.bash_history
home/*/.lesshst
home/*/.recently-used
home/*/.recently-used.xbel
home/*/.local/share/recently-used.xbel
home/*/.local/share/mc/history
home/*/.xsession-errors*
home/*/.xfce4-session.verbose-log*

# Examples:
# home/*/Desktop/*
# home/*/Downloads/*
# home/*/Music/*
# home/*/Pictures/*
# home/*/Videos/*


# Other possible exclusions
# usr/share/doc/*


# To exclude all hidden files and directories in your home, uncomment
# the next line. You will lose custom desktop configs if you do.
# home/*/.[a-z,A-Z,0-9]*

# This stops any video drivers from loading - safe option.
etc/X11/xorg.conf
etc/X11/xorg.conf.d/20-nvidia.conf
etc/X11/xorg.conf.d/20-intel.conf
etc/X11/xorg.conf.d/20-radeon.conf
etc/X11/xorg.conf.d/20-amd.conf

Re: MX 21/3 error with MX Snapshot

Posted: Fri Nov 17, 2023 2:44 pm
by Fornhamfred
Another problem with MX-Snapshot.

Code: Select all

[CODE]Snapshot created on: 20220115_1229
System:    Kernel: 5.10.0-26-amd64 [5.10.197-1] x86_64 bits: 64 compiler: gcc v: 10.2.1 
           parameters: BOOT_IMAGE=/boot/vmlinuz-5.10.0-26-amd64 root=UUID=<filter> ro quiet splash 
           Desktop: Xfce 4.18.1 tk: Gtk 3.24.24 info: xfce4-panel wm: xfwm 4.18.0 vt: 7 
           dm: LightDM 1.26.0 Distro: MX-21.3_x64 Wildflower October 20  2021 
           base: Debian GNU/Linux 11 (bullseye) 
Machine:   Type: Desktop Mobo: ASUSTeK model: P8Z68-V LX v: Rev X.0x serial: <filter> 
           UEFI: American Megatrends v: 0703 date: 10/21/2011 
CPU:       Info: Quad Core model: Intel Core i5-2500K bits: 64 type: MCP arch: Sandy Bridge 
           family: 6 model-id: 2A (42) stepping: 7 microcode: 2F cache: L2: 6 MiB 
           flags: avx lm nx pae sse sse2 sse3 sse4_1 sse4_2 ssse3 vmx bogomips: 26487 
           Speed: 1774 MHz min/max: 1600/3700 MHz Core speeds (MHz): 1: 1774 2: 1683 3: 1711 
           4: 1908 
           Vulnerabilities: Type: gather_data_sampling status: Not affected 
           Type: itlb_multihit status: KVM: VMX disabled 
           Type: l1tf mitigation: PTE Inversion; VMX: conditional cache flushes, SMT disabled 
           Type: mds mitigation: Clear CPU buffers; SMT disabled 
           Type: meltdown mitigation: PTI 
           Type: mmio_stale_data status: Unknown: No mitigations 
           Type: retbleed status: Not affected 
           Type: spec_rstack_overflow status: Not affected 
           Type: spec_store_bypass 
           mitigation: Speculative Store Bypass disabled via prctl and seccomp 
           Type: spectre_v1 mitigation: usercopy/swapgs barriers and __user pointer sanitization 
           Type: spectre_v2 mitigation: Retpolines, IBPB: conditional, IBRS_FW, STIBP: disabled, 
           RSB filling, PBRSB-eIBRS: Not affected 
           Type: srbds status: Not affected 
           Type: tsx_async_abort status: Not affected 
Graphics:  Device-1: AMD Turks XT [Radeon HD 6670/7670] vendor: Hightech Information System 
           driver: radeon v: kernel bus-ID: 01:00.0 chip-ID: 1002:6758 class-ID: 0300 
           Display: x11 server: X.Org 1.20.11 compositor: xfwm4 v: 4.18.0 driver: 
           loaded: ati,radeon unloaded: fbdev,modesetting,vesa display-ID: :0.0 screens: 1 
           Screen-1: 0 s-res: 1360x768 s-dpi: 96 s-size: 359x203mm (14.1x8.0") 
           s-diag: 412mm (16.2") 
           Monitor-1: VGA-0 res: 1360x768 hz: 60 dpi: 85 size: 406x229mm (16.0x9.0") 
           diag: 466mm (18.4") 
           OpenGL: renderer: AMD TURKS (DRM 2.50.0 / 5.10.0-26-amd64 LLVM 11.0.1) 
           v: 3.3 Mesa 20.3.5 compat-v: 3.1 direct render: Yes 
Audio:     Device-1: Intel 6 Series/C200 Series Family High Definition Audio vendor: ASUSTeK 
           driver: snd_hda_intel v: kernel bus-ID: 00:1b.0 chip-ID: 8086:1c20 class-ID: 0403 
           Device-2: AMD Turks HDMI Audio [Radeon HD 6500/6600 / 6700M Series] 
           vendor: Hightech Information System driver: snd_hda_intel v: kernel bus-ID: 01:00.1 
           chip-ID: 1002:aa90 class-ID: 0403 
           Device-3: Tenx USB AUDIO type: USB driver: hid-generic,snd-usb-audio,usbhid 
           bus-ID: 3-1.6:5 chip-ID: 1130:1620 class-ID: 0300 
           Sound Server-1: ALSA v: k5.10.0-26-amd64 running: yes 
           Sound Server-2: PulseAudio v: 14.2 running: yes 
Network:   Device-1: Realtek RTL8111/8168/8411 PCI Express Gigabit Ethernet 
           vendor: ASUSTeK P8P67 and other motherboards driver: r8169 v: kernel port: d000 
           bus-ID: 07:00.0 chip-ID: 10ec:8168 class-ID: 0200 
           IF: eth0 state: up speed: 1000 Mbps duplex: full mac: <filter> 
Drives:    Local Storage: total: 2.04 TiB used: 202.55 GiB (9.7%) 
           SMART Message: Unable to run smartctl. Root privileges required. 
           ID-1: /dev/sda maj-min: 8:0 vendor: Kingston model: SA400S37240G size: 223.57 GiB 
           block-size: physical: 512 B logical: 512 B speed: 6.0 Gb/s type: SSD serial: <filter> 
           rev: B1D1 scheme: MBR 
           ID-2: /dev/sdb maj-min: 8:16 vendor: Seagate model: ST2000DL003-9VT166 size: 1.82 TiB 
           block-size: physical: 512 B logical: 512 B speed: 6.0 Gb/s type: HDD rpm: 5900 
           serial: <filter> rev: CC32 scheme: MBR 
Partition: ID-1: / raw-size: 30.27 GiB size: 29.63 GiB (97.87%) used: 11.75 GiB (39.7%) fs: ext4 
           dev: /dev/sda7 maj-min: 8:7 
           ID-2: /boot/efi raw-size: 100 MiB size: 98.4 MiB (98.45%) used: 391 KiB (0.4%) fs: vfat 
           dev: /dev/sda1 maj-min: 8:1 
           ID-3: /home raw-size: 50.78 GiB size: 49.68 GiB (97.84%) used: 20.89 GiB (42.0%) 
           fs: ext4 dev: /dev/sda8 maj-min: 8:8 
Swap:      Alert: No swap data was found. 
Sensors:   System Temperatures: cpu: 31.0 C mobo: N/A gpu: radeon temp: 38.5 C 
           Fan Speeds (RPM): N/A 
Repos:     Packages: note: see --pkg apt: 2278 lib: 1168 flatpak: 0 
           No active apt repos in: /etc/apt/sources.list 
           Active apt repos in: /etc/apt/sources.list.d/debian-stable-updates.list 
           1: deb http://deb.debian.org/debian/ bullseye-updates main contrib non-free
           Active apt repos in: /etc/apt/sources.list.d/debian.list 
           1: deb http://deb.debian.org/debian/ bullseye main contrib non-free
           2: deb http://security.debian.org/debian-security/ bullseye-security main contrib non-free
           Active apt repos in: /etc/apt/sources.list.d/google-chrome.list 
           1: deb [arch=amd64] https://dl.google.com/linux/chrome/deb/ stable main
           Active apt repos in: /etc/apt/sources.list.d/megasync.list 
           1: deb [signed-by=/usr/share/keyrings/meganz-archive-keyring.gpg] https://mega.nz/linux/repo/Debian_11/ ./
           Active apt repos in: /etc/apt/sources.list.d/mx.list 
           1: deb http://mxlinux.mirrors.uk2.net/packages/mx/repo/ bullseye main non-free
           Active apt repos in: /etc/apt/sources.list.d/teamviewer.list 
           1: deb [signed-by=/usr/share/keyrings/teamviewer-keyring.gpg] https://linux.teamviewer.com/deb stable main
Info:      Processes: 240 Uptime: 56m wakeups: 1 Memory: 3.81 GiB used: 1.62 GiB (42.5%) 
           Init: SysVinit v: 2.96 runlevel: 5 default: 5 tool: systemctl Compilers: gcc: 10.2.1 
           alt: 10 Client: shell wrapper v: 5.1.4-release inxi: 3.3.06 
Boot Mode: UEFI
[/code]

Never had any problem before today could not create destination file. No such file or directory.
Error message:
Could not create linuxfs file-please check whether you have enough space on destination partition.
Space is 631GB

Re: MX 21/3 error with MX Snapshot

Posted: Fri Nov 17, 2023 2:50 pm
by j2mcgreg
Your lack of a swap partition is cause for concern. There are a lot of folks touting the idea that with enough ram available you can forgo creating a swap partition or file, but the reality is that some applications still expect it to be there (even though it may never be used) and can give unpridictable results when swap space is not present. The good news is that you can add a swap file at any time and here’s how:

https://www.digitalocean.com/community/ ... -debian-11

Re: MX 21/3 error with MX Snapshot

Posted: Fri Nov 17, 2023 2:55 pm
by Adrian
Fornhamfred wrote: Fri Nov 17, 2023 2:44 pm Another problem with MX-Snapshot.
Never had any problem before today could not create destination file. No such file or directory.
Error message:
Could not create linuxfs file-please check whether you have enough space on destination partition.
Space is 631GB
That message is a bit of catch-all, I cannot really examine what the actually problem is, and I cannot display the message because it can be in many formats and lengths so I just use the most common problem -- but if space is not the issue, it's time to examine the logs. Also without log I have no clue what version you are reporting about.

Re: MX 21/3 error with MX Snapshot

Posted: Fri Nov 17, 2023 3:22 pm
by dolphin_oracle
log file should be under /var/log/mx-snapshot, and present in quick-system-info log viewer as well.

Re: MX 21/3 error with MX Snapshot

Posted: Fri Nov 17, 2023 8:03 pm
by thebookkeeper
Fornhamfred wrote: Fri Nov 17, 2023 2:44 pm...
Error message:
Could not create linuxfs file ...
The predecessor of version-23.11.02 on Github had this error message, I was too impatient with Github.

My mx-snapshot_23.11.03 works fine, you can see my new log file below.

Re: MX 21/3 error with MX Snapshot

Posted: Sat Nov 18, 2023 12:56 am
by rod178
Adrian wrote: Fri Nov 17, 2023 2:59 am I think I fixed it, please try this last .deb: https://github.com/MX-Linux/mx-snapshot ... _amd64.deb
If this doesn't fix it, I still need the info that I requested in the previous post.

BTW, do you guys on Bullseye get multiple root prompts when the snapshot finishes or this happens only on my testing machine?
Adrian

Today I performed the latest MX Update (MX21.3 Xfce), included in which is MX Snapshot 23.11.02
Happy to report that everything now seems to be working fine.
Created a Live USB from the Snapshot and everything seems to be intact

PS the root prompt is now (once only) on the second page. From memory it was previously on initiation

Re: MX 21/3 error with MX Snapshot

Posted: Sat Nov 18, 2023 1:02 am
by Adrian
Thanks for testing and for the reports. I think now it should be pretty stable, won't push new updates for a while, sorry for the bugs I introduced but I think it's all for the better in the long term.

Re: MX 21/3 error with MX Snapshot

Posted: Sat Nov 18, 2023 1:39 am
by rod178
Adrian wrote: Sat Nov 18, 2023 1:02 am Thanks for testing and for the reports. I think now it should be pretty stable, won't push new updates for a while, sorry for the bugs I introduced but I think it's all for the better in the long term.
Thanks for your attention to this matter, I noted that you have been the MX Snapshot Dev since late 2014.

Was the issue due to the Unification?
Is MX Snapshots MX21.3 still Unified with MX23 ?

Re: MX 21/3 error with MX Snapshot

Posted: Sat Nov 18, 2023 4:56 am
by Fornhamfred
dolphin_oracle wrote: Fri Nov 17, 2023 3:22 pm log file should be under /var/log/mx-snapshot, and present in quick-system-info log viewer as well.

Code: Select all

/var/log/mx-snapshot.log

Code: Select all

Snapshot created on: 20220115_1229
System:    Kernel: 5.10.0-26-amd64 [5.10.197-1] x86_64 bits: 64 compiler: gcc v: 10.2.1 
           parameters: BOOT_IMAGE=/boot/vmlinuz-5.10.0-26-amd64 root=UUID=<filter> ro quiet splash 
           Desktop: Xfce 4.18.1 tk: Gtk 3.24.24 info: xfce4-panel wm: xfwm 4.18.0 vt: 7 
           dm: LightDM 1.26.0 Distro: MX-21.3_x64 Wildflower October 20  2021 
           base: Debian GNU/Linux 11 (bullseye) 
Machine:   Type: Desktop Mobo: ASUSTeK model: P8Z68-V LX v: Rev X.0x serial: <filter> 
           UEFI: American Megatrends v: 0703 date: 10/21/2011 
CPU:       Info: Quad Core model: Intel Core i5-2500K bits: 64 type: MCP arch: Sandy Bridge 
           family: 6 model-id: 2A (42) stepping: 7 microcode: 2F cache: L2: 6 MiB 
           flags: avx lm nx pae sse sse2 sse3 sse4_1 sse4_2 ssse3 vmx bogomips: 26484 
           Speed: 1753 MHz min/max: 1600/3700 MHz Core speeds (MHz): 1: 1753 2: 1805 3: 1741 
           4: 1714 
           Vulnerabilities: Type: gather_data_sampling status: Not affected 
           Type: itlb_multihit status: KVM: VMX disabled 
           Type: l1tf mitigation: PTE Inversion; VMX: conditional cache flushes, SMT disabled 
           Type: mds mitigation: Clear CPU buffers; SMT disabled 
           Type: meltdown mitigation: PTI 
           Type: mmio_stale_data status: Unknown: No mitigations 
           Type: retbleed status: Not affected 
           Type: spec_rstack_overflow status: Not affected 
           Type: spec_store_bypass 
           mitigation: Speculative Store Bypass disabled via prctl and seccomp 
           Type: spectre_v1 mitigation: usercopy/swapgs barriers and __user pointer sanitization 
           Type: spectre_v2 mitigation: Retpolines, IBPB: conditional, IBRS_FW, STIBP: disabled, 
           RSB filling, PBRSB-eIBRS: Not affected 
           Type: srbds status: Not affected 
           Type: tsx_async_abort status: Not affected 
Graphics:  Device-1: AMD Turks XT [Radeon HD 6670/7670] vendor: Hightech Information System 
           driver: radeon v: kernel bus-ID: 01:00.0 chip-ID: 1002:6758 class-ID: 0300 
           Display: x11 server: X.Org 1.20.11 compositor: xfwm4 v: 4.18.0 driver: 
           loaded: ati,radeon unloaded: fbdev,modesetting,vesa display-ID: :0.0 screens: 1 
           Screen-1: 0 s-res: 1360x768 s-dpi: 96 s-size: 359x203mm (14.1x8.0") 
           s-diag: 412mm (16.2") 
           Monitor-1: VGA-0 res: 1360x768 hz: 60 dpi: 85 size: 406x229mm (16.0x9.0") 
           diag: 466mm (18.4") 
           OpenGL: renderer: AMD TURKS (DRM 2.50.0 / 5.10.0-26-amd64 LLVM 11.0.1) 
           v: 3.3 Mesa 20.3.5 compat-v: 3.1 direct render: Yes 
Audio:     Device-1: Intel 6 Series/C200 Series Family High Definition Audio vendor: ASUSTeK 
           driver: snd_hda_intel v: kernel bus-ID: 00:1b.0 chip-ID: 8086:1c20 class-ID: 0403 
           Device-2: AMD Turks HDMI Audio [Radeon HD 6500/6600 / 6700M Series] 
           vendor: Hightech Information System driver: snd_hda_intel v: kernel bus-ID: 01:00.1 
           chip-ID: 1002:aa90 class-ID: 0403 
           Device-3: Tenx USB AUDIO type: USB driver: hid-generic,snd-usb-audio,usbhid 
           bus-ID: 3-1.6:5 chip-ID: 1130:1620 class-ID: 0300 
           Sound Server-1: ALSA v: k5.10.0-26-amd64 running: yes 
           Sound Server-2: PulseAudio v: 14.2 running: yes 
Network:   Device-1: Realtek RTL8111/8168/8411 PCI Express Gigabit Ethernet 
           vendor: ASUSTeK P8P67 and other motherboards driver: r8169 v: kernel port: d000 
           bus-ID: 07:00.0 chip-ID: 10ec:8168 class-ID: 0200 
           IF: eth0 state: up speed: 1000 Mbps duplex: full mac: <filter> 
Drives:    Local Storage: total: 2.04 TiB used: 206.52 GiB (9.9%) 
           SMART Message: Unable to run smartctl. Root privileges required. 
           ID-1: /dev/sda maj-min: 8:0 vendor: Kingston model: SA400S37240G size: 223.57 GiB 
           block-size: physical: 512 B logical: 512 B speed: 6.0 Gb/s type: SSD serial: <filter> 
           rev: B1D1 scheme: MBR 
           ID-2: /dev/sdb maj-min: 8:16 vendor: Seagate model: ST2000DL003-9VT166 size: 1.82 TiB 
           block-size: physical: 512 B logical: 512 B speed: 6.0 Gb/s type: HDD rpm: 5900 
           serial: <filter> rev: CC32 scheme: MBR 
Partition: ID-1: / raw-size: 30.27 GiB size: 29.63 GiB (97.87%) used: 15.75 GiB (53.2%) fs: ext4 
           dev: /dev/sda7 maj-min: 8:7 
           ID-2: /boot/efi raw-size: 100 MiB size: 98.4 MiB (98.45%) used: 391 KiB (0.4%) fs: vfat 
           dev: /dev/sda1 maj-min: 8:1 
           ID-3: /home raw-size: 50.78 GiB size: 49.68 GiB (97.84%) used: 20.89 GiB (42.1%) 
           fs: ext4 dev: /dev/sda8 maj-min: 8:8 
Swap:      Kernel: swappiness: 15 (default 60) cache-pressure: 100 (default) 
           ID-1: swap-1 type: file size: 4 GiB used: 0 KiB (0.0%) priority: -2 file: /swapfile 
Sensors:   System Temperatures: cpu: 31.0 C mobo: N/A gpu: radeon temp: 38.0 C 
           Fan Speeds (RPM): N/A 
Repos:     Packages: note: see --pkg apt: 2278 lib: 1168 flatpak: 0 
           No active apt repos in: /etc/apt/sources.list 
           Active apt repos in: /etc/apt/sources.list.d/debian-stable-updates.list 
           1: deb http://deb.debian.org/debian/ bullseye-updates main contrib non-free
           Active apt repos in: /etc/apt/sources.list.d/debian.list 
           1: deb http://deb.debian.org/debian/ bullseye main contrib non-free
           2: deb http://security.debian.org/debian-security/ bullseye-security main contrib non-free
           Active apt repos in: /etc/apt/sources.list.d/google-chrome.list 
           1: deb [arch=amd64] https://dl.google.com/linux/chrome/deb/ stable main
           Active apt repos in: /etc/apt/sources.list.d/megasync.list 
           1: deb [signed-by=/usr/share/keyrings/meganz-archive-keyring.gpg] https://mega.nz/linux/repo/Debian_11/ ./
           Active apt repos in: /etc/apt/sources.list.d/mx.list 
           1: deb http://mxlinux.mirrors.uk2.net/packages/mx/repo/ bullseye main non-free
           Active apt repos in: /etc/apt/sources.list.d/teamviewer.list 
           1: deb [signed-by=/usr/share/keyrings/teamviewer-keyring.gpg] https://linux.teamviewer.com/deb stable main
Info:      Processes: 245 Uptime: 11m wakeups: 1 Memory: 3.81 GiB used: 1.75 GiB (45.8%) 
           Init: SysVinit v: 2.96 runlevel: 5 default: 5 tool: systemctl Compilers: gcc: 10.2.1 
           alt: 10 Client: shell wrapper v: 5.1.4-release inxi: 3.3.06 
Boot Mode: UEFI

Re: MX 21/3 error with MX Snapshot

Posted: Sat Nov 18, 2023 7:32 am
by rod178
Fornhamfred wrote: Sat Nov 18, 2023 4:56 am /var/log/mx-snapshot.log
What you have posted is not the contents of the mx-snapshot.log
Attach the log, as mine attached

Note that the latest MX21.3 Update seems to have rectified the issue with Snapshot generation

Re: MX 21/3 error with MX Snapshot

Posted: Sat Nov 18, 2023 7:50 am
by Fornhamfred
mx-snapshot.log

Re: MX 21/3 error with MX Snapshot

Posted: Sat Nov 18, 2023 8:19 am
by fehlix
Fornhamfred wrote: Sat Nov 18, 2023 7:50 am mx-snapshot.log
Maybe takeout the space from the snapshot path:
E.g change:

Code: Select all

/media/Backups/MX Snapshots/snapshot/
to something like

Code: Select all

/media/Backups/MX-Snapshots/snapshot/

or

Code: Select all

/media/Backups/MX_Snapshots/snapshot/

at least until space handling in path is properly fixed.
Note: having spaces in path's is known to call for trouble.
HTH

Re: MX 21/3 error with MX Snapshot

Posted: Sat Nov 18, 2023 9:51 am
by Fornhamfred
fehlix wrote: Sat Nov 18, 2023 8:19 am
Fornhamfred wrote: Sat Nov 18, 2023 7:50 am mx-snapshot.log
Maybe takeout the space from the snapshot path:
E.g change:

Code: Select all

/media/Backups/MX Snapshots/snapshot/
to something like

Code: Select all

/media/Backups/MX-Snapshots/snapshot/

or

Code: Select all

/media/Backups/MX_Snapshots/snapshot/

at least until space handling in path is properly fixed.
Note: having spaces in path's is known to call for trouble.
HTH
Thanks Fehlix
That has sorted the problem.

Re: MX 21/3 error with MX Snapshot

Posted: Mon Nov 20, 2023 7:15 pm
by thebookkeeper
Real Linux users don't use spaces in file and path information anyway. These spaces are an annoying Windows habit among young switchers. This is not a program error, but a user error!

Re: MX 21/3 error with MX Snapshot

Posted: Tue Nov 21, 2023 11:02 am
by Adrian
Well, it's better if the program doesn't stumble on that, I will see what I can do about that.

Re: MX 21/3 error with MX Snapshot

Posted: Tue Nov 28, 2023 11:34 am
by Adrian
The latest version should fix the blank space in folder/file name issue.

Re: MX 21/3 error with MX Snapshot

Posted: Sat Dec 02, 2023 4:54 am
by artytux
I purposely put blank spaces in folder names and got no problems or errors.
Did notice MX Snapshot is running with less cpu use and of course temperature was down also,
I don't think Ive added much to my install in the previous week or two seems the snapshot are bit bigger now ( not a problem have dedicated 16GB usbstick) they were just under 4GB now just over 6GB.
In the event of hardware failure good to have MX Snapshot certainly will not be install failure, rock solid distro.
Posted to say Thank You to Adrian.

Re: MX 21/3 error with MX Snapshot

Posted: Sat Dec 02, 2023 9:12 am
by Adrian
I don't think Ive added much to my install in the previous week or two seems the snapshot are bit bigger now
Check the compression algorithm that's selected when you take the snapshot. It might have switched to LZ4 default one from whatever you had selected. LZ4 is a good selection if you don't care about space, if you do use Zstd.

Re: MX 21/3 error with MX Snapshot

Posted: Sat Dec 02, 2023 11:51 pm
by artytux
I don't care much about MB/GB sizes, memory is cheap enough to buy, sure there must a joke in there somewhere, can't remember, anyway with new (for me) software I usually select the middle option, best compromise, checked setting was set on and still is on Zstd, I'll keep watch see what happens, like I stated it's not an issue.