Well, finally my english results a barrier for explain myself (lol).<br><br>Anyway, now I have another point of view, so thank you all very much for your assistance!!!<br><br><div class="gmail_quote">2009/10/30 Ray Morris <span dir="ltr"><<a href="mailto:support@bettercgi.com">support@bettercgi.com</a>></span><br>
<blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">   With your way, you can add a new 2GB disk and use<br>
half of it for /home, half for /opt, if you wish.<br>
You can also leave some of it unused and expand<br>
any LV in the future as needed.  That's one important<br>
reason why most people use voluem groups as groups -<br>
contianing several volumes.  Does your colleague know<br>
of ANY advantage to creating a bunch of different<br>
groups?   If not, your way wins - it has advantages<br>
over his way, and his way has no advantage.<div class="im"><br>
<br>
<blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
we have to discard different kinds of hard disk<br>
because they're exactly the same<br>
</blockquote>
<br></div>
  I have no idea what this is supposed to mean.<br>
Different kinds of hard disk are exactly the same?<br>
If this is supposed to mean "we are not able to<br>
use different types of drives for different<br>
partitions", I can understand that.  However,<br>
for what purpose would you use different types<br>
of disks?  Perhaps he wants a fast disk for one<br>
partition, and a large, cheap disk for another<br>
partition?  If you use two cheap disks in a<br>
striped LV it's going to be faster AND cheaper<br>
than the "fast drive" option.  MAYBE if you were<br>
going to use a super fast RAID array of SSD drives<br>
for some small amount of data, but not if we're<br>
talking standard magnetic hard drives.<div class="im"><br>
<br>
<br>
<blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
a lot of servers running under VMware. This client<br>
have a lot of problems with the storage, because they<br>
never have enough space so when they have to allocate<br>
disk in servers, they add small virtual hard disks<br>
with, for example, 5 or 10GB.<br>
</blockquote>
<br></div>
lvextend.  Ours resize automatically on the fly, using<br>
a cron job that checks to see if any virtual servers<br>
need more space.<div class="im"><br>
<br>
<blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
discarding concept things like a volume group was designed<br>
to be a group, because we're looking for good reasons<br>
</blockquote>
<br></div>
  "Concept reasons", like using the tool designed for the<br>
