[prev in list] [next in list] [prev in thread] [next in thread]
List: smartmontools-support
Subject: [smartmontools-support] Is sector number same in "smartctl -l
From: "Oisin Feeley" <oisin.feeley () gmail ! com>
Date: 2007-01-14 18:49:24
Message-ID: e5f157b0701141049y57848a6bk29f5f1018cc30ce () mail ! gmail ! com
[Download RAW message or body]
Background:
/sbin/fdisk -lu /dev/sdb
Disk /dev/sdb: 160.0 GB, 160041885696 bytes
255 heads, 63 sectors/track, 19457 cylinders, total 312581808 sectors
Units = sectors of 1 * 512 = 512 bytes
Device Boot Start End Blocks Id System
/dev/sdb1 * 63 208844 104391 83 Linux
/dev/sdb2 208845 4289354 2040255 82 Linux swap
/dev/sdb3 4289355 312576704 154143675 83 Linux
/sbin/tune2fs -l /dev/sdb3 | grep "Block size"
Block size: 4096
L = failing LBA sector = 6363055
S = start LBA sector = 4289355
B = block size = 4096
b = (int)(L-S) * 512/B = 259212.5
/var/log/messages
smartd[2921]: Device: /dev/sdb, 1 Currently unreadable (pending) sectors
"smartctl -a -d ata /dev/sdb"
SMART Attributes Data Structure revision number: 16
Vendor Specific SMART Attributes with Thresholds:
ID# ATTRIBUTE_NAME FLAG VALUE WORST THRESH TYPE
UPDATED WHEN _FAILED RAW_VALUE
[snip]
197 Current_Pending_Sector 0x0012 100 100 000 Old_age
Always - 1
[snip]
Error 15 occurred at disk power-on lifetime: 4209 hours (175 days + 9 hours)
When the command that caused the error occurred, the device was
active or idl e.
After command completion occurred, registers were:
ER ST SC SN CL CH DH
-- -- -- -- -- -- --
40 51 04 af 17 61 e0 Error: UNC 4 sectors at LBA = 0x006117af = 6363055
[above repeated multiple times, no other failures reported]
[snip]
Num Test_Description Status Remaining
LifeTime(hours) LB A_of_first_error
# 1 Short offline Completed: read failure 90% 4210 -
# 2 Extended offline Interrupted (host reset) 30% 1 -
Now, my question is, given that the LBA_of_first_error is missing due
to the interruption of the long selftest, can I just assume that it's
6363055 as reported above by the other parts of the log?
If I do assume that and then go ahead with the procedure described in
the badblocks-HOWTO then I get the following apparent problem:
# /sbin/debugfs
debugfs 1.35 (28-Feb-2004)
debugfs: open /dev/sdb3
debugfs: icheck 259212
Block Inode number
259212 <block not found>
Any advice regarding what to do from here is gratefully received.
O.
-------------------------------------------------------------------------
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys - and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
_______________________________________________
Smartmontools-support mailing list
Smartmontools-support@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/smartmontools-support
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic