<![CDATA[Latest posts for the topic "Ổ cứng bị "Bad magic number in super-block"?"]]> /hvaonline/posts/list/24.html JForum - http://www.jforum.net Ổ cứng bị &quot;Bad magic number in super-block&quot;? Code:
smartd[7559]: Device: /dev/sda, 1 Currently unreadable (pending) sectors
Theo hướng dẫn này: http://smartmontools.sourceforge.net/badblockhowto.html, mình đã kiểm tra một số cái: Code:
# smartctl -l selftest /dev/sda
smartctl version 5.38 [x86_64-redhat-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: read failure       90%     14355         1746902810
Code:
ID# ATTRIBUTE_NAME          FLAG     VALUE WORST THRESH TYPE      UPDATED  WHEN_FAILED RAW_VALUE
  1 Raw_Read_Error_Rate     0x002f   200   200   051    Pre-fail  Always       -       1
  3 Spin_Up_Time            0x0027   228   228   021    Pre-fail  Always       -       8566
  4 Start_Stop_Count        0x0032   100   100   000    Old_age   Always       -       14
  5 Reallocated_Sector_Ct   0x0033   200   200   140    Pre-fail  Always       -       0
  7 Seek_Error_Rate         0x002e   200   200   000    Old_age   Always       -       0
  9 Power_On_Hours          0x0032   081   081   000    Old_age   Always       -       14374
 10 Spin_Retry_Count        0x0032   100   253   000    Old_age   Always       -       0
 11 Calibration_Retry_Count 0x0032   100   253   000    Old_age   Always       -       0
 12 Power_Cycle_Count       0x0032   100   100   000    Old_age   Always       -       12
192 Power-Off_Retract_Count 0x0032   200   200   000    Old_age   Always       -       5
193 Load_Cycle_Count        0x0032   200   200   000    Old_age   Always       -       14
194 Temperature_Celsius     0x0022   119   103   000    Old_age   Always       -       31
196 Reallocated_Event_Count 0x0032   200   200   000    Old_age   Always       -       0
197 Current_Pending_Sector  0x0032   200   200   000    Old_age   Always       -       1
198 Offline_Uncorrectable   0x0030   100   253   000    Old_age   Offline      -       0
199 UDMA_CRC_Error_Count    0x0032   200   200   000    Old_age   Always       -       0
200 Multi_Zone_Error_Rate   0x0008   100   253   000    Old_age   Offline      -       0
Mọi người để ý ở ID #197 có 1 cái Current_Pending_Sector. Thử tiếp với các bước ở dưới: Code:
# debugfs
debugfs 1.39 (29-May-2006)
debugfs:  open /dev/sda2
/dev/sda2: Bad magic number in super-block while opening filesystem
debugfs:
Xem thử có cái super-block nào ở chỗ khác để thay thế không: Code:
# dumpe2fs /dev/sda2 | grep -i superblock
dumpe2fs 1.39 (29-May-2006)
dumpe2fs: Bad magic number in super-block while trying to open /dev/sda2
Couldn't find valid filesystem superblock.
Thử đoán super-block ở một số vị trí khác, nhưng không ăn thua: Code:
# debugfs
debugfs 1.39 (29-May-2006)
debugfs:  open -b 4096 -s 32768 -c /dev/sda2                                            
/dev/sda2: Bad magic number in super-block while opening filesystem
debugfs:  open -b 4096 -s 98304 -c /dev/sda2
/dev/sda2: Bad magic number in super-block while opening filesystem
debugfs:  open -b 4096 -s 163840 -c /dev/sda2
/dev/sda2: Bad magic number in super-block while opening filesystem
debugfs:
Bạn nào có kinh nghiệm vụ này giúp mình với. Cảm ơn mọi người.]]>
/hvaonline/posts/list/37230.html#229003 /hvaonline/posts/list/37230.html#229003 GMT
Ổ cứng bị "Bad magic number in super-block"? /hvaonline/posts/list/37230.html#229050 /hvaonline/posts/list/37230.html#229050 GMT Ổ cứng bị "Bad magic number in super-block"? /hvaonline/posts/list/37230.html#235460 /hvaonline/posts/list/37230.html#235460 GMT