Testing HD with Smartctl & Finding the Filesystem
Hmmm. Something is wrong with SDA. Let's test it:
And look at the results:
The last 5 result log shows:
Error: UNC 8 sectors at LBA = 0x00384622 = 3687970
SMART Self-test log structure revision number 1
Num Test_Description Status Remaining LifeTime(hours) LBA_of_first_error
# 1 Short offline Completed: read failure 10% 44084 976766499
So we have to find the filesystem. Usually it would be:
I get:
Using:
((976766499- 208770) * 512) / 4096
We get:
122069716 LBA block.
But wait, the filesystem isn't on sda, it's on /dev/main/root. Here's how:
So we know files system is mounted at /dev/main/root and it is ext3 type.
We can find the BLOCK SIZE by:
I get:
We're still at 122069716 LBA block.
Or specifically 122069716.125 or the second of 8 sectors in this block.
We can test the block by:
In short, it looks like this:
==================================================================
sda1 sdb1
|
md1
sdb1 sdb2
|
md2
|
pv (md2)
|
vg (main)
/ \
lv (main/root) lv (main/swap)