LoginSignup
0
0

More than 5 years have passed since last update.

Debian8.6でインストール時にSoftware RAID1を構築する

Last updated at Posted at 2016-11-20
  • proxmox のインストーラーが インストール時にSoftware RAID1 (zfsではない)の指定ができないため調査。
  • Raid_controllerを使う場合はこちらを参照。

手順

  • DISKを2つ以上用意する。

0.png

  • Confiture Software RAID

1.png
2.png
3.png

  • Raidの種類指定

4.png
5.png
6.png
7.png
8.png
9.png

  • パーティショニング

10.png
11.png
12.png
13.png
14.png
15.png

grubのインストール

/dev/sdaだけなく、/dev/sdbにもインストールすること。

grub1.png
grub2.png

  • 戻るを押して、/dev/sdbにもインストールする

grub3.png
grub4.png
grub5.png

DISKを一つにして起動することを確認

disk1.png
disk2.png
disk3.png

復旧手順

  • 現在sda1,sdb1のどちらで起動しているかを確認。今回はsdb1で起動している。

raid.png

  • DISKが1つの状態になっているので、2つ目を追加する。
mdadm --manage /dev/md0 --add /dev/sda1

raid1.png

  • 指定を間違えてもエラーになるだけで問題ない。

raid2.png

  • 再構築完了。

raid3.png

0
0
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
0
0