From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from gate001.proxmox.com (gate001.proxmox.com [45.144.208.40]) by lore.proxmox.com (Postfix) with ESMTPS id 774301FF0F3 for ; Mon, 27 Jul 2026 15:50:26 +0200 (CEST) Received: from gate001.proxmox.com (localhost.localdomain [127.0.0.1]) by gate001.proxmox.com (Proxmox) with ESMTP id 9B805214AF; Mon, 27 Jul 2026 15:50:24 +0200 (CEST) From: Elias Huhsovitz To: pbs-devel@lists.proxmox.com Subject: [PATCH backup-restore-image 0/2] fix #7500: add EROFS and SquashFS filesystem support Date: Mon, 27 Jul 2026 15:49:23 +0200 Message-ID: <20260727134925.314289-1-e.huhsovitz@proxmox.com> X-Mailer: git-send-email 2.47.3 MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Bm-Milter-Handled: 55990f41-d878-4baa-be0a-ee34c49e34d2 X-Bm-Transport-Timestamp: 1785160155241 X-SPAM-LEVEL: Spam detection results: 0 AWL 0.142 Adjusted score from AWL reputation of From: address DMARC_MISSING 0.1 Missing DMARC policy KAM_DMARC_STATUS 0.01 Test Rule for DKIM or SPF Failure with Strict Alignment (newer systems) RCVD_IN_DNSWL_LOW -0.7 Sender listed at https://www.dnswl.org/, low trust SPF_HELO_NONE 0.001 SPF: HELO does not publish an SPF Record SPF_PASS -0.001 SPF: sender matches SPF record Message-ID-Hash: RJQR5I2CZFO2XNNSV6MQDGCO56MEELOI X-Message-ID-Hash: RJQR5I2CZFO2XNNSV6MQDGCO56MEELOI X-MailFrom: e.huhsovitz@proxmox.com X-Mailman-Rule-Misses: dmarc-mitigation; no-senders; approved; loop; banned-address; emergency; member-moderation; nonmember-moderation; administrivia; implicit-dest; max-recipients; max-size; news-moderation; no-subject; digests; suspicious-header CC: Elias Huhsovitz X-Mailman-Version: 3.3.10 Precedence: list List-Id: Proxmox Backup Server development discussion List-Help: List-Owner: List-Post: List-Subscribe: List-Unsubscribe: This patch series addresses Bug #7500 [1], where the file-restore kernel fails to mount EROFS-formatted partitions. This issue commonly affects users attempting to restore files from backups of Home Assistant OS. The configuration choices in these patches are based on the standard Debian kernel configuration [2]. Patch 1/2 adds EROFS support, including the necessary decompression backends as defined in [4]. Patch 2/2 adds SquashFS support. While this patch is optional for resolving the specific Home Assistant OS bug, it ensures broad compatibility with various embedded Linux distributions and container images that rely on SquashFS. For the SquashFS configuration, this series deliberately chooses `CONFIG_SQUASHFS_FILE_CACHE=y` and `CONFIG_SQUASHFS_COMPILE_DECOMP_SINGLE=y` instead of the Debian defaults (`FILE_DIRECT` and `MULTI_PERCPU`). This is to reduce complexity, memory footprint and memory overhead, which should be valued in a transient, resource-constrained virtual machine. References: [1] https://bugzilla.proxmox.com/show_bug.cgi?id=7500 [2] https://salsa.debian.org/kernel-team/linux/-/blob/debian/latest/debian/config/config [3] https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git/tree/fs/squashfs/Kconfig [4] https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git/tree/fs/erofs/Kconfig Elias Huhsovitz (2): fix #7500: add EROFS filesystem support add SquashFS filesystem support src/config-base | 16 ++++++++++++++++ 1 file changed, 16 insertions(+) -- 2.47.3