job, may be the very best reasons because that one reason<br>
actually covers the hundred reasons that don't come to mind<br>
immediately.  You don't know what issues you'll run into<br>
next week or next month, but you can bet you won't be the<br>
first one - other people will have had the same issues,<br>
and will use the standard tools for the standard purposes<br>
to solve that problem.  Better for you if you can use<br>
the same solutions.  Also, there are certain features<br>
and optimizations you don't know about, but you'll gain<br>
from those grouping features if you use groups as groups.<br>
No one knows about the features and optimizations that<br>
will be added next year, but if you use the tools the<br>
way they were designed you'll benefit from future<br>
enhancements that allow you to better use them for their<br>
purposes.<br>
--<div class="im"><br>
Ray Morris<br>
<a href="mailto:support@bettercgi.com" target="_blank">support@bettercgi.com</a><br>
<br></div>
Strongbox - The next generation in site security:<br>
<a href="http://www.bettercgi.com/strongbox/" target="_blank">http://www.bettercgi.com/strongbox/</a><br>
<br>
Throttlebox - Intelligent Bandwidth Control<br>
<a href="http://www.bettercgi.com/throttlebox/" target="_blank">http://www.bettercgi.com/throttlebox/</a><br>
<br>
Strongbox / Throttlebox affiliate program:<br>
<a href="http://www.bettercgi.com/affiliates/user/register.php" target="_blank">http://www.bettercgi.com/affiliates/user/register.php</a><div><div></div><div class="h5"><br>
<br>
<br>
On 10/30/2009 03:52:43 AM, Abraham Pérez wrote:<br>
<blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
Thanks for the instant answers!<br>
<br>
Well... I'll try to explain myself better. I'm working in a client who have<br>
a lot of servers running under VMware. This client have a lot of problems<br>
with the storage, because they never have enough space so when they have to<br>
allocate disk in servers, they add small virtual hard disks with, for<br>
example, 5 or 10GB.<br>
<br>
Then for the OS installation, we follow the basic schema based on disk<br>
partitions (/dev/sda1 pointing to / with ext3, /dev/sda2 pointing to /home<br>
and so on) and for the applications data, we use VG and LV pointing to /opt<br>
<br>
The client have some applications who need a lot of mountpoints, so my<br>
colleague adds 1-3 LV per VG (aproximated) and I only create only one VG and<br>
inside it, different LVs.  With this infrastructure, we have to discard<br>
different kinds of hard disk because they're exactly the same... and we have<br>
that doubt: what schema is better and why, discarding concept things like a<br>
volume group was designed to be a group, because we're looking for good<br>
reasons based in performance of future actions, it's not important... or am<br>
I mistaken???<br>
<br>
I don't know if I explained myself very well, so thanks all anyway!<br>
<br>
Regards,<br>
Abraham Pérez<br>
<br>
2009/10/30 <<a href="mailto:malahal@us.ibm.com" target="_blank">malahal@us.ibm.com</a>><br>
<br>
> Ray Morris [<a href="mailto:support@bettercgi.com" target="_blank">support@bettercgi.com</a>] wrote:<br>
> >     I don't know about a whitepaper, but I can address<br>
> > your example.<br>
> ><br>
> > > he makes one volume group for each logical volume (more or less)<br>
> ><br>
> >     If each one has one volume, that's not exactly a volume<br>
> > GROUP, is it?  If groups and volumes are basically synomous,<br>
> > he gives up all the benfits of groups.  In fact, he gives<br>
> > up most of the benefits of logical volumes, since each PV<br>
> > has to be in one group, and each VG is one LV, you're left<br>
> > with one LV per PV - might as well just use partitions<br>
> > directly.<br>
><br>
> I agree, you lose some flexibility but it has some advantage compared to<br>
> plain partitions without LVM. E.g. he can make a file system larger than<br>
> any disk with multiple disks in the above LVM (one LV per VG)<br>
> configuration.  There are other advantages. I am not sure the reason for<br>
> making only one LV per VG though!<br>
><br>
> Thanks, Malahal.<br>
><br>
> _______________________________________________<br>
> linux-lvm mailing list<br>
> <a href="mailto:linux-lvm@redhat.com" target="_blank">linux-lvm@redhat.com</a><br>
> <a href="https://www.redhat.com/mailman/listinfo/linux-lvm" target="_blank">https://www.redhat.com/mailman/listinfo/linux-lvm</a><br>
> read the LVM HOW-TO at <a href="http://tldp.org/HOWTO/LVM-HOWTO/" target="_blank">http://tldp.org/HOWTO/LVM-HOWTO/</a><br>
><br>
<br>
</blockquote>
<br></div></div>
------quoted attachment------<div><div></div><div class="h5"><br>
<blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
_______________________________________________<br>
linux-lvm mailing list<br>
<a href="mailto:linux-lvm@redhat.com" target="_blank">linux-lvm@redhat.com</a><br>
<a href="https://www.redhat.com/mailman/listinfo/linux-lvm" target="_blank">https://www.redhat.com/mailman/listinfo/linux-lvm</a><br>
read the LVM HOW-TO at <a href="http://tldp.org/HOWTO/LVM-HOWTO/" target="_blank">http://tldp.org/HOWTO/LVM-HOWTO/</a><br>
</blockquote>
<br>
<br>
_______________________________________________<br>
linux-lvm mailing list<br>
<a href="mailto:linux-lvm@redhat.com" target="_blank">linux-lvm@redhat.com</a><br>
<a href="https://www.redhat.com/mailman/listinfo/linux-lvm" target="_blank">https://www.redhat.com/mailman/listinfo/linux-lvm</a><br>
read the LVM HOW-TO at <a href="http://tldp.org/HOWTO/LVM-HOWTO/" target="_blank">http://tldp.org/HOWTO/LVM-HOWTO/</a><br>
</div></div></blockquote></div><br>