USB で接続していようと sdb は sdb なのだから、
USB につないだままアレーに追加してみる。
駄目ならやり直せばいいし。
root@LS-WSGL678:~# mdadm -a /dev/md0 /dev/sdb1 RAID1 conf printout: --- wd:1 rd:2 disk 0, wo:0, o:1, dev:sda1 disk 1, wo:1, o:1, dev:sdb1 mdadm: added /dev/sdb1 root@LS-WSGL678:~# KERNELMOn (raidrecovery 0 1 1 1 8 17) root@LS-WSGL678:~#/proc/mdstat を見ると、、、
root@LS-WSGL678:~# cat /proc/mdstat Personalities : [raid0] [raid1] md1 : active raid1 sda2[0] 5004160 blocks [2/1] [U_] md10 : active raid1 sda5[0] 1003904 blocks [2/1] [U_] md0 : active raid1 sdb1[2] sda1[0] 1003904 blocks [2/1] [U_] [==>..................] recovery = 14.2% (143744/1003904) finish=0.8min speed=16185K/sec unused devices:recovery が始まっている。root@LS-WSGL678:~#
root@LS-WSGL678:~# cat /proc/mdstat Personalities : [raid0] [raid1] md1 : active raid1 sda2[0] 5004160 blocks [2/1] [U_] md10 : active raid1 sda5[0] 1003904 blocks [2/1] [U_] md0 : active raid1 sdb1[2] sda1[0] 1003904 blocks [2/1] [U_] [======>..............] recovery = 30.3% (306048/1003904) finish=0.6min speed=17110K/sec unused devices:成功したようだ。root@LS-WSGL678:~# RAID1 conf printout: --- wd:2 rd:2 disk 0, wo:0, o:1, dev:sda1 disk 1, wo:0, o:1, dev:sdb1 KERNELMOn (raidrecovery 0 0 0 1 8 17) root@LS-WSGL678:~# cat /proc/mdstat Personalities : [raid0] [raid1] md1 : active raid1 sda2[0] 5004160 blocks [2/1] [U_] md10 : active raid1 sda5[0] 1003904 blocks [2/1] [U_] md0 : active raid1 sdb1[1] sda1[0] 1003904 blocks [2/2] [UU] unused devices: root@LS-WSGL678:~#
root@LS-WSGL678:~# mdadm -a /dev/md1 /dev/sdb2 RAID1 conf printout: --- wd:1 rd:2 disk 0, wo:0, o:1, dev:sda2 disk 1, wo:1, o:1, dev:sdb2 mdadm: added /dev/sdb2 root@LS-WSGL678:~# KERNELMOn (raidrecovery 1 1 1 1 8 18) root@LS-WSGL678:~# cat /proc/mdstat Personalities : [raid0] [raid1] md1 : active raid1 sdb2[2] sda2[0] 5004160 blocks [2/1] [U_] [>....................] recovery = 1.0% (54400/5004160) finish=7.3min speed=11213K/sec md10 : active raid1 sda5[0] 1003904 blocks [2/1] [U_] md0 : active raid1 sdb1[1] sda1[0] 1003904 blocks [2/2] [UU] unused devices:ここは、/ 。長そうだ。7分ほどかかるとのこと。root@LS-WSGL678:~#
root@LS-WSGL678:~# RAID1 conf printout: --- wd:2 rd:2 disk 0, wo:0, o:1, dev:sda2 disk 1, wo:0, o:1, dev:sdb2 KERNELMOn (raidrecovery 1 0 0 1 8 18) root@LS-WSGL678:~# cat /proc/mdstat Personalities : [raid0] [raid1] md1 : active raid1 sdb2[1] sda2[0] 5004160 blocks [2/2] [UU] md10 : active raid1 sda5[0] 1003904 blocks [2/1] [U_] md0 : active raid1 sdb1[1] sda1[0] 1003904 blocks [2/2] [UU] unused devices:完了。root@LS-WSGL678:~#
oot@LS-WSGL678:~# mdadm -a /dev/md10 /dev/sdb5 RAID1 conf printout: --- wd:1 rd:2 disk 0, wo:0, o:1, dev:sda5 disk 1, wo:1, o:1, dev:sdb5 mdadm: added /dev/sdb5 root@LS-WSGL678:~# KERNELMOn (raidrecovery 10 1 1 1 8 21) root@LS-WSGL678:~# cat /proc/mdstat Personalities : [raid0] [raid1] md1 : active raid1 sdb2[1] sda2[0] 5004160 blocks [2/2] [UU] md10 : active raid1 sdb5[2] sda5[0] 1003904 blocks [2/1] [U_] [>....................] recovery = 4.2% (43648/1003904) finish=1.7min speed=9089K/sec md0 : active raid1 sdb1[1] sda1[0] 1003904 blocks [2/2] [UU] unused devices:できたぁ!。root@LS-WSGL678:~# RAID1 conf printout: --- wd:2 rd:2 disk 0, wo:0, o:1, dev:sda5 disk 1, wo:0, o:1, dev:sdb5 KERNELMOn (raidrecovery 10 0 0 1 8 21) root@LS-WSGL678:~# cat /proc/mdstat Personalities : [raid0] [raid1] md1 : active raid1 sdb2[1] sda2[0] 5004160 blocks [2/2] [UU] md10 : active raid1 sdb5[1] sda5[0] 1003904 blocks [2/2] [UU] md0 : active raid1 sdb1[1] sda1[0] 1003904 blocks [2/2] [UU] unused devices: root@LS-WSGL678:~#
: : Intergrated Sata device found scsi0 : Marvell SCSI to SATA adapter scsi1 : Marvell SCSI to SATA adapter ** BUFFALO Disable Command Queuing Function [0 0] ** ** BUFFALO Disable Command Queuing Function [0 1] ** Vendor: Seagate Model: ST3250823AS Rev: 3.02 Type: Direct-Access ANSI SCSI revision: 03 Vendor: Maxtor Model: 6Y160M0 Rev: YAR5 Type: Direct-Access ANSI SCSI revision: 03 Linux IAL (ERROR) : retry command host=0, bus=0 SCpnt = c1449ba0 SCSI device sda: 488397168 512-byte hdwr sectors (250059 MB) sda: Write Protect is off SCSI device sda: drive cache: write back SCSI device sda: 488397168 512-byte hdwr sectors (250059 MB) sda: Write Protect is off SCSI device sda: drive cache: write back sda: sda1 sda2 sda4 < sda5 sda6 > sd 0:0:0:0: Attached scsi disk sda Linux IAL (ERROR) : retry command host=1, bus=1 SCpnt = c1449ba0 SCSI device sdb: 320173056 512-byte hdwr sectors (163929 MB) sdb: Write Protect is off SCSI device sdb: drive cache: write back SCSI device sdb: 320173056 512-byte hdwr sectors (163929 MB) sdb: Write Protect is off SCSI device sdb: drive cache: write back sdb: sdb1 sdb2 sdb4 < sdb5 sdb6 > sd 1:0:0:0: Attached scsi disk sdb sd 0:0:0:0: Attached scsi generic sg0 type 0 sd 1:0:0:0: Attached scsi generic sg1 type 0 : : BUFFALO INC. LinkStation series LS-WSGL678 login:立ち上がってきた。
RAID の様子を見る。
root@LS-WSGL678:~# cat /proc/mdstat Personalities : [raid0] [raid1] md1 : active raid1 sda2[0] sdb2[1] 5004160 blocks [2/2] [UU] md10 : active raid1 sda5[0] sdb5[1] 1003904 blocks [2/2] [UU] md0 : active raid1 sda1[0] sdb1[1] 1003904 blocks [2/2] [UU] unused devices:できてる。root@LS-WSGL678:~#
ようやく次は debian だ。
|
← やっぱりプレスリリースされていない LS-CL |
ハックの記録 LinkStation/玄箱 をハックしよう |
→ debian 化(1)構想 |