2010/11/04 †やはり、rsync するとエラーが出る。 [145368.281691] EXT4-fs error (device sda3): htree_dirblock_to_tree: bad entry in directory #15349566: directory entry across blocks - block=61355403offset=0(0), inode=3633236108, rec_len=180364, name_len=142 [145368.281714] Aborting journal on device sda3-8. [145368.282176] EXT4-fs (sda3): Remounting filesystem read-only Ubuntu 10.04 CD-ROM で起動。 2010/07/14 †昨日、パーティションをフォーマットし、Ubuntu 10.04 をクリーンインストールしましたが、また、ファイルシステムエラーが発生しました。この HDD が不良品だったのでしょうか? [53416.432579] EXT4-fs error (device sda3): htree_dirblock_to_tree: bad entry in directory #15118558: directory entry across blocks - offset=0, inode=3633236108, rec_len=180364, name_len=142 [53416.432600] Aborting journal on device sda3-8. [53416.432891] EXT4-fs (sda3): Remounting filesystem read-only [54102.261098] EXT4-fs error (device sda3): htree_dirblock_to_tree: bad entry in directory #15118558: directory entry across blocks - offset=0, inode=3633236108, rec_len=180364, name_len=142 Ubuntu 10.04 CD-ROM で起動。 smartctl で HDD をテストしてみます。 $ sudo smartctl -t short /dev/sda smartctl version 5.38 [i686-pc-linux-gnu] Copyright (C) 2002-8 Bruce Allen Home page is http://smartmontools.sourceforge.net/ === START OF OFFLINE IMMEDIATE AND SELF-TEST SECTION === Sending command: "Execute SMART Short self-test routine immediately in off-line mode". Drive command "Execute SMART Short self-test routine immediately in off-line mode" successful. Testing has begun. Please wait 2 minutes for test to complete. Test will complete after Wed Jul 14 10:36:37 2010 Use smartctl -X to abort test. テスト結果を表示します。 $ sudo smartctl -l selftest /dev/sda smartctl version 5.38 [i686-pc-linux-gnu] Copyright (C) 2002-8 Bruce Allen Home page is http://smartmontools.sourceforge.net/ === START OF READ SMART DATA SECTION === SMART Self-test log structure revision number 1 Num Test_Description Status Remaining LifeTime(hours) LBA_of_first_error # 1 Short offline Completed without error 00% 167 - エラーはありません。longテストもしてみます。 $ sudo smartctl -t long /dev/sda smartctl version 5.38 [i686-pc-linux-gnu] Copyright (C) 2002-8 Bruce Allen Home page is http://smartmontools.sourceforge.net/ === START OF OFFLINE IMMEDIATE AND SELF-TEST SECTION === Sending command: "Execute SMART Extended self-test routine immediately in off-line mode". Drive command "Execute SMART Extended self-test routine immediately in off-line mode" successful. Testing has begun. Please wait 100 minutes for test to complete. Test will complete after Wed Jul 14 12:30:35 2010 Use smartctl -X to abort test. $ sudo smartctl -l selftest /dev/sda smartctl version 5.38 [i686-pc-linux-gnu] Copyright (C) 2002-8 Bruce Allen Home page is http://smartmontools.sourceforge.net/ === START OF READ SMART DATA SECTION === SMART Self-test log structure revision number 1 Num Test_Description Status Remaining LifeTime(hours) LBA_of_first_error # 1 Extended offline Completed without error 00% 172 - # 2 Short offline Completed without error 00% 167 - 2010/07/12 †[259928.914043] EXT3-fs error (device sda3): htree_dirblock_to_tree: bad entry in directory #2441961: rec_len % 4 != 0 - offset=0, inode=3633236108, rec_len=49294, name_len=142 [259928.914066] Aborting journal on device sda3. [259928.915021] Remounting filesystem read-only $ sudo fsck -rfv /dev/sda3 大量のファイルが lost+found へ行ってしまう。 2010/07/05 †[71881.244468] EXT3-fs error (device sda3): htree_dirblock_to_tree: bad entry in directory #1130786: rec_len % 4 != 0 - offset=0, inode=3633236108, rec_len=49294, name_len=142 [71881.244477] Aborting journal on device sda3. [71881.244732] Remounting filesystem read-only [71881.245176] EXT3-fs error (device sda3): htree_dirblock_to_tree: bad entry in directory #1130786: rec_len % 4 != 0 - offset=0, inode=3633236108, rec_len=49294, name_len=142 2010/06/28 HDD の交換 2 †2010/06/28 HDD障害 †EXT3-fs error (device sda3) 出て root ファイルシステム(/dev/sda3) が Read-only でされていまいました。 fsck でファイルシステムをチェックします。 $ sudo fsck -rfv /dev/sda3 途中でターミナルが死んでしまいました。 Clonezilla CD-ROM で起動し、fsck すると大量のファイルが lost+found へ行ってしまいました。 fsck 後、HDD から起動してみるとファイルがなく起動できません。
|