mini:~# mdadm -E /dev/sda1 /dev/sda2 /dev/sda5 /dev/sda1: Magic : a92b4efc Version : 00.90.00 UUID : adbe578f:b86ab25a:09937ff0:e2de4343 Creation Time : Thu Jun 19 16:33:50 2008 Raid Level : raid1 Device Size : 1003904 (980.54 MiB 1028.00 MB) Array Size : 1003904 (980.54 MiB 1028.00 MB) Raid Devices : 2 Total Devices : 1 Preferred Minor : 0 Update Time : Thu Nov 1 02:29:53 2007 State : clean Active Devices : 1 Working Devices : 1 Failed Devices : 0 Spare Devices : 0 Checksum : 8b5841e7 - correct Events : 0.1577 Number Major Minor RaidDevice State this 1 8 1 1 active sync /dev/sda1 0 0 0 0 0 removed 1 1 8 1 1 active sync /dev/sda1 /dev/sda2: Magic : a92b4efc Version : 00.90.00 UUID : db218435:100e25e7:d2ba170f:d67ec206 Creation Time : Thu Jun 19 16:33:51 2008 Raid Level : raid1 Device Size : 5004160 (4.77 GiB 5.12 GB) Array Size : 5004160 (4.77 GiB 5.12 GB) Raid Devices : 2 Total Devices : 1 Preferred Minor : 1 Update Time : Thu Nov 1 02:32:07 2007 State : clean Active Devices : 1 Working Devices : 1 Failed Devices : 0 Spare Devices : 0 Checksum : cd639a92 - correct Events : 0.21039 Number Major Minor RaidDevice State this 1 8 2 1 active sync /dev/sda2 0 0 0 0 0 removed 1 1 8 2 1 active sync /dev/sda2 /dev/sda5: Magic : a92b4efc Version : 00.90.00 UUID : 5ff62718:4b361669:2597d6c1:28cfaec3 Creation Time : Thu Nov 1 00:42:25 2007 Raid Level : raid1 Device Size : 1003904 (980.54 MiB 1028.00 MB) Array Size : 1003904 (980.54 MiB 1028.00 MB) Raid Devices : 2 Total Devices : 2 Preferred Minor : 10 Update Time : Thu Nov 1 00:46:14 2007 State : clean Active Devices : 2 Working Devices : 2 Failed Devices : 0 Spare Devices : 0 Checksum : 311fa9fd - correct Events : 0.5 Number Major Minor RaidDevice State this 0 8 21 0 active sync /dev/sdb5 0 0 8 21 0 active sync /dev/sdb5 1 1 8 5 1 active sync /dev/sda5 mini:~#sda1, sda2 は sdb が removed だが、
mini:~# mount /dev/md0 /boot mini:~# df Filesystem 1K-blocks Used Available Use% Mounted on /dev/md1 4993920 214340 4779580 5% / tmpfs 63116 0 63116 0% /lib/init/rw tmpfs 63116 0 63116 0% /dev/shm /dev/root.old 15351 13874 1477 91% /initrd /dev/md0 988064 120780 867284 13% /boot mini:~#できるやん。
Debian GNU/Linux 4.0 mini ttyS0 mini login: root Password: Last login: Thu Nov 1 02:07:33 2007 on ttyS0 Linux mini 2.6.16.16-arm1 #316 Tue Jul 22 16:22:33 JST 2008 armv5tejl The programs included with the Debian GNU/Linux system are free software; the exact distribution terms for each program are described in the individual files in /usr/share/doc/*/copyright. Debian GNU/Linux comes with ABSOLUTELY NO WARRANTY, to the extent permitted by applicable law. mini:~# df Filesystem 1K-blocks Used Available Use% Mounted on /dev/md1 4993920 213436 4780484 5% / tmpfs 63116 0 63116 0% /lib/init/rw tmpfs 63116 0 63116 0% /dev/shm /dev/root.old 15351 13874 1477 91% /initrd mini:~# mount /dev/md0 /boot mini:~# df Filesystem 1K-blocks Used Available Use% Mounted on /dev/md1 4993920 213460 4780460 5% / tmpfs 63116 0 63116 0% /lib/init/rw tmpfs 63116 0 63116 0% /dev/shm /dev/root.old 15351 13874 1477 91% /initrd /dev/md0 988064 120780 867284 13% /boot mini:~#ブート時にはマウントできていないけど、 ブート後に手でマウントは可能。
ブート時に
mdadm: cannot open device /dev/disk1_1: Device or resource busy mdadm: /dev/disk1_1 has wrong uuid.と出ているのが、それか。
保留
|
← debian 化(13)mdadm のインストール |
ハックの記録 LinkStation/玄箱 をハックしよう |
→ 停電 |