DiamondMax 300GB を HD-HGLAN に接続して復旧作業を行う。
[root@giga root]# mkfs -j /dev/sda1 mke2fs 1.35 (28-Feb-2004) Filesystem label= OS type: Linux Block size=4096 (log=2) Fragment size=4096 (log=2) 263296 inodes, 526120 blocks 26306 blocks (5.00%) reserved for the super user First data block=0 17 block groups 32768 blocks per group, 32768 fragments per group 15488 inodes per group Superblock backups stored on blocks: 32768, 98304, 163840, 229376, 294912 Writing inode tables: done Creating journal (8192 blocks): done Writing superblocks and filesystem accounting information: done This filesystem will be automatically checked every 33 mounts or 180 days, whichever comes first. Use tune2fs -c or -i to override. [root@giga root]# fsck -y -f /dev/sda1 fsck 1.35 (28-Feb-2004) e2fsck 1.35 (28-Feb-2004) Pass 1: Checking inodes, blocks, and sizes Pass 2: Checking directory structure Pass 3: Checking directory connectivity Pass 4: Checking reference counts Pass 5: Checking group summary information /dev/sda1: 11/263296 files (0.0% non-contiguous), 16481/526120 blocks [root@giga root]#
[root@giga root]# ls -l /mnt/Backup/link/*Fri* -rw-r--r-- 1 root root 2300928 Jun 16 03:00 /mnt/Backup/link/link-bin.Fri.tar.gz -rw-r--r-- 1 root root 356 Jun 16 03:00 /mnt/Backup/link/link-boot.Fri.tar.gz -rw-r--r-- 1 root root 191 Jun 16 03:35 /mnt/Backup/link/link-chkconfig--list.Fri.gz -rw-r--r-- 1 root root 71115 Jun 16 03:00 /mnt/Backup/link/link-dev.Fri.tar.gz -rw-r--r-- 1 root root 15636293 Jun 16 03:01 /mnt/Backup/link/link-etc.Fri.tar.gz -rw-r--r-- 1 root root 96004 Jun 16 03:03 /mnt/Backup/link/link-httpd.Fri.tar.gz -rw-r--r-- 1 root root 112 Jun 16 03:01 /mnt/Backup/link/link-initrd.Fri.tar.gz -rw-r--r-- 1 root root 6108553 Jun 16 03:03 /mnt/Backup/link/link-lib.Fri.tar.gz -rw-r--r-- 1 root root 15951 Jun 16 03:03 /mnt/Backup/link/link-root.Fri.tar.gz -rw-r--r-- 1 root root 1288 Jun 16 03:35 /mnt/Backup/link/link-rpm-qa.Fri.gz -rw-r--r-- 1 root root 1674302 Jun 16 03:03 /mnt/Backup/link/link-sbin.Fri.tar.gz -rw-r--r-- 1 root root 124582689 Jun 16 03:25 /mnt/Backup/link/link-usr.Fri.tar.gz -rw-r--r-- 1 root root 38365823 Jun 16 03:35 /mnt/Backup/link/link-var.Fri.tar.gz -rw-r--r-- 1 root root 259 Jun 16 03:35 /mnt/Backup/link/link-www.Fri.tar.gz -rw-r--r-- 1 root root 20769 Jun 16 03:03 /mnt/Backup/link/link-yamasita.Fri.tar.gz [root@giga root]# mkdir /tmp/sda1 [root@giga root]# mount /dev/sda1 /tmp/sda1/ [root@giga root]# cd !$ cd /tmp/sda1/ [root@giga sda1]# tar zxvf /mnt/Backup/link/link-bin.Fri.tar.gz : [root@giga sda1]# tar zxvf /mnt/Backup/link/link-boot.Fri.tar.gz : [root@giga sda1]# tar zxvf /mnt/Backup/link/link-dev.Fri.tar.gz : [root@giga sda1]# tar zxvf /mnt/Backup/link/link-etc.Fri.tar.gz : [root@giga sda1]# tar zxvf /mnt/Backup/link/link-httpd.Fri.tar.gz : [root@giga sda1]# tar zxvf /mnt/Backup/link/link-initrd.Fri.tar.gz : [root@giga sda1]# tar zxvf /mnt/Backup/link/link-lib.Fri.tar.gz : [root@giga sda1]# tar zxvf /mnt/Backup/link/link-root.Fri.tar.gz : [root@giga sda1]# tar zxvf /mnt/Backup/link/link-sbin.Fri.tar.gz : [root@giga sda1]# tar zxvf /mnt/Backup/link/link-usr.Fri.tar.gz : [root@giga sda1]# tar zxvf /mnt/Backup/link/link-var.Fri.tar.gz : [root@giga sda1]# tar zxvf /mnt/Backup/link/link-www.Fri.tar.gz : [root@giga sda1]# tar zxvf /mnt/Backup/link/link-yamasita.Fri.tar.gz : [root@giga sda1]# mkdir proc : [root@giga sda1]# mkdir mnt : [root@giga sda1]# cd [root@giga root]# umount /tmp/sda1 [root@giga root]#
Vine Linux 2.6 (La Fleur de Bouard) Kernel 2.4.17_mvl21-sandpoint on a ppc login: yasunari Password: bash-2.04$ hostname link bash-2.04$復活!
[root@link /root]# mkdir /tmp/sda3 [root@link /root]# mount /dev/sda3 /tmp/sda3/ [root@link /root]# cd /tmp/sda3/ [root@link sda3]# ls Backup Music Video cdrom floppy lost+found mediaserver pc-p1lan share [root@link sda3]# tar cf - Backup Music Video mediaserver share |(cd /mnt; tar xvf -) : : [root@link sda3]# cd [root@link /root]# umount /tmp/sda3/こんなところか。
少し様子を見る。
不良セクタだったところに書かれていたデータが壊れているはずなので、
きっと何か不振な挙動をするであろう。
← DriveReady SeekComplete DataRequest Error |
ハックの記録 LinkStation/玄箱 をハックしよう |
→ 4ポート USB ハブ |