Linuxインストール時にLVM on RAID1 な環境を構築する

# 前回の記事
[LVMでスナップショットの作成と状態の復元](http://qiita.com/TsutomuNakamura/items/a68377952d07397db448 "LVMでスナップショットの作成と状態の復元")

# 経緯
仕事でLinux をインストールするときにroot ファイルシステムをRAID1 デバイスで構築したLVM ボリューム上にインストールする要件があったので、その時調べた内容をメモして置きます。

# 構成概要
構成概要は以下のとおりです。
まずはRAID1 デバイスを作成し、その上にLVM を作成していきます。
![LVMonRAID1WhenInstallLinux.png](https://qiita-image-store.s3.amazonaws.com/0/70152/820a7129-3b76-7afc-8409-b8bc14abe238.png)

# 作業手順
細かい説明については、前回以前の記事で説明したつもりなので、割愛します。
今回インストールするLinux はdebian-8.0.0 です。

![WS000000.png](https://qiita-image-store.s3.amazonaws.com/0/70152/7f5695a5-b63f-eb62-2c0f-18872daaaa80.png)

![WS000001.png](https://qiita-image-store.s3.amazonaws.com/0/70152/b5854127-232b-d4b3-78e9-d299ffdea6d0.png)

![WS000002.png](https://qiita-image-store.s3.amazonaws.com/0/70152/731ecfb9-4b7a-6178-1299-0bef6ca2e69a.png)

![WS000003.png](https://qiita-image-store.s3.amazonaws.com/0/70152/ae309b22-90d4-6aa7-1b9e-86ddb06d91cf.png)

![WS000004.png](https://qiita-image-store.s3.amazonaws.com/0/70152/2a9b5827-49eb-3888-c864-3ceb4c90913d.png)

![WS000005.png](https://qiita-image-store.s3.amazonaws.com/0/70152/cd635914-3f76-dd03-a55c-3969c6b707c6.png)

![WS000006.png](https://qiita-image-store.s3.amazonaws.com/0/70152/1213ad15-84b9-3792-36fd-6858a28bb85a.png)

![WS000007.png](https://qiita-image-store.s3.amazonaws.com/0/70152/29444edf-eb00-9fa1-e453-d04d8d89aa0b.png)

![WS000008.png](https://qiita-image-store.s3.amazonaws.com/0/70152/3a109be3-88a7-167a-3253-dc60cc7507e3.png)

![WS000009.png](https://qiita-image-store.s3.amazonaws.com/0/70152/25296648-38c5-aca4-86c8-ea95ac2b5fc2.png)

![WS000010.png](https://qiita-image-store.s3.amazonaws.com/0/70152/b3e019b1-0c81-3afc-a793-dee961a308a9.png)

![WS000011.png](https://qiita-image-store.s3.amazonaws.com/0/70152/77d2bb79-e035-f397-54b0-ce80efd602b8.png)

![WS000012.png](https://qiita-image-store.s3.amazonaws.com/0/70152/3f2fb27c-1309-31f7-b7fb-5bbea79f101b.png)

![WS000013.png](https://qiita-image-store.s3.amazonaws.com/0/70152/8e0e59c4-b5a4-efd6-f20d-34ca7700b90b.png)

![WS000014.png](https://qiita-image-store.s3.amazonaws.com/0/70152/4249e3b1-04dd-38ba-51b0-56c5ab7822cb.png)

![WS000015.png](https://qiita-image-store.s3.amazonaws.com/0/70152/c3428581-b0ae-3a5a-3b36-8a58c42025fb.png)

![WS000016.png](https://qiita-image-store.s3.amazonaws.com/0/70152/d8359c15-31b5-787a-e959-a22b2aedb1f0.png)

![WS000017.png](https://qiita-image-store.s3.amazonaws.com/0/70152/41f2f7ef-a38f-d7f7-5ebc-27894579b602.png)

![WS000018.png](https://qiita-image-store.s3.amazonaws.com/0/70152/c3a79e6d-bb98-be59-1e42-40ea3a5b5d28.png)

![WS000019.png](https://qiita-image-store.s3.amazonaws.com/0/70152/5acf6cc9-270d-511a-fdb5-7ff3abdb60ae.png)

![WS000020.png](https://qiita-image-store.s3.amazonaws.com/0/70152/c30b92df-7653-36b8-5591-125a8a9d2cba.png)

![WS000021.png](https://qiita-image-store.s3.amazonaws.com/0/70152/370f5d2e-3ec4-ba80-f1ca-b698c0c9dcbe.png)

![WS000022.png](https://qiita-image-store.s3.amazonaws.com/0/70152/4f6dea0f-61a9-ffc7-41ed-6ecb216493b5.png)

![WS000023.png](https://qiita-image-store.s3.amazonaws.com/0/70152/3aaad089-c354-7ae7-0f0b-40eb8a7b88fc.png)

![WS000024.png](https://qiita-image-store.s3.amazonaws.com/0/70152/d3a2dbf1-545f-b721-da18-eecc37ddb3ae.png)

![WS000025.png](https://qiita-image-store.s3.amazonaws.com/0/70152/7fefbf92-840b-0044-3d0d-b7c223b9d0fd.png)

![WS000026.png](https://qiita-image-store.s3.amazonaws.com/0/70152/43adf660-813e-40ab-e0ad-a96470373001.png)

![WS000027.png](https://qiita-image-store.s3.amazonaws.com/0/70152/ed2b9723-edfb-0791-a523-1de77e736fff.png)

![WS000028.png](https://qiita-image-store.s3.amazonaws.com/0/70152/9b93624f-b079-015b-ee47-75bfa74ca2e1.png)

![WS000029.png](https://qiita-image-store.s3.amazonaws.com/0/70152/278e2f41-9412-a73f-86cc-4a5b378f0b84.png)

![WS000030.png](https://qiita-image-store.s3.amazonaws.com/0/70152/cf0a1781-ee59-c694-2574-1a08935c4ee6.png)

![WS000031.png](https://qiita-image-store.s3.amazonaws.com/0/70152/103570fb-7663-6426-a793-ebe7aeec88b4.png)

![WS000032.png](https://qiita-image-store.s3.amazonaws.com/0/70152/62684d9f-b87d-0cde-7fbe-8067125256f7.png)

![WS000033.png](https://qiita-image-store.s3.amazonaws.com/0/70152/0b559e01-2705-b83a-50f0-b02a508aa5f1.png)

![WS000034.png](https://qiita-image-store.s3.amazonaws.com/0/70152/17480bf9-278d-97ac-6339-5998d7e2d110.png)

![WS000035.png](https://qiita-image-store.s3.amazonaws.com/0/70152/76b87bd9-869a-5aa0-d5a0-57288d698c30.png)

![WS000036.png](https://qiita-image-store.s3.amazonaws.com/0/70152/0e606676-4f5f-4e0d-3c32-d6b99ec08573.png)

![WS000037.png](https://qiita-image-store.s3.amazonaws.com/0/70152/a429c8e9-64fc-8343-6f60-1454f3f2b1d5.png)

![WS000038.png](https://qiita-image-store.s3.amazonaws.com/0/70152/27332fd0-3bb4-763f-d0b7-82e1b3776b3d.png)

![WS000039.png](https://qiita-image-store.s3.amazonaws.com/0/70152/fc235f1c-1972-93c3-58ce-55b6365fc066.png)

![WS000040.png](https://qiita-image-store.s3.amazonaws.com/0/70152/d38ae77b-6337-6aa6-939d-ca6e3abc8263.png)

![WS000041.png](https://qiita-image-store.s3.amazonaws.com/0/70152/d996e659-7d57-92d0-ed74-405cecb28ffb.png)

![WS000042.png](https://qiita-image-store.s3.amazonaws.com/0/70152/7a0a030d-87ac-3805-9be1-480b80767d83.png)

![WS000043.png](https://qiita-image-store.s3.amazonaws.com/0/70152/ef9d1cd0-7e71-1cae-2ff6-b28b64f64d44.png)

![WS000044.png](https://qiita-image-store.s3.amazonaws.com/0/70152/13ff3d72-1556-90e5-6617-4f285fac12d0.png)

![WS000045.png](https://qiita-image-store.s3.amazonaws.com/0/70152/1fff5b73-c46e-039e-b702-b4c7886c0c44.png)

![WS000046.png](https://qiita-image-store.s3.amazonaws.com/0/70152/ce39e4ff-95a8-ad0a-98a8-dfde64a222fe.png)

![WS000047.png](https://qiita-image-store.s3.amazonaws.com/0/70152/f3cee501-3c7b-3fc6-278d-cf7ecf0c2cc8.png)

![WS000048.png](https://qiita-image-store.s3.amazonaws.com/0/70152/aab58cfe-a8b7-e5ab-a8b5-bd9335d28fde.png)

![WS000049.png](https://qiita-image-store.s3.amazonaws.com/0/70152/7a688ece-331e-dee8-3cd6-641de8573bb9.png)

![WS000050.png](https://qiita-image-store.s3.amazonaws.com/0/70152/6b45d1f1-1e7c-069f-5859-10ac4b24e1e3.png)

![WS000051.png](https://qiita-image-store.s3.amazonaws.com/0/70152/798e1b33-4215-1a1d-467e-f7299c24d242.png)

![WS000052.png](https://qiita-image-store.s3.amazonaws.com/0/70152/a1371c37-6106-8bca-4ff7-7eea461edc00.png)

![WS000053.png](https://qiita-image-store.s3.amazonaws.com/0/70152/0b9c72fa-d631-f567-a28b-03159400469f.png)

![WS000054.png](https://qiita-image-store.s3.amazonaws.com/0/70152/a2d9676a-2fef-fc48-5fcd-2acb3eaf17f2.png)

![WS000055.png](https://qiita-image-store.s3.amazonaws.com/0/70152/569f85f9-47ec-857d-b39c-fdd79575142b.png)

![WS000056.png](https://qiita-image-store.s3.amazonaws.com/0/70152/bea422f7-e28a-4c9e-5573-e9d2cdf64261.png)

![WS000057.png](https://qiita-image-store.s3.amazonaws.com/0/70152/71dbc5e7-685f-deeb-91d7-ffb5b5c7850c.png)

![WS000058.png](https://qiita-image-store.s3.amazonaws.com/0/70152/dc1535f2-2bb1-6f2a-9512-6aef118c4c41.png)

![WS000059.png](https://qiita-image-store.s3.amazonaws.com/0/70152/be8323af-ef98-2d9b-6d34-5eae20fa6bf9.png)

![WS000060.png](https://qiita-image-store.s3.amazonaws.com/0/70152/a8b07292-3f74-1e83-e098-f83ec08aaf65.png)

![WS000061.png](https://qiita-image-store.s3.amazonaws.com/0/70152/c0389cc3-4cc2-4e8c-fc06-99d7d24fd508.png)

![WS000062.png](https://qiita-image-store.s3.amazonaws.com/0/70152/9b38c3b6-aa13-73b9-6c15-5fe7b358e1a5.png)

![WS000063.png](https://qiita-image-store.s3.amazonaws.com/0/70152/802fb0bd-321d-c930-3e3c-1f7c573adccb.png)

![WS000064.png](https://qiita-image-store.s3.amazonaws.com/0/70152/b4bf0abc-dcd8-d518-741e-9c6d757bd0af.png)

![WS000065.png](https://qiita-image-store.s3.amazonaws.com/0/70152/d5e78b37-37f1-d0f4-3bc9-799a6db1abe4.png)

![WS000066.png](https://qiita-image-store.s3.amazonaws.com/0/70152/01099dc0-8218-ca91-bfd9-eb2ac272da2f.png)

![WS000067.png](https://qiita-image-store.s3.amazonaws.com/0/70152/4749f7a7-5190-5dca-6090-168b5ea577e4.png)

![WS000068.png](https://qiita-image-store.s3.amazonaws.com/0/70152/c9e55f56-ea55-6cd6-72cf-2883d94b026a.png)

![WS000069.png](https://qiita-image-store.s3.amazonaws.com/0/70152/53f68865-9428-4fad-6b57-e9c29f28a7c9.png)

![WS000070.png](https://qiita-image-store.s3.amazonaws.com/0/70152/abbca613-53d0-5b0f-dec1-0be697b400b0.png)

![WS000071.png](https://qiita-image-store.s3.amazonaws.com/0/70152/dd7fee4a-939a-ca7b-dc3e-3179992f3c46.png)

![WS000072.png](https://qiita-image-store.s3.amazonaws.com/0/70152/4059621b-0a93-1d42-9ebf-bc0565c735ee.png)

![WS000073.png](https://qiita-image-store.s3.amazonaws.com/0/70152/c9c5c05a-228a-b51f-001c-6c6d11ef8957.png)

![WS000074.png](https://qiita-image-store.s3.amazonaws.com/0/70152/65c91ec3-1a79-7484-52dd-59200ea712dd.png)