<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">Hi Bruce,<br>
<br>
Disclaimer: I never used vz containers, only VMs, but I think this
would work.<br>
<br>
On 23/09/13 22:41, Bruce B wrote:<br>
</div>
<blockquote
cite="mid:CAJyE_uW-qYb1spg6ibTRkHSjpDo51=2P4AxA+wiRc5Rg6reTfw@mail.gmail.com"
type="cite">
<div dir="ltr">Eneko,
<div><br>
</div>
<div>I have chosen to not extend the LVM but rather create
another one. So far, I deleted the partitions on /dev/sdb/ and
created two new partitions. I also did pvcreate and vgcreate.
I can see the second HDD now on Proxmox GUI under Storage >
Volume Group. But I am afraid to install it there as I have
not run "lvcreate" yet. <br>
</div>
</div>
</blockquote>
<br>
My suggestion is to create a new LV, format it to ext4 with -m 0
flag, and mount it somewhere (i.e. /srv/storage2)<br>
<br>
Then create a new "Directory" storage in Proxmox, you put any name,
just make sure to configure the directory where you have just
mounted the new LV. Also, remember to configure the mountpoint in
/etc/fstab so that it is automatically mounted on node reboot.<br>
<br>
Hope this helps.<br>
<br>
<blockquote
cite="mid:CAJyE_uW-qYb1spg6ibTRkHSjpDo51=2P4AxA+wiRc5Rg6reTfw@mail.gmail.com"
type="cite">
<div dir="ltr"><br>
<div>Also, I am not sure what to chose for ID, Base Storage,
Volume Group, Nodes, Enabled, Shared....when I add storage.</div>
<div><br>
</div>
<div>Can you please shed some light on above or refer to proper
wiki page?</div>
<div><br>
</div>
<div>Thanks,</div>
</div>
<div class="gmail_extra"><br>
<br>
<div class="gmail_quote">On Mon, Sep 23, 2013 at 11:03 AM, Eneko
Lacunza <span dir="ltr"><<a moz-do-not-send="true"
href="mailto:elacunza@binovo.es" target="_blank">elacunza@binovo.es</a>></span>
wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0
.8ex;border-left:1px #ccc solid;padding-left:1ex">
<div bgcolor="#FFFFFF" text="#000000">
<div>Hi Bruce,
<div class="im"><br>
<br>
On 23/09/13 16:26, Bruce B wrote:<br>
</div>
</div>
<div class="im">
<blockquote type="cite">
<div dir="ltr">
<div>Nice command! Gives the whole picture at once.</div>
<div><br>
</div>
<div><font color="#0000ff">root@prox1:~# pvs</font></div>
<div><font color="#0000ff"> PV VG Fmt
Attr PSize PFree </font></div>
<div><font color="#0000ff"> /dev/sda2 pve lvm2
a-- 931.01g 16.00g</font></div>
<div><font color="#0000ff"> /dev/sdb2 lvm2
a-- 931.01g 931.01g</font></div>
<div><font color="#0000ff"><br>
</font></div>
<div><font color="#000000">Does that ^^^ mean I have
1TB of free space which I can use? :) If so, how
should I go about adding it to Proxmox. I would
like to take the *Safest* and *Simplest* way
possible.</font></div>
<br>
</div>
</blockquote>
</div>
Yes, you have a not used disk. If you want to add it to
Proxmox VM storage, you should (first explore commands
with -h flag!!!): <br>
1. Add the PV to pve volumegroup (something like 'vgextend
pve /dev/sdb')<br>
2. Change size of LV for data in PVE, i.e. 'lvextend -L
+915G /dev/pve/data/'<br>
3. Resize filesystem, i.e. 'resize2fs /dev/pve/data/'<br>
<br>
You can do all commands without unmounting the filesystem
if you have used Proxmox defaults (ext3/ext4 filesystem)<br>
<br>
I don't know what are you using the server for, but
remember that you don't have data redundancy (raid1).<br>
<br>
Cheers<span class="HOEnZb"><font color="#888888"><br>
Eneko</font></span>
<div class="im"><br>
<br>
<br>
<pre cols="72">--
Zuzendari Teknikoa / Director Técnico
Binovo IT Human Project, S.L.
Telf. 943575997
943493611
Astigarraga bidea 2, planta 6 dcha., ofi. 3-2; 20180 Oiartzun (Gipuzkoa)
<a moz-do-not-send="true" href="http://www.binovo.es" target="_blank">www.binovo.es</a></pre>
</div>
</div>
</blockquote>
</div>
<br>
</div>
</blockquote>
<br>
<br>
<pre class="moz-signature" cols="72">--
Zuzendari Teknikoa / Director Técnico
Binovo IT Human Project, S.L.
Telf. 943575997
943493611
Astigarraga bidea 2, planta 6 dcha., ofi. 3-2; 20180 Oiartzun (Gipuzkoa)
<a class="moz-txt-link-abbreviated" href="http://www.binovo.es">www.binovo.es</a></pre>
</body>
</html>