複数ディスクのプロビジョニング

複数ディスクのプロビジョニング

私の環境のコンピュータには1つまたは2つのディスク/アレイがあります。

ボックスの数に関係なく、すべてのディスク容量をプロビジョニングで使用したいと思います。

問題は、複数のディスクが見つかるとすぐに現在のパーティションスキームが中断されることです。

私のパーティションプリセットは次のとおりです。

# Partitioning
d-i partman-auto/method string lvm
# If one of the disks that are going to be automatically partitioned
# contains an old LVM configuration, the user will normally receive a
# warning. This can be preseeded away...
d-i partman-lvm/device_remove_lvm boolean true
# The same applies to pre-existing software RAID array:
d-i partman-md/device_remove_md boolean true
# And the same goes for the confirmation to write the lvm partitions.
d-i partman-lvm/confirm boolean true
d-i partman-lvm/confirm_nooverwrite boolean true
# You can choose one of the three predefined partitioning recipes:
# - atomic: all files in one partition
# - home:   separate /home partition
# - multi:  separate /home, /var, and /tmp partitions
d-i partman-auto/choose_recipe select atomic

# This makes partman automatically partition without confirmation, provided
# that you told it what to do using one of the methods above.
d-i partman-partitioning/confirm_write_new_label boolean true
d-i partman/choose_partition select finish
d-i partman/confirm boolean true
d-i partman/confirm_nooverwrite boolean true

# Choose automatic partitioning recipes where automatic puts
# All configuration on the same partition
d-i partman-auto/choose_recipe select automic
# Complete partitioning without further confirmation
d-i partman-partitioning/confirm_write_new_label boolean true
d-i partman/choose_partition select finish
d-i partman/confirm boolean true
d-i partman/confirm_nooverwrite boolean true

私の質問:検出されたディスクの数に関係なく、プロビジョニングで利用可能なすべてのディスクを使用できるようにするにはどうすればよいですか?

または:最初のパーティションにプレインストールを実行してから、セカンダリディスクに空のパーティションを作成する方法は?

ベストアンサー1

テストされていない場合は、次の行が表示されます。

d-i partman-auto/choose_recipe select automic

本当にそうしなければならないのに――

d-i partman-auto/choose_recipe select atomic

(「自動」ではなく「原子」に注意してください。)一度試してください。

おすすめ記事