public inbox for pbs-devel@lists.proxmox.com
 help / color / mirror / Atom feed
* [PATCH backup-restore-image 0/2] fix #7500: add EROFS and SquashFS filesystem support
@ 2026-07-27 13:49 Elias Huhsovitz
  2026-07-27 13:49 ` [PATCH backup-restore-image 1/2] fix #7500: add EROFS " Elias Huhsovitz
  2026-07-27 13:49 ` [PATCH backup-restore-image 2/2] add SquashFS " Elias Huhsovitz
  0 siblings, 2 replies; 3+ messages in thread
From: Elias Huhsovitz @ 2026-07-27 13:49 UTC (permalink / raw)
  To: pbs-devel; +Cc: Elias Huhsovitz

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





^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2026-07-27 13:50 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2026-07-27 13:49 [PATCH backup-restore-image 0/2] fix #7500: add EROFS and SquashFS filesystem support Elias Huhsovitz
2026-07-27 13:49 ` [PATCH backup-restore-image 1/2] fix #7500: add EROFS " Elias Huhsovitz
2026-07-27 13:49 ` [PATCH backup-restore-image 2/2] add SquashFS " Elias Huhsovitz

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox
Service provided by Proxmox Server Solutions GmbH | Privacy | Legal