LoginSignup
1
1

More than 3 years have passed since last update.

rearでレスキューシステムとデータを1ISOに統合するときの注意点

Last updated at Posted at 2019-07-27

rearで起動イメージとデータを1ISOにアーカイブしようとしたときに、ハマった点をめも。

  • 1ISOファイルが4GB-1Byteを超えると、アーカイブに失敗する。

genisoimageパッケージの仕様らしい。
Xorrisofsというパッケージなら容量制限は突破できるらしいが、
バックアップを作れてもbootはできなかった、という記載もあった。

参考

https://bugzilla.redhat.com/show_bug.cgi?id=1462189

てわけで、以下の定義ファイルのように、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
1
1
0

Register as a new user and use Qiita more conveniently

  1. You get articles that match your needs
  2. You can efficiently read back useful information
  3. You can use dark theme
What you can do with signing up
1
1