1 |
Am Dienstag, 3. Januar 2012, 11:26:54 schrieb Lorenzo Bandieri: |
2 |
> > emerge smartmontools |
3 |
> > |
4 |
> > then when that is done, do this: |
5 |
> > |
6 |
> > smartctl -t long /dev/sd<drive letter here> |
7 |
> > |
8 |
> > When you do that, it should print a message that tells when the test will |
9 |
> > complete. It is usually a 24 hour format thing too. This can run while |
10 |
> > the drive is in use too. Sometime after that time, run this command: |
11 |
> > |
12 |
> > smartctl -l selftest /dev/sd<drive letter here> |
13 |
> > |
14 |
> > That should tell you the results of the test. If it says it passed, this |
15 |
> > is good. If it reports a problem, well it is not good. If you are |
16 |
> > lucky, it will be like a recent problem I had and reformatting will fix |
17 |
> > it. It was a weird problem but beats replacing a drive. |
18 |
> |
19 |
> I'm just wondering: can a tool like strace (or similar) be helpul in |
20 |
> diagnose the problem? |
21 |
> Maybe it could detect if konsole is trying to access a file that has |
22 |
> too strict permissions, couldn't it? Just wondering, I never really |
23 |
> used strace. |
24 |
> |
25 |
> Lorenzo |
26 |
|
27 |
a) we allready know where the problem hides - thanks to ~/.xession-errors your |
28 |
first stop when some X based app has problems. |
29 |
|
30 |
b) strace will drown you in output. |
31 |
|
32 |
c) in this case I have my doubts that the output would be helpfull at all |
33 |
(because I strace'd Konsole ;) ) |
34 |
w |
35 |
-- |
36 |
#163933 |