<?xml version="1.0" encoding="utf8"?>
<rss version="2.0" xmlns:dc="http://purl.org/dc/elements/1.1/">
<channel>
<title>MyWackoSite - lvm</title>
<link>https://wiki.ebal.gr/lvm</link>
<description>History/revisions of MyWackoSite/lvm</description>
<lastBuildDate>Sat, 04 Apr 2026 10:23:11 +0000</lastBuildDate>
<image>
<title>MyWackoSite - Recent comments</title>
<link>https://wiki.ebal.gr/</link>
<url>https://wiki.ebal.gr/files/global/wacko_logo.png</url>
<width>108</width>
<height>50</height>
</image>
<language>en-us</language>
<docs>http://blogs.law.harvard.edu/tech/rss</docs>
<item>
<title>24.02.2018 14:16</title>
<link>https://wiki.ebal.gr/lvm/show?revision_id=-1</link>
<guid isPermaLink="true">https://wiki.ebal.gr/lvm</guid>
<description>&lt;div id="page">
&lt;div class="diffinfo">Comparison for &lt;a href="https://wiki.ebal.gr/lvm">lvm&lt;/a> of &lt;a href="https://wiki.ebal.gr/lvm?revision_id=19">24.02.2018 14:16&lt;/a> and &lt;a href="https://wiki.ebal.gr/lvm">24.02.2018 14:16&lt;/a>&lt;/div>&lt;br />
&lt;br />
No differences.&lt;/div></description>
<pubDate>Sat, 24 Feb 2018 14:16:30 +0000</pubDate>
</item>
<item>
<title>24.02.2018 14:16</title>
<link>https://wiki.ebal.gr/lvm/show?revision_id=19</link>
<guid isPermaLink="true">https://wiki.ebal.gr/lvm</guid>
<description>&lt;div id="page">
&lt;div class="diffinfo">Comparison for &lt;a href="https://wiki.ebal.gr/lvm">lvm&lt;/a> of &lt;a href="https://wiki.ebal.gr/lvm?revision_id=18">24.02.2018 14:13&lt;/a> and &lt;a href="https://wiki.ebal.gr/lvm?revision_id=19">24.02.2018 14:16&lt;/a>&lt;/div>&lt;br />
&lt;br />
&lt;b>Additions:&lt;/b>&lt;br />

&lt;div class="additions"># mount /opt/Breach &lt;br />
# df&amp;nbsp;-h /opt/Breach&lt;br />
Filesystem                    Size  Used Avail Use% Mounted on&lt;br />
/dev/mapper/vg_xps-lv_Breach  7.0G  7.0G   15M 100% /opt/Breach&lt;br />
meta-data=/dev/mapper/vg_xps-lv_Breach isize=512    agcount=6, agsize=327680 blks&lt;br />
&lt;div class="indent">&lt;div class="indent">&lt;div class="indent">&lt;div class="indent"> =                       sectsz=512   attr=2, projid32bit=1&lt;br />
 =                       crc=1        finobt=1 spinodes=0 rmapbt=0&lt;br />
 =                       reflink=0&lt;/div>&lt;/div>&lt;/div>&lt;/div>
data     =                       bsize=4096   blocks=1826816, imaxpct=25&lt;br />
&lt;div class="indent">&lt;div class="indent">&lt;div class="indent">&lt;div class="indent"> =                       sunit=0      swidth=0 blks&lt;/div>&lt;/div>&lt;/div>&lt;/div>
naming   =version 2              bsize=4096   ascii-ci=0 ftype=1&lt;br />
log&amp;nbsp;=internal               bsize=4096   blocks=2560, version=2&lt;br />
&lt;div class="indent">&lt;div class="indent">&lt;div class="indent">&lt;div class="indent"> =                       sectsz=512   sunit=0 blks, lazy-count=1&lt;/div>&lt;/div>&lt;/div>&lt;/div>
realtime =none                   extsz=4096   blocks=0, rtextents=0&lt;br />
data blocks changed from 1826816 to&amp;nbsp;7069696&lt;br />
# df&amp;nbsp;-h /opt/Breach&lt;br />
Filesystem                    Size  Used Avail Use% Mounted on&lt;br />
/dev/mapper/vg_xps-lv_Breach   27G  7.0G   20G  26% /opt/Breach&lt;/div>&lt;/div></description>
<pubDate>Sat, 24 Feb 2018 14:16:10 +0000</pubDate>
</item>
<item>
<title>24.02.2018 14:13</title>
<link>https://wiki.ebal.gr/lvm/show?revision_id=18</link>
<guid isPermaLink="true">https://wiki.ebal.gr/lvm</guid>
<description>&lt;div id="page">
&lt;div class="diffinfo">Comparison for &lt;a href="https://wiki.ebal.gr/lvm">lvm&lt;/a> of &lt;a href="https://wiki.ebal.gr/lvm?revision_id=17">24.02.2018 13:58&lt;/a> and &lt;a href="https://wiki.ebal.gr/lvm?revision_id=18">24.02.2018 14:13&lt;/a>&lt;/div>&lt;br />
&lt;br />
&lt;b>Additions:&lt;/b>&lt;br />

