munakata@mythen:~/repos/recurse.git$ sudo mdadm --detail /dev/md0
/dev/md0:
Version : 1.2
Creation Time : Sun Dec 11 23:04:19 2011
Raid Level : raid1
Array Size : 1953512400 (1863.01 GiB 2000.40 GB)
Used Dev Size : 1953512400 (1863.01 GiB 2000.40 GB)
Raid Devices : 2
Total Devices : 2
Persistence : Superblock is persistent
Update Time : Sun Dec 22 21:28:33 2013
State : clean
Active Devices : 2
Working Devices : 2
Failed Devices : 0
Spare Devices : 0
Name : mythen:0 (local to host mythen)
UUID : 4cd693e9:dd3ad1a9:3a5a23a9:62ce3a05
Events : 397
Number Major Minor RaidDevice State
0 8 1 0 active sync /dev/sda1
1 8 17 1 active sync /dev/sdb1munakata@mythen:~/repos/recurse.git$ sudo mdadm /dev/md0 --manage --fail /dev/sdb1 mdadm: set /dev/sdb1 faulty in /dev/md0 munakata@mythen:~/repos/recurse.git$ sudo mdadm /dev/md0 --manage --remove /dev/sdb1 mdadm: hot removed /dev/sdb1 from /dev/md0
munakata@mythen:~/repos/recurse.git$ sudo mdadm --detail /dev/md0
/dev/md0:
Version : 1.2
Creation Time : Sun Dec 11 23:04:19 2011
Raid Level : raid1
Array Size : 1953512400 (1863.01 GiB 2000.40 GB)
Used Dev Size : 1953512400 (1863.01 GiB 2000.40 GB)
Raid Devices : 2
Total Devices : 1
Persistence : Superblock is persistent
Update Time : Sun Dec 22 21:32:45 2013
State : clean, degraded
Active Devices : 1
Working Devices : 1
Failed Devices : 0
Spare Devices : 0
Name : mythen:0 (local to host mythen)
UUID : 4cd693e9:dd3ad1a9:3a5a23a9:62ce3a05
Events : 413
Number Major Minor RaidDevice State
0 8 1 0 active sync /dev/sda1
1 0 0 1 removedserver-admin@mythen:~$ sudo parted /dev/sdb GNU Parted 2.3 /dev/sdb を使用 GNU Parted へようこそ! コマンド一覧を見るには 'help' と入力してください。 (parted) mklabel gpt (parted) unit TB (parted) mkpart primary 0.0TB 4.0TB (parted) print モデル: ATA WDC WD40EZRX-00S (scsi) ディスク /dev/sdb: 4001GB セクタサイズ (論理/物理): 512B/4096B パーティションテーブル: gpt 番号 開始 終了 サイズ ファイルシステム 名前 フラグ 1 1049kB 4001GB 4001GB ext4 primary (parted) quit
server-admin@mythen: sudo mkfs.ext4 -m 1 /dev/sdb1