ブート時のメッセージを見ていると、、、
Loading from block device ide device 0, partition 1: Name: hda1 Type: U-Boot File:/uImage.buffalo 1757556 bytes read Image Name: Linux-2.6.16.16-arm1 Created: 2008-07-22 7:22:37 UTC Image Type: ARM Linux Kernel Image (uncompressed) Data Size: 1757492 Bytes = 1.7 MB Load Address: 00008000 Entry Point: 00008000 Using device ide0, partition 1 Loading from block device ide device 0, partition 1: Name: hda1 Type: U-Boot File:/initrd.buffalo 5622690 bytes read Image Name: initrd Created: 2008-07-22 7:23:07 UTC Image Type: ARM Linux RAMDisk Image (gzip compressed) Data Size: 5622626 Bytes = 5.4 MB Load Address: 00000000 Entry Point: 00000000 Using device ide1, partition 1 Loading from block device ide device 1, partition 1: Name: hdb1 Type: U-Boot File:/uImage.buffalo 1834900 bytes read Image Name: Linux-2.6.16.16-arm1 Created: 2007-03-07 5:17:42 UTC Image Type: ARM Linux Kernel Image (uncompressed) Data Size: 1834836 Bytes = 1.7 MB Load Address: 00008000 Entry Point: 00008000 Using device ide1, partition 1 Loading from block device ide device 1, partition 1: Name: hdb1 Type: U-Boot File:/initrd.buffalo 4619243 bytes read Image Name: initrd Created: 2008-01-08 8:20:45 UTC Image Type: ARM Linux RAMDisk Image (gzip compressed) Data Size: 4619179 Bytes = 4.4 MB Load Address: 00000000 Entry Point: 00000000 Booting from Device 0と hdb から ロードしていたり、
RAMDISK: Compressed image found at block 0 VFS: Mounted root (ext2 filesystem). ---- in modified linuxrc --- XFS mounting filesystem sda2 VFS: Mounted root (xfs filesystem).どこかで見た modified linuxrc が走っていたり。
あかんやん、ハックキットの initrd が使われている。
そう、この WD3200 は HS-DHGL でハックキットを
インストールしていた HDD。
パーティションを切り直しただけでは、
以前のデータがそのまま残ってしまうみたい。
そういえば、
一年半ほど前にもハマったな。成長しない奴>自分
sdb1 の中身を見る。
root@LS-WSGL678:~# mkdir /tmp/boot root@LS-WSGL678:~# mount /dev/sdb1 /tmp/boot /sbin/hotplug [block] root@LS-WSGL678:~# ls /tmp/boot initrd.buffalo lost+found uImage.buffalo root@LS-WSGL678:~# ls -l /tmp/boot -rw-r--r-- 1 root root 4619243 Jan 8 2008 initrd.buffalo drwx------ 2 root root 12288 Jan 8 2008 lost+found -rw-r--r-- 1 root root 1834900 Dec 4 2007 uImage.buffalo root@LS-WSGL678:~#やっぱり残っている。
root@LS-WSGL678:~# rm /tmp/boot/initrd.buffalo root@LS-WSGL678:~# rm /tmp/boot/uImage.buffalo root@LS-WSGL678:~# ls /tmp/boot/ lost+found root@LS-WSGL678:~# umount /tmp/boot/ /sbin/hotplug [block] root@LS-WSGL678:~#
BUFFALO INC. LinkStation series LS-WSGL678 login: KERNELMOn (PSW_on) KERNELMOn (raidrecovery 10 0 0 1 8 21) 1 USB_DEVICE=none 2 USB_DEVICE=none 3 USB_DEVICE=none KERNELMOn (raidrecovery 1 1 1 1 8 18) 4 USB_DEVICE=none 5 USB_DEVICE=none RAID1 conf printout: --- wd:2 rd:2 disk 0, wo:0, o:1, dev:sdb2 disk 1, wo:0, o:1, dev:sda2 KERNELMOn (raidrecovery 1 0 0 1 8 18)何だか、リビルドが走ったみたい。
root@LS-WSGL678:~# df Filesystem 1k-blocks Used Available Use% Mounted on /dev/md1 4993920 273476 4720444 5% / /dev/ram1 15360 120 15240 1% /mnt/ram /dev/md0 988064 109668 878396 11% /boot root@LS-WSGL678:~#/ と /boot だけ。/mnt/array1 はどこへ行った?
root@LS-WSGL678:~# mdadm -D /dev/md0 /dev/md0: Version : 00.90.03 Creation Time : Thu Jun 19 16:33:50 2008 Raid Level : raid1 Array Size : 1003904 (980.54 MiB 1028.00 MB) Device Size : 1003904 (980.54 MiB 1028.00 MB) Raid Devices : 2 Total Devices : 2 Preferred Minor : 0 Persistence : Superblock is persistent Update Time : Thu Nov 1 00:40:28 2007 State : clean Active Devices : 2 Working Devices : 2 Failed Devices : 0 Spare Devices : 0 UUID : adbe578f:b86ab25a:09937ff0:e2de4343 Events : 0.1201 Number Major Minor RaidDevice State 0 8 17 0 active sync /dev/sdb1 1 8 1 1 active sync /dev/sda1 root@LS-WSGL678:~# mdadm -D /dev/md1 /dev/md1: Version : 00.90.03 Creation Time : Thu Jun 19 16:33:51 2008 Raid Level : raid1 Array Size : 5004160 (4.77 GiB 5.12 GB) Device Size : 5004160 (4.77 GiB 5.12 GB) Raid Devices : 2 Total Devices : 2 Preferred Minor : 1 Persistence : Superblock is persistent Update Time : Thu Nov 1 00:44:23 2007 State : clean Active Devices : 2 Working Devices : 2 Failed Devices : 0 Spare Devices : 0 UUID : db218435:100e25e7:d2ba170f:d67ec206 Events : 0.14745 Number Major Minor RaidDevice State 0 8 18 0 active sync /dev/sdb2 1 8 2 1 active sync /dev/sda2 root@LS-WSGL678:~# mdadm -D /dev/md10 /dev/md10: Version : 00.90.03 Creation Time : Thu Jun 19 16:33:54 2008 Raid Level : raid1 Array Size : 1003904 (980.54 MiB 1028.00 MB) Device Size : 1003904 (980.54 MiB 1028.00 MB) Raid Devices : 2 Total Devices : 2 Preferred Minor : 10 Persistence : Superblock is persistent Update Time : Thu Nov 1 00:40:52 2007 State : clean Active Devices : 2 Working Devices : 2 Failed Devices : 0 Spare Devices : 0 UUID : ba25aab6:f1bb3eab:c75c26a7:a754b72a Events : 0.19 Number Major Minor RaidDevice State 0 8 21 0 active sync /dev/sdb5 1 8 5 1 active sync /dev/sda5 root@LS-WSGL678:~# mdadm -D /dev/md2 mdadm: md device /dev/md2 does not appear to be active. root@LS-WSGL678:~#システム領域は、再構築されている。
とりあえずスペアディスクができあがったぞっと。
|
← LS-HGL ハックキットのページ追加 |
ハックの記録 LinkStation/玄箱 をハックしよう |
→ アレイの削除 |