about summary refs log tree commit diff stats
path: root/tools/storage.html
diff options
context:
space:
mode:
authorSilvino Silva <silvino@bk.ru>2018-03-12 14:47:48 +0000
committerSilvino Silva <silvino@bk.ru>2018-03-12 14:47:48 +0000
commit8a7c0b67f53e3d77158d472a577679796d2b957b (patch)
tree8427ead88283d895cd65a062aff7a26b19320a5e /tools/storage.html
parent77fe64b172a6d1847ec80b6fa34ac06816a4030d (diff)
downloaddoc-8a7c0b67f53e3d77158d472a577679796d2b957b.tar.gz
tools storage, qemu, lvm revision
Diffstat (limited to 'tools/storage.html')
-rw-r--r--tools/storage.html17
1 files changed, 14 insertions, 3 deletions
diff --git a/tools/storage.html b/tools/storage.html
index 109c6fa..2fc95d4 100644
--- a/tools/storage.html
+++ b/tools/storage.html
@@ -9,7 +9,7 @@
 
         <h1>Storage</h1>
 
-        <h2 id="maint">1. Maintenance</h2>
+        <h2 id="fsck">1. Maintenance</h2>
 
         <p>SMART provides statistics of disk firmware, this system
         handle errors has their occur. Badblocks detect bad blocks
@@ -30,14 +30,14 @@
 
         <h2 id="mv">2. Moving data</h2>
 
-        <p>Temp partition with 20M-50M;</dd>
+        <p>Temp partition with 20M-50M;</p>
 
         <pre>
         (parted) mkpart primary ext4 4000MiB 4050MiB
         </pre>
 
         <p>Ports partition with 120G allows to host sources, package
-        backups and ports;</dd>
+        backups and ports;</p>
 
         <pre>
         (parted) mkpart primary ext4 192000MiB 312000MiB
@@ -78,6 +78,17 @@
 
         <p>Reboot in normal mode.</p>
 
+        <h2 id="resize">2. Resize filesystem</h2>
+
+        <p>If partition is using lvm read
+        <a href="lvm.html#resize">lvm resize</a>, if you are using qemu
+        images read <a href="qemu.html#resize">resize images</a></p>
+
+        <pre>
+        # resize2fs /dev/sda3
+        # e2fsck /dev/sda3
+        </pre>
+
         <a href="index.html">Tools Index</a>
         <p>
         This is part of the c9-doc Manual.