<html>
<head>
<meta content="text/html; charset=ISO-8859-1"
http-equiv="Content-Type">
</head>
<body bgcolor="#FFFFFF" text="#000000">
<div class="moz-cite-prefix">Dirk and Mark,<br>
<br>
Unfortunately I have no physical BO so I don't know the exact
volume names, check with lvdisplay and vgdisplay respectively.<br>
<br>
Given your new disk is /dev/sdb and the LVM volume you want to
grow is home from the LVM volume group VolGroup00, the procedure
would be about as follows:<br>
(Before you start, make sure you check all my instructions below
against the LVM Howto at
<a class="moz-txt-link-freetext" href="http://tldp.org/HOWTO/LVM-HOWTO/index.html">http://tldp.org/HOWTO/LVM-HOWTO/index.html</a>, I have typed this from
the top of my head and I take no responsibility if you nullify
your volumes by following these instructions!)<br>
<br>
1. Create a partition sdb1 on /dev/sdb with your favourite fdisk
tool, make it type LVM (8e).<br>
2. Prepare the disk for LVM with pvcreate /dev/sdb1<br>
3. Add it to the volume group you identified before with
vgdisplay/lvdisplay with: vgextend VolGroup00 /dev/sdb1<br>
4. Add some space to the logical volume now that it is available
to the volume group: lvextend -L+100G /dev/VolGroup00/home (or
whatever you identified as your volume for home with lvdisplay)<br>
IIRC, you can add all free space in the volume group to the
volume with something like:<br>
lvextend -l+100%FREE /dev/VolGroup00/home <br>
5. Resize filesystem (if extX, either unmounted or mounted, check
the recommendations for online resizing for your filesystem at
<a class="moz-txt-link-freetext" href="http://tldp.org/HOWTO/LVM-HOWTO/extendlv.html">http://tldp.org/HOWTO/LVM-HOWTO/extendlv.html</a>): resize2fs
/dev/VolGroup00/home <br>
<br>
After the last step a 'df -h' should show you your additional
space.<br>
<br>
Note: I have online resized a lot of busy ext3 volumes, however
the Howto recommends against it (or only against resizing ext2 fs
- this is unclear to me). If you can afford the down time, unmount
and ev. check the filesystem before resizing it.<br>
<br>
Hth,<br>
Christoph<br>
<br>
<br>
On 02/04/2013 08:20 AM, Dirk Estenfeld wrote:<br>
</div>
<blockquote
cite="mid:C6952BF2EFFA4648982F0C7847BFF9D920D4A7D4@bpa05.bpade.local"
type="cite">
<meta http-equiv="Content-Type" content="text/html;
charset=ISO-8859-1">
<meta name="Generator" content="Microsoft Word 14 (filtered
medium)">
<style><!--
/* Font Definitions */
@font-face
{font-family:Calibri;
panose-1:2 15 5 2 2 2 4 3 2 4;}
@font-face
{font-family:Tahoma;
panose-1:2 11 6 4 3 5 4 4 2 4;}
@font-face
{font-family:Consolas;
panose-1:2 11 6 9 2 2 4 3 2 4;}
/* Style Definitions */
p.MsoNormal, li.MsoNormal, div.MsoNormal
{margin:0cm;
margin-bottom:.0001pt;
font-size:12.0pt;
font-family:"Times New Roman","serif";
color:black;}
a:link, span.MsoHyperlink
{mso-style-priority:99;
color:blue;
text-decoration:underline;}
a:visited, span.MsoHyperlinkFollowed
{mso-style-priority:99;
color:purple;
text-decoration:underline;}
p
{mso-style-priority:99;
margin:0cm;
margin-bottom:.0001pt;
font-size:12.0pt;
font-family:"Times New Roman","serif";
color:black;}
pre
{mso-style-priority:99;
mso-style-link:"HTML Vorformatiert Zchn";
margin:0cm;
margin-bottom:.0001pt;
font-size:10.0pt;
font-family:"Courier New";
color:black;}
p.MsoAcetate, li.MsoAcetate, div.MsoAcetate
{mso-style-priority:99;
mso-style-link:"Sprechblasentext Zchn";
margin:0cm;
margin-bottom:.0001pt;
font-size:8.0pt;
font-family:"Tahoma","sans-serif";
color:black;}
span.HTMLVorformatiertZchn
{mso-style-name:"HTML Vorformatiert Zchn";
mso-style-priority:99;
mso-style-link:"HTML Vorformatiert";
font-family:Consolas;
color:black;}
span.E-MailFormatvorlage20
{mso-style-type:personal-reply;
font-family:"Calibri","sans-serif";
color:#1F497D;}
span.SprechblasentextZchn
{mso-style-name:"Sprechblasentext Zchn";
mso-style-priority:99;
mso-style-link:Sprechblasentext;
font-family:"Tahoma","sans-serif";
color:black;}
.MsoChpDefault
{mso-style-type:export-only;
font-size:10.0pt;}
@page WordSection1
{size:612.0pt 792.0pt;
margin:70.85pt 70.85pt 2.0cm 70.85pt;}
div.WordSection1
{page:WordSection1;}
--></style><!--[if gte mso 9]><xml>
<o:shapedefaults v:ext="edit" spidmax="1026" />
</xml><![endif]--><!--[if gte mso 9]><xml>
<o:shapelayout v:ext="edit">
<o:idmap v:ext="edit" data="1" />
</o:shapelayout></xml><![endif]-->
<div class="WordSection1">
<p class="MsoNormal"><span
style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D">Christoph,<o:p></o:p></span></p>
<p class="MsoNormal"><span
style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D"><o:p> </o:p></span></p>
<p class="MsoNormal"><span
style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D"
lang="EN-US">that sounds interesting because we are also
running several BO on vmware and will probably run into the
not enough space problem.<o:p></o:p></span></p>
<p class="MsoNormal"><span
style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D"
lang="EN-US">How can I add an additional virtual disk to
/dev/mapper/VolGroup00-home to increase space for
/dev/mapper/VolGroup00-home?<o:p></o:p></span></p>
<p class="MsoNormal"><span
style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D"
lang="EN-US"><o:p> </o:p></span></p>
<p class="MsoNormal"><span
style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D"
lang="EN-US">Regards,<o:p></o:p></span></p>
<p class="MsoNormal"><span
style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D"
lang="EN-US">Dirk<o:p></o:p></span></p>
<p class="MsoNormal"><span
style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D"
lang="EN-US"><o:p> </o:p></span></p>
<p class="MsoNormal"><span
style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D"
lang="EN-US"><o:p> </o:p></span></p>
<div>
<div style="border:none;border-top:solid #B5C4DF
1.0pt;padding:3.0pt 0cm 0cm 0cm">
<p class="MsoNormal"><b><span
style="font-size:10.0pt;font-family:"Tahoma","sans-serif";color:windowtext">Von:</span></b><span
style="font-size:10.0pt;font-family:"Tahoma","sans-serif";color:windowtext">
<a class="moz-txt-link-abbreviated" href="mailto:blueonyx-bounces@mail.blueonyx.it">blueonyx-bounces@mail.blueonyx.it</a>
[<a class="moz-txt-link-freetext" href="mailto:blueonyx-bounces@mail.blueonyx.it">mailto:blueonyx-bounces@mail.blueonyx.it</a>]
<b>Im Auftrag von </b>Christoph Schneeberger<br>
<b>Gesendet:</b> Sonntag, 3. Februar 2013 15:38<br>
<b>An:</b> <a class="moz-txt-link-abbreviated" href="mailto:blueonyx@mail.blueonyx.it">blueonyx@mail.blueonyx.it</a><br>
<b>Betreff:</b> [BlueOnyx:12142] Re: Increasing disk
space<o:p></o:p></span></p>
</div>
</div>
<p class="MsoNormal"><o:p> </o:p></p>
<div>
<p class="MsoNormal">Hi<br>
<br>
I'd recommend not increasing the existing disks size but
instead adding a second virtual one to the VM and then just
add it to the LVM volume group and then grow the volume -
both are doable while the system is online.
<br>
Growing the main disk may certainly be possible too, but you
need to boot from an emergency CD/system and first grow the
partition and then the filesystem and there is some room for
great havoc to happen with that while the approach with a
new disk is pretty fail-safe. <br>
<br>
Hth,<br>
Christoph<br>
<br>
On 02/03/2013 02:27 PM, Mark E. Levy wrote:<o:p></o:p></p>
</div>
<blockquote style="margin-top:5.0pt;margin-bottom:5.0pt">
<div>
<p class="MsoNormal" style="margin-bottom:12.0pt"><span
style="font-size:10.0pt;font-family:"Arial","sans-serif"">Hello,<br>
<br>
I need to increase the size of the disk my BO system
runs on. I'm running BO on VMware, so I can easily add
space to the hard drive in the VM. Please tell me that
getting BO to see the additional free space is a s easy
as rebooting... :-)<br>
<br>
If not, any reference points would be helpful.<br>
<br>
TIA,<br>
Mark<o:p></o:p></span></p>
</div>
<p class="MsoNormal"><br>
<br>
<br>
<o:p></o:p></p>
<pre>_______________________________________________<o:p></o:p></pre>
<pre>Blueonyx mailing list<o:p></o:p></pre>
<pre><a moz-do-not-send="true" href="mailto:Blueonyx@mail.blueonyx.it">Blueonyx@mail.blueonyx.it</a><o:p></o:p></pre>
<pre><a moz-do-not-send="true" href="http://mail.blueonyx.it/mailman/listinfo/blueonyx">http://mail.blueonyx.it/mailman/listinfo/blueonyx</a><o:p></o:p></pre>
</blockquote>
<p class="MsoNormal" style="margin-bottom:12.0pt"><o:p> </o:p></p>
</div>
<br>
<fieldset class="mimeAttachmentHeader"></fieldset>
<br>
<pre wrap="">_______________________________________________
Blueonyx mailing list
<a class="moz-txt-link-abbreviated" href="mailto:Blueonyx@mail.blueonyx.it">Blueonyx@mail.blueonyx.it</a>
<a class="moz-txt-link-freetext" href="http://mail.blueonyx.it/mailman/listinfo/blueonyx">http://mail.blueonyx.it/mailman/listinfo/blueonyx</a>
</pre>
</blockquote>
<br>
<br>
</body>
</html>