<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom">
  <channel>
    <title>Linux on Ricky Moorhouse</title>
    <link>https://rickymoorhouse.uk/tags/linux/</link>
    <description>Recent content in Linux on Ricky Moorhouse</description>
    <generator>Hugo</generator>
    <language>en-gb</language>
    <lastBuildDate>Thu, 30 Apr 2009 15:08:34 +0000</lastBuildDate>
    <atom:link href="https://rickymoorhouse.uk/tags/linux/index.xml" rel="self" type="application/rss+xml" />
    <item>
      <title>Linux: Extend Filesystem</title>
      <link>https://rickymoorhouse.uk/blog/2009/linux-extend-filesystem/</link>
      <pubDate>Thu, 30 Apr 2009 15:08:34 +0000</pubDate>
      <guid>https://rickymoorhouse.uk/blog/2009/linux-extend-filesystem/</guid>
      <description>&lt;p&gt;&lt;code&gt;lvextend -L +2G /dev/basevg/var_lib_mysql&lt;/code&gt;&lt;/p&gt;&#xA;&lt;p&gt;Add 2GB to the logical volume var_lib_mysql in basevg&lt;/p&gt;&#xA;&lt;p&gt;&lt;code&gt;resize2fs /dev/basevg/var_lib_mysql&lt;/code&gt;&lt;/p&gt;&#xA;&lt;p&gt;Resize the filesystem /dev/basevg/var_lib_mysql&lt;/p&gt;&#xA;&lt;h4 id=&#34;other-useful-commands&#34;&gt;Other useful commands:&lt;/h4&gt;&#xA;&lt;p&gt;vgs&lt;/p&gt;&#xA;&lt;pre&gt;&lt;code&gt;list volume groups&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&lt;p&gt;lvs&lt;/p&gt;&#xA;&lt;pre&gt;&lt;code&gt;list logical volumes&#xA;&lt;/code&gt;&lt;/pre&gt;</description>
    </item>
    <item>
      <title>Linux: What is using up disk space?</title>
      <link>https://rickymoorhouse.uk/blog/2009/linux-what-is-using-up-disk-space/</link>
      <pubDate>Mon, 27 Apr 2009 12:50:43 +0000</pubDate>
      <guid>https://rickymoorhouse.uk/blog/2009/linux-what-is-using-up-disk-space/</guid>
      <description>&lt;p&gt;&lt;code&gt;du -m | sort -nr | head&lt;/code&gt;&lt;/p&gt;&#xA;&lt;p&gt;du -m&lt;/p&gt;&#xA;&lt;pre&gt;&lt;code&gt;summarises disk usage from current path recursively (in megabytes)&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&lt;p&gt;sort -nr&#xA;sorts the output numerically in reverse&lt;/p&gt;&#xA;&lt;p&gt;head&#xA;restricts output to the top 10 lines&lt;/p&gt;&#xA;&lt;p&gt;adapted from &lt;a href=&#34;http://linuxreviews.org/quicktips/chkdirsizes/&#34;&gt;Linux Reviews&lt;/a&gt;&lt;/p&gt;</description>
    </item>
    <item>
      <title>Extending a logical volume using reiserfs</title>
      <link>https://rickymoorhouse.uk/blog/2008/extending-a-logical-volume-using-reiserfs/</link>
      <pubDate>Thu, 24 Apr 2008 12:08:20 +0000</pubDate>
      <guid>https://rickymoorhouse.uk/blog/2008/extending-a-logical-volume-using-reiserfs/</guid>
      <description>&lt;p&gt;Just recording this so I can find it again!&lt;/p&gt;&#xA;&lt;p&gt;`&#xA;&lt;strong&gt;nandu:~ #&lt;/strong&gt; lvextend -L +2G &lt;em&gt;/dev/basevg/opt&lt;/em&gt;&lt;/p&gt;&#xA;&lt;pre&gt;&lt;code&gt;  Extending logical volume opt to 5.00 GB  &#xA;&#xA;  Logical volume opt successfully resized  &#xA;&#xA;&#xA;&#xA;**nandu:~ #** resize_reiserfs _/dev/basevg/opt_  &#xA;&#xA;&#xA;&#xA;resize_reiserfs 3.6.19 (2003 www.namesys.com)  &#xA;&#xA;resize_reiserfs: On-line resizing finished successfully.  &#xA;&#xA;&#xA;&#xA;**nandu:~ #**  &#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&lt;p&gt;`&lt;/p&gt;</description>
    </item>
  </channel>
</rss>
