This shows you the differences between two versions of the page.
Both sides previous revisionPrevious revisionNext revision | Previous revisionNext revisionBoth sides next revision | ||
linux:filesystem [2018/01/19 22:29] – [FILESYSTEM] tmade | linux:filesystem [2019/03/31 21:47] – tmade | ||
---|---|---|---|
Line 8: | Line 8: | ||
badblocks -s -o / | badblocks -s -o / | ||
+ | badblocks -n -v / | ||
fsck /dev/hda2 | fsck /dev/hda2 | ||
fsck.ext3 -a -CO /dev/sdx | fsck.ext3 -a -CO /dev/sdx | ||
Line 35: | Line 36: | ||
apt-get install smartmontools | apt-get install smartmontools | ||
smartctl -a / | smartctl -a / | ||
- | smartctl -A / | + | smartctl -A / |
+ | **Note: Check " | ||
smartctl -t long / | smartctl -t long / | ||
smartctl -t long / | smartctl -t long / | ||
Line 41: | Line 43: | ||
=== Useful Commands === | === Useful Commands === | ||
- | / | + | / |
- | e2label /dev/sdxx mylabel | + | e2label /dev/sdxx mylabel |