rearで起動イメージとデータを1ISOにアーカイブしようとしたときに、ハマった点をめも。
- 1ISOファイルが4GB-1Byteを超えると、アーカイブに失敗する。
genisoimageパッケージの仕様らしい。
Xorrisofsというパッケージなら容量制限は突破できるらしいが、
バックアップを作れてもbootはできなかった、という記載もあった。
参考
てわけで、以下の定義ファイルのように、1ISOに入れないようにした。
# Default is to create Relax-and-Recover rescue media as ISO image
# set OUTPUT to change that
# set BACKUP to activate an automated (backup and) restore of your data
# Possible configuration values can be found in /usr/share/rear/conf/default.conf
#
# This file (local.conf) is intended for manual configuration. For configuration
# through packages and other automated means we recommend creating a new
# file named site.conf next to this file and to leave the local.conf as it is.
# Our packages will never ship with a site.conf.
OUTPUT=ISO
OUTPUT_URL="file:///var/tmp/rescue"
BACKUP=NETFS
BACKUP_URL="file:///var/tmp/data"
コマンド実行は以下。
TMPDIR="/var/tmp" rear mkrescue
TMPDIR="/var/tmp" rear mkbackuponly
もしくは
TMPDIR="/var/tmp" rear mkbackup