From 7d927986d02d8a2c5a4d1b4a52bcf05e3ca70ff8 Mon Sep 17 00:00:00 2001 From: Silvino Silva Date: Sun, 16 Oct 2016 23:41:10 +0100 Subject: tools storage and lvm revision --- tools/index.html | 28 +++++++++++++++------------- tools/lvm.html | 11 ----------- tools/storage.html | 23 +++++++++++++++++++++-- 3 files changed, 36 insertions(+), 26 deletions(-) diff --git a/tools/index.html b/tools/index.html index c6fbae7..1b63a92 100644 --- a/tools/index.html +++ b/tools/index.html @@ -78,15 +78,17 @@
  • Storage +
  • +
  • LVM +
  • Syslog-ng @@ -97,10 +99,10 @@
  • Syslog-ng configuration
  • Logrotate
  • Logwatch - +
  • diff --git a/tools/lvm.html b/tools/lvm.html index 8b1624a..898a8d3 100644 --- a/tools/lvm.html +++ b/tools/lvm.html @@ -127,17 +127,6 @@

    5. Maintenance

    -
    -        # smartctl -t long /dev/sdb1
    -        # smartctl -a /dev/sdb1 | less
    -        
    - -

    Non Destructive Test;

    - -
    -        # badblocks -nsv /dev/sdb1
    -        
    -

    7. Encryption

    Tools Index diff --git a/tools/storage.html b/tools/storage.html index 97b73b0..894873b 100644 --- a/tools/storage.html +++ b/tools/storage.html @@ -5,14 +5,33 @@ Storage - Tools Index

    Storage

    -

    1. Moving partitions

    +

    1. Maintenance

    + +

    SMART provides statistics of disk firmware, this system + handle errors has their occur. Badblocks detect bad blocks + by writing and reading from disk in a destructive test. + Example of how to view SMART statistics of a disk;

    + +
    +        # smartctl -t long /dev/sdb1
    +        # smartctl -a /dev/sdb1 | less
    +        
    + +

    Search for bad blocks using + non destructive test;

    + +
    +        # badblocks -nsv /dev/sdb1
    +        
    + +

    2. Moving data

    Reboot into single-user mode where services aren't started and networking is offline.

    +

             # init 1
             
    -- cgit 1.4.1-2-gfad0