2台目の HDD として、 パーティションを削除した Maxtor DiamondMax Plus 9 6Y160M0 を セットして起動してみた。
root@LS-QL233:~# cat /proc/mdstat Personalities : [raid0] [raid1] [raid6] [raid5] [raid4] md1 : active raid1 sda2[0] 5004160 blocks [4/1] [U___] md10 : active raid1 sda5[0] 1003904 blocks [4/1] [U___] md0 : active raid1 sda1[0] 1003904 blocks [4/1] [U___] unused devices: <none> root@LS-QL233:~#システムは自動的にアレーが構築されると思っていたが、はずれ。
root@LS-QL233:~# dmesg | less : : scsi0 : Marvell SCSI to SATA adapter scsi1 : Marvell SCSI to SATA adapter scsi 0:0:0:0: Direct-Access SAMSUNG HD103UJ 1AA0 PQ: 0 ANSI: 5 scsi 0:0:1:0: Direct-Access Maxtor 6Y160M0 YAR5 PQ: 0 ANSI: 5 sd 0:0:0:0: [sda] 1953525168 512-byte hardware sectors (1000205 MB) sd 0:0:0:0: [sda] Write Protect is off sd 0:0:0:0: [sda] Mode Sense: 23 00 00 00 sd 0:0:0:0: [sda] Write cache: enabled, read cache: enabled, doesn't support DPO or FUA sd 0:0:0:0: [sda] 1953525168 512-byte hardware sectors (1000205 MB) sd 0:0:0:0: [sda] Write Protect is off sd 0:0:0:0: [sda] Mode Sense: 23 00 00 00 sd 0:0:0:0: [sda] Write cache: enabled, read cache: enabled, doesn't support DPO or FUA sda: sda1 sda2 sda4 < sda5 sda6 > sd 0:0:0:0: [sda] Attached SCSI disk sd 0:0:1:0: [sdb] 320173056 512-byte hardware sectors (163929 MB) sd 0:0:1:0: [sdb] Write Protect is off sd 0:0:1:0: [sdb] Mode Sense: 23 00 00 00 sd 0:0:1:0: [sdb] Write cache: enabled, read cache: enabled, doesn't support DPO or FUA sd 0:0:1:0: [sdb] 320173056 512-byte hardware sectors (163929 MB) sd 0:0:1:0: [sdb] Write Protect is off sd 0:0:1:0: [sdb] Mode Sense: 23 00 00 00 sd 0:0:1:0: [sdb] Write cache: enabled, read cache: enabled, doesn't support DPO or FUA sdb: sd 0:0:1:0: [sdb] Attached SCSI disk : :認識はされている。
LED が I20 「内蔵ハードディスクフォーマット中」を示し、 そのうち、2の LED が緑になったので、md の様子を見てみると、
root@LS-QL233:~# cat /proc/mdstat Personalities : [raid0] [raid1] [raid6] [raid5] [raid4] md1 : active raid1 sdb2[4] sda2[0] 5004160 blocks [4/1] [U___] [===================>.] recovery = 96.2% (4815552/5004160) finish=0.0min speed=46756K/sec md10 : active raid1 sdb5[4] sda5[0] 1003904 blocks [4/1] [U___] resync=DELAYED md0 : active raid1 sdb1[1] sda1[0] 1003904 blocks [4/2] [UU__] unused devices: <none> root@LS-QL233:~#リカバリしている。
しばらくして
root@LS-QL233:~# cat /proc/mdstat Personalities : [raid0] [raid1] [raid6] [raid5] [raid4] md1 : active raid1 sdb2[1] sda2[0] 5004160 blocks [4/2] [UU__] md10 : active raid1 sdb5[1] sda5[0] 1003904 blocks [4/2] [UU__] md0 : active raid1 sdb1[1] sda1[0] 1003904 blocks [4/2] [UU__] unused devices: <none> root@LS-QL233:~#リカバリが完了した。
root@LS-QL233:~# df Filesystem 1k-blocks Used Available Use% Mounted on /dev/md1 4993920 398188 4595732 8% / /dev/ram1 15360 136 15224 1% /mnt/ram /dev/md0 995928 175440 820488 18% /boot /dev/disk1_6 968628480 1124 968627356 0% /mnt/disk1 /dev/disk2_6 148376092 544 148375548 0% /mnt/disk2 root@LS-QL233:~#標準モードでマウントされている。
パーティションは、
root@LS-QL233:~# fdisk -l /dev/sdb Disk /dev/sdb: 163.9 GB, 163928604672 bytes 255 heads, 63 sectors/track, 19929 cylinders Units = cylinders of 16065 * 512 = 8225280 bytes Device Boot Start End Blocks Id System /dev/sdb1 1 125 1004031 83 Linux /dev/sdb2 126 748 5004247+ 83 Linux /dev/sdb4 749 19929 154071382+ 5 Extended /dev/sdb5 749 873 1004031 82 Linux swap /dev/sdb6 874 19354 148448601 83 Linux root@LS-QL233:~#で、システム領域はもともと入っていた sda
root@LS-QL233:~# fdisk -l /dev/sda Disk /dev/sda: 1000.2 GB, 1000204886016 bytes 255 heads, 63 sectors/track, 121601 cylinders Units = cylinders of 16065 * 512 = 8225280 bytes Device Boot Start End Blocks Id System /dev/sda1 1 125 1004031 83 Linux /dev/sda2 126 748 5004247+ 83 Linux /dev/sda4 749 121601 970751722+ 5 Extended /dev/sda5 749 873 1004031 82 Linux swap /dev/sda6 874 121478 968759631 83 Linux root@LS-QL233:~#と同じパーティションが切られた。
I16 を示している「RAIDアレイ作成中」。
root@LS-QL233:~# cat /proc/mdstat Personalities : [raid0] [raid1] [raid6] [raid5] [raid4] md2 : active raid1 sdb6[1] sda6[0] 148448512 blocks [2/2] [UU] [>....................] resync = 0.0% (3072/148448512) finish=1546.3min speed=1537K/sec md1 : active raid1 sdb2[1] sda2[0] 5004160 blocks [4/2] [UU__] md10 : active raid1 sdb5[1] sda5[0] 1003904 blocks [4/2] [UU__] md0 : active raid1 sdb1[1] sda1[0] 1003904 blocks [4/2] [UU__] unused devices: <none> root@LS-QL233:~#1546.3min って、148GB のリビルドにいったいいくらかかるの?
root@LS-QL233:~# fdisk -l /dev/sda Disk /dev/sda: 1000.2 GB, 1000204886016 bytes 255 heads, 63 sectors/track, 121601 cylinders Units = cylinders of 16065 * 512 = 8225280 bytes Device Boot Start End Blocks Id System /dev/sda1 1 125 1004031 83 Linux /dev/sda2 126 748 5004247+ 83 Linux /dev/sda4 749 121601 970751722+ 5 Extended /dev/sda5 749 873 1004031 82 Linux swap /dev/sda6 874 121478 968759631 83 Linux root@LS-QL233:~# fdisk -l /dev/sdb Disk /dev/sdb: 163.9 GB, 163928604672 bytes 255 heads, 63 sectors/track, 19929 cylinders Units = cylinders of 16065 * 512 = 8225280 bytes Device Boot Start End Blocks Id System /dev/sdb1 1 125 1004031 83 Linux /dev/sdb2 126 748 5004247+ 83 Linux /dev/sdb4 749 19929 154071382+ 5 Extended /dev/sdb5 749 873 1004031 82 Linux swap /dev/sdb6 874 19354 148448601 83 Linux root@LS-QL233:~#同じサイズに切りなおされるのかと思ってたけれど、 パーティションサイズは単独のときのまま。
root@LS-QL233:~# df Filesystem 1k-blocks Used Available Use% Mounted on /dev/md1 4993920 398284 4595636 8% / /dev/ram1 15360 140 15220 1% /mnt/ram /dev/md0 995928 175440 820488 18% /boot /dev/md2 148376028 768 148375260 0% /mnt/array1 root@LS-QL233:~#単独のときと微妙に容量が違うが、、、
LED は I16 を示したまま。。。
root@LS-QL233:~# cat /proc/mdstat Personalities : [raid0] [raid1] [raid6] [raid5] [raid4] md2 : active raid1 sdb6[1] sda6[0] 148448512 blocks [2/2] [UU] [==>..................] resync = 13.5% (20050048/148448512) finish=45.2min speed=47275K/sec md1 : active raid1 sdb2[1] sda2[0] 5004160 blocks [4/2] [UU__] md10 : active raid1 sdb5[1] sda5[0] 1003904 blocks [4/2] [UU__] md0 : active raid1 sdb1[1] sda1[0] 1003904 blocks [4/2] [UU__] unused devices: <none> root@LS-QL233:~#あと、45分か。風呂はいってこ。
|
← ツジツマ合わせ |
ハックの記録 LinkStation/玄箱 をハックしよう |
→ デグレード |