diff options
-rw-r--r-- | tools/index.html | 28 | ||||
-rw-r--r-- | tools/lvm.html | 11 | ||||
-rw-r--r-- | 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 @@ </li> <li><a href="storage.html">Storage</a> <ul> - <li><a href="lvm.html">LVM</a> - <ul> - <li><a href="lvm.html#lvmpart">1. LVM partition</a></li> - <li><a href="lvm.html#pv">2. Create physical volume</a></li> - <li><a href="lvm.html#vg">3. Create volume group</a></li> - <li><a href="lvm.html#lv">4. Create logical volume</a></li> - <li><a href="lvm.html#maint">5. Maintenance</a></li> - </ul> - </li> + <li><a href="storage.html#maint">1. Maintenance</a></li> + <li><a href="storage.html#mv">2. Moving data</a></li> + </ul> + </li> + <li><a href="lvm.html">LVM</a> + <ul> + <li><a href="lvm.html#lvmpart">1. LVM partition</a></li> + <li><a href="lvm.html#pv">2. Create physical volume</a></li> + <li><a href="lvm.html#vg">3. Create volume group</a></li> + <li><a href="lvm.html#lv">4. Create logical volume</a></li> + <li><a href="lvm.html#maint">5. Maintenance</a></li> </ul> </li> <li><a href="syslog-ng.html">Syslog-ng</a> @@ -97,10 +99,10 @@ <li><a href="syslog-ng.html#syslog-conf">Syslog-ng configuration</a></li> <li><a href="logrotate.html">Logrotate</a></li> <li><a href="logwatch.html">Logwatch</a> - <ul> - <li><a href="logwatch.html#conf">Configure Logwatch</a></li> - <li><a href="logwatch.html#cron">Set cron task</a></li> - </ul> + <ul> + <li><a href="logwatch.html#conf">Configure Logwatch</a></li> + <li><a href="logwatch.html#cron">Set cron task</a></li> + </ul> </li> </ul> 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 @@ <h2 id="maint">5. Maintenance</h2> - <pre> - # smartctl -t long /dev/sdb1 - # smartctl -a /dev/sdb1 | less - </pre> - - <p><a href="https://wiki.archlinux.org/index.php/Badblocks">Non Destructive Test;</a></p> - - <pre> - # badblocks -nsv /dev/sdb1 - </pre> - <h2 id="encrypt">7. Encryption</h2> <a href="index.html">Tools Index</a> 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 @@ <title>Storage</title> </head> <body> - <a href="index.html">Tools Index</a> <h1>Storage</h1> - <h2 id="mv">1. Moving partitions</h2> + <h2 id="maint">1. Maintenance</h2> + + <p>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;</p> + + <pre> + # smartctl -t long /dev/sdb1 + # smartctl -a /dev/sdb1 | less + </pre> + + <p>Search for bad blocks using + <a href="https://wiki.archlinux.org/index.php/Badblocks">non destructive test;</a></p> + + <pre> + # badblocks -nsv /dev/sdb1 + </pre> + + <h2 id="mv">2. Moving data</h2> <p>Reboot into single-user mode where services aren't started and networking is offline.<p> + <pre> # init 1 </pre> |