&lt;div class="additions">&lt;a name="h156-1">&lt;/a>&lt;h1> reduce &lt;/h1>
# df&amp;nbsp;-h /opt/&lt;br />
Filesystem                   Size  Used Avail Use% Mounted on&lt;br />
/dev/mapper/vg_xps-lv_optfs   69G   44G   23G  66% /opt&lt;br />
The&amp;nbsp;goal is&amp;nbsp;to reduce from 70G to&amp;nbsp;50G &lt;a name="h156-2">&lt;/a>&lt;h3> umount &lt;/h3>
# umount /opt/&lt;a name="h156-3">&lt;/a>&lt;h3> check filesystem &lt;/h3>
check a&amp;nbsp;Linux ext2/ext3/ext4 file system&lt;br />
# e2fsck -ff /dev/mapper/vg_xps-lv_optfs &lt;br />
e2fsck 1.43.9 (8-Feb-2018)&lt;br />
Pass 1: Checking inodes, blocks, and&amp;nbsp;sizes&lt;br />
Pass 2: Checking directory structure&lt;br />
Pass 3: Checking directory connectivity&lt;br />
Pass 4: Checking reference counts&lt;br />
Pass 5: Checking group summary information&lt;br />
optfs: 117811/4587520 files (0.4% non-contiguous), 11609065/18350080 blocks&lt;a name="h156-4">&lt;/a>&lt;h3> resize2fs filesystem &lt;/h3>
resize2fs &amp;ndash; ext2/ext3/ext4 file system resizer&lt;br />
# resize2fs /dev/mapper/vg_xps-lv_optfs 50G &lt;br />
resize2fs 1.43.9 (8-Feb-2018)&lt;br />
Resizing the&amp;nbsp;filesystem on&amp;nbsp;/dev/mapper/vg_xps-lv_optfs to&amp;nbsp;13107200 (4k) blocks.&lt;br />
The&amp;nbsp;filesystem on&amp;nbsp;/dev/mapper/vg_xps-lv_optfs is&amp;nbsp;now 13107200 (4k) blocks long.&lt;a name="h156-5">&lt;/a>&lt;h3> LVM&amp;nbsp;reduce &lt;/h3> 
# lvreduce -L -20G /dev/mapper/vg_xps-lv_optfs &lt;br />
&lt;div class="indent">WARNING: Reducing active logical volume to&amp;nbsp;50.00 GiB.&lt;br />
THIS MAY&amp;nbsp;DESTROY YOUR DATA (filesystem etc.)&lt;/div>
Do&amp;nbsp;you really want to&amp;nbsp;reduce vg_xps/lv_optfs? [y/n]: y&lt;br />
&lt;div class="indent">Size of&amp;nbsp;logical volume vg_xps/lv_optfs changed from 70.00 GiB&amp;nbsp;(17920 extents) to&amp;nbsp;50.00 GiB&amp;nbsp;(12800 extents).&lt;br />
Logical volume vg_xps/lv_optfs successfully resized.&lt;/div>&lt;a name="h156-6">&lt;/a>&lt;h3> verify &lt;/h3> 
# mount /opt/&lt;br />
# df&amp;nbsp;-h /opt/&lt;br />
Filesystem                   Size  Used Avail Use% Mounted on&lt;br />
/dev/mapper/vg_xps-lv_optfs   50G   44G  3.6G  93% /opt&lt;/div>&lt;/div></description>
<pubDate>Sat, 24 Feb 2018 14:13:28 +0000</pubDate>
</item>
<item>
<title>24.02.2018 13:58</title>
<link>https://wiki.ebal.gr/lvm/show?revision_id=17</link>
<guid isPermaLink="true">https://wiki.ebal.gr/lvm</guid>
<description>&lt;div id="page">
&lt;div class="diffinfo">Comparison for &lt;a href="https://wiki.ebal.gr/lvm">lvm&lt;/a> of &lt;a href="https://wiki.ebal.gr/lvm?revision_id=16">31.10.2013 09:24&lt;/a> and &lt;a href="https://wiki.ebal.gr/lvm?revision_id=17">24.02.2018 13:58&lt;/a>&lt;/div>&lt;br />
&lt;br />
&lt;b>Additions:&lt;/b>&lt;br />

&lt;div class="additions"># lvresize -l +100%FREE -n /dev/vg01/backup &lt;a name="h156-1">&lt;/a>&lt;h2> resize xfs&amp;nbsp;&lt;/h2>&lt;a name="h156-2">&lt;/a>&lt;h3> LVM&amp;nbsp;resize &lt;/h3>
%% &lt;br />
# lvresize -l +100%FREE -n /dev/vg_xps/lv_Breach&lt;br />
&lt;div class="indent">Size of&amp;nbsp;logical volume vg_xps/lv_Breach changed from 5.00 GiB&amp;nbsp;(1280 extents) to&amp;nbsp;&amp;lt;6.97 GiB&amp;nbsp;(1784 extents).&lt;br />
Logical volume vg_xps/lv_Breach successfully resized.&lt;/div>&lt;a name="h156-3">&lt;/a>&lt;h3> xfs&amp;nbsp;grow &lt;/h3> 
# xfs_growfs /opt/Breach&lt;/div>&lt;br />

&lt;b>Deletions:&lt;/b>&lt;br />

&lt;div class="deletions">lvresize -l +100%FREE -n /dev/vg01/backup&lt;/div>&lt;/div></description>
<pubDate>Sat, 24 Feb 2018 13:58:11 +0000</pubDate>
</item>
</channel>
</rss>
