[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[no subject]



--
registered linux user # 73046

Nathan J. Underwood
Cyber Tech Cafe' <><
<a  rel="nofollow" href="http://www.cybertechcafe.net";>http://www.cybertechcafe.net</a>

Michael Hirsch wrote:
&gt; This might be a good time to extend a general invitation to give a
&gt; presentation on LVM.  LVM is a tool that many casual users don't know
&gt; much about, but it should be in our bag of tricks.  So, if you use VLM,
&gt; please consider volunteering to present it to the rest of us.
&gt; 
&gt; ALE Central has no speaker for February, and later dates are available
&gt; too.  Email me to schedule your talk.
&gt; 
&gt; Thanks,
&gt; 
&gt; Michael
&gt; 
&gt; 
&gt;&gt;-----Original Message-----
&gt;&gt;From: ale-bounces at ale.org [<a  rel="nofollow" href="mailto:ale-bounces";>mailto:ale-bounces</a> at ale.org] On Behalf Of
&gt; 
&gt; Kent
&gt; 
&gt;&gt;Pirkle
&gt;&gt;Sent: Saturday, January 22, 2005 1:26 PM
&gt;&gt;To: Atlanta Linux Enthusiasts
&gt;&gt;Subject: Re: [ale] LVM - Can't add new drive?
&gt;&gt;
&gt;&gt;Once you've extended the logical volume, you need to extend the
&gt;&gt;filesystem as well, using either resize2fs or ext2online (to resize
&gt;&gt;without unmounting).b
&gt;&gt;
&gt;&gt;If you want to shrink a logical volume, always shrink the filesystem
&gt;&gt;first, then the lv.
&gt;&gt;
&gt;&gt;
&gt;&gt;On Sat, 22 Jan 2005 13:00:08 -0500, Nathan J. Underwood
&gt;&gt;&lt;ale1 at cybertechcafe.net&gt; wrote:
&gt;&gt;
&gt;&gt;&gt;I have an FC3 box with a single 30GB drive.  When I built the box, I
&gt;&gt;&gt;knew that I would need more than the 30GB for the /home partition,
&gt; 
&gt; but
&gt; 
&gt;&gt;&gt;didn't have a larger drive at the time (had one, but it was in use
&gt; 
&gt; in
&gt; 
&gt;&gt;&gt;the box that this box is replacing).  At any rate, I setup the /home
&gt;&gt;&gt;partition to be an lvm partition.  I'm now to the point of adding
&gt; 
&gt; the
&gt; 
&gt;&gt;&gt;new drive to the new machine, but I can't seem to get it to 'see'
&gt; 
&gt; that
&gt; 
&gt;&gt;&gt;new space.  I added the drive, and created (using fdisk) added one
&gt;&gt;&gt;single 160GB lvm (type 8e) partition.  I then used vgextend to add
&gt; 
&gt; that
&gt; 
&gt;&gt;&gt;drive to my volume group (VolGroup00, not creative, but that wasn't
&gt; 
&gt; the
&gt; 
&gt;&gt;&gt;idea).  Then, I did lvextend -L 100G /dev/VolGroup00/LogVol00, and
&gt; 
&gt; got
&gt; 
&gt;&gt;&gt;no errors.  lvdisplay shows that the LVSize is 150.00GB, but df -h
&gt; 
&gt; only
&gt; 
&gt;&gt;&gt;shows the following:
&gt;&gt;&gt;
&gt;&gt;&gt;[root at linux-fs2 home]# df -h
&gt;&gt;&gt;Filesystem            Size  Used Avail Use% Mounted on
&gt;&gt;&gt;/dev/hda1             9.7G  1.7G  7.5G  19% /
&gt;&gt;&gt;none                  252M     0  252M   0% /dev/shm
&gt;&gt;&gt;/dev/mapper/VolGroup00-LogVol00
&gt;&gt;&gt;                        18G  4.5G   13G  27% /home
&gt;&gt;&gt;
&gt;&gt;&gt;I'm on the howto from tldp
&gt;&gt;&gt;(<a  rel="nofollow" href="http://www.tldp.org/HOWTO/LVM-HOWTO/index.html";>http://www.tldp.org/HOWTO/LVM-HOWTO/index.html</a>) now trying to
&gt; 
&gt; figure
&gt; 
&gt;&gt;&gt;out what I've missed, but would appreciate any gentle nudges in the
&gt;&gt;&gt;right direction.
&gt;&gt;&gt;
&gt;&gt;&gt;nathan
&gt;&gt;&gt;
&gt;&gt;&gt;--
&gt;&gt;&gt;No virus found in this outgoing message.
&gt;&gt;&gt;Checked by AVG Anti-Virus.
&gt;&gt;&gt;Version: 7.0.300 / Virus Database: 265.7.2 - Release Date: 1/21/2005
&gt;&gt;&gt;
&gt;&gt;&gt;_______________________________________________
&gt;&gt;&gt;Ale mailing list
&gt;&gt;&gt;Ale at ale.org
&gt;&gt;&gt;<a  rel="nofollow" href="http://www.ale.org/mailman/listinfo/ale";>http://www.ale.org/mailman/listinfo/ale</a>
&gt;&gt;&gt;
&gt;&gt;
&gt;&gt;_______________________________________________
&gt;&gt;Ale mailing list
&gt;&gt;Ale at ale.org
&gt;&gt;<a  rel="nofollow" href="http://www.ale.org/mailman/listinfo/ale";>http://www.ale.org/mailman/listinfo/ale</a>
&gt; 
&gt; 
&gt; 
&gt; _______________________________________________
&gt; Ale mailing list
&gt; Ale at ale.org
&gt; <a  rel="nofollow" href="http://www.ale.org/mailman/listinfo/ale";>http://www.ale.org/mailman/listinfo/ale</a>


</pre>
<!--X-Body-of-Message-End-->
<!--X-MsgBody-End-->
<!--X-Follow-Ups-->
<hr>
<!--X-Follow-Ups-End-->
<!--X-References-->
<ul><li><strong>References</strong>:
<ul>
<li><strong><a name="00933" href="msg00933.html">[ale] Seeking LVM presentation [ was: LVM - Can't add new drive?]</a></strong>
<ul><li><em>From:</em> mhirsch at nubridges.com (Michael Hirsch)</li></ul></li>
</ul></li></ul>
<!--X-References-End-->
<!--X-BotPNI-->
<ul>
<li>Prev by Date:
<strong><a href="msg00935.html">[ale] screencam</a></strong>
</li>
<li>Next by Date:
<strong><a href="msg00937.html">[ale] Seeking LVM presentation [ was: LVM - Can't add new drive?]</a></strong>
</li>
<li>Previous by thread:
<strong><a href="msg00933.html">[ale] Seeking LVM presentation [ was: LVM - Can't add new drive?]</a></strong>
</li>
<li>Next by thread:
<strong><a href="msg00937.html">[ale] Seeking LVM presentation [ was: LVM - Can't add new drive?]</a></strong>
</li>
<li>Index(es):
<ul>
<li><a href="maillist.html#00936"><strong>Date</strong></a></li>
<li><a href="threads.html#00936"><strong>Thread</strong></a></li>
</ul>
</li>
</ul>

<!--X-BotPNI-End-->
<!--X-User-Footer-->
<!--X-User-Footer-End-->
</body>
</html>