MX 21/3 error with MX Snapshot

Help for Current Versions of MX
When asking for help, use Quick System Info from MX Tools. It will be properly formatted using the following steps.
1. Click on Quick System Info in MX Tools
2. Right click in your post and paste.
Message
Author
planetree
Posts: 18
Joined: Fri Jun 17, 2022 12:51 pm

MX 21/3 error with MX Snapshot

#1 Post 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)

User avatar
Adrian
Developer
Posts: 8981
Joined: Wed Jul 12, 2006 1:42 am

Re: MX 21/3 error with MX Snapshot

#2 Post 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?

planetree
Posts: 18
Joined: Fri Jun 17, 2022 12:51 pm

Re: MX 21/3 error with MX Snapshot

#3 Post 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.

planetree
Posts: 18
Joined: Fri Jun 17, 2022 12:51 pm

Re: MX 21/3 error with MX Snapshot

#4 Post 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.

User avatar
Adrian
Developer
Posts: 8981
Joined: Wed Jul 12, 2006 1:42 am

Re: MX 21/3 error with MX Snapshot

#5 Post 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?

planetree
Posts: 18
Joined: Fri Jun 17, 2022 12:51 pm

Re: MX 21/3 error with MX Snapshot

#6 Post 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

User avatar
Adrian
Developer
Posts: 8981
Joined: Wed Jul 12, 2006 1:42 am

Re: MX 21/3 error with MX Snapshot

#7 Post 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.

planetree
Posts: 18
Joined: Fri Jun 17, 2022 12:51 pm

Re: MX 21/3 error with MX Snapshot

#8 Post by planetree »

Switched to earlier Snapshot and it appears to be working, got past the error. Still in process at moment.

User avatar
Adrian
Developer
Posts: 8981
Joined: Wed Jul 12, 2006 1:42 am

Re: MX 21/3 error with MX Snapshot

#9 Post by Adrian »

It might be an option not available on Bullseye I added -throttle 0, I will have to remove it from Bullseye build

planetree
Posts: 18
Joined: Fri Jun 17, 2022 12:51 pm

Re: MX 21/3 error with MX Snapshot

#10 Post by planetree »

Thanks for your fast help, appreciate it.

Post Reply

Return to “MX Help”