All of lore.kernel.org
 help / color / mirror / Atom feed
* [linux-lvm] One VG or many?
@ 2002-06-04 16:07 Poul Petersen
  2002-06-05  3:09 ` Stephan Austermuehle
  0 siblings, 1 reply; 6+ messages in thread
From: Poul Petersen @ 2002-06-04 16:07 UTC (permalink / raw)
  To: 'linux-lvm@sistina.com'

	We have about 2TB to slice up and using a single VG seems to provide
the most flexibility for usage of the space. However, using one VG seems
reminiscient of having "all your eggs in one basket" in that if the VG
becomes corrupt, all of the LVs are at risk. So, are there any situations in
which using multiple VGs would be preferable to a single VG, or vice versa?
I'm curious to find out if other people use multiple VGs and, if so, what
requirements or concerns lead to the decision and what criterion are used to
assign data to a specific VG.

Thanks,

-poul

^ permalink raw reply	[flat|nested] 6+ messages in thread
* RE: [linux-lvm] One VG or many?
@ 2002-06-05 14:37 Poul Petersen
  2002-06-05 16:14 ` Goetz Bock
  2002-06-06  2:52 ` Stephan Austermuehle
  0 siblings, 2 replies; 6+ messages in thread
From: Poul Petersen @ 2002-06-05 14:37 UTC (permalink / raw)
  To: 'linux-lvm@sistina.com'

> First, I would separate system (= containing the OS) and data area.
> Second, if you do not intend to stripe data across LVs I would create
> one VG for every logical business/application unit and assign disk
> space on demand. That means that you leave most disks in a pool and
> if you need more space in one VG you'll add the disk online with
> vgextend. Why not start with one disks per VG?
> 

	I see how adding disks from a pool would work very well. The problem
with our arrangement is that we would like to combine disks into RAID 5 sets
and then use these RAID sets as the PVs. The optimal size of each RAID set
(optimal in terms of disk usage, controller redundancy, channel redundancy,
and enclosure fault-tolerance) is about 215GB; so we would have 8 PVs
available to use in VGs. This size seems insufficiently granular to use as a
"expansion unit" to each VG. In fact, even if we used the individual disks
in the array, they seem too large at 73GB. This is why we were thinking
about partitioning the RAID sets so they would appear to the host as smaller
disks which could be added to VGs (The disks, RAID sets and even partitions
are all externally managed on a Zzyzx RocketStor 2000).

	Let me ask a slightly different question - what is the advantage to
creating a VG for every logical business/application unit? Or perhaps, why
would I not want to use a single VG? Is it a good idea just in terms of
failure in one VG not wiping out everything? It would seem that a reasonable
analogy would be that one VG is like one disk with partitions (LVs) for each
business unit, whereas multiple VGs would be more like multiple disks. Both
seem to have sufficient ideological separation?

Thanks for you help,


-poul

^ permalink raw reply	[flat|nested] 6+ messages in thread

end of thread, other threads:[~2002-06-06  2:52 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2002-06-04 16:07 [linux-lvm] One VG or many? Poul Petersen
2002-06-05  3:09 ` Stephan Austermuehle
  -- strict thread matches above, loose matches on Subject: below --
2002-06-05 14:37 Poul Petersen
2002-06-05 16:14 ` Goetz Bock
2002-06-05 16:18   ` Goetz Bock
2002-06-06  2:52 ` Stephan Austermuehle

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.