* [linux-lvm] Are there problems with same VG on same hard disk?
@ 2003-04-09 6:27 Kai Weber
2003-04-09 6:33 ` Anders Widman
2003-04-09 6:39 ` Joe Thornber
0 siblings, 2 replies; 5+ messages in thread
From: Kai Weber @ 2003-04-09 6:27 UTC (permalink / raw)
To: linux-lvm
Hi,
Question: Is it good to have /dev/hdb1 /dev/hdb2 into the same Volume
Group? I think I have read that VGs of the same group should not be on
the same hard disk. Is this correct or a legend?
Kai
^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: [linux-lvm] Are there problems with same VG on same hard disk?
2003-04-09 6:27 [linux-lvm] Are there problems with same VG on same hard disk? Kai Weber
@ 2003-04-09 6:33 ` Anders Widman
2003-04-09 7:36 ` Kai Weber
2003-04-09 6:39 ` Joe Thornber
1 sibling, 1 reply; 5+ messages in thread
From: Anders Widman @ 2003-04-09 6:33 UTC (permalink / raw)
To: linux-lvm
> Hi,
> Question: Is it good to have /dev/hdb1 /dev/hdb2 into the same Volume
> Group? I think I have read that VGs of the same group should not be on
> the same hard disk. Is this correct or a legend?
Why would you want to do that? One of the major benefits with LVM is
that you do not have to divide your physical disks into partitions,
but to do that through LVM. Also, performance-wise it is not a good
idea to do what you suggested.
//Anders
--------
PGP public key: https://tnonline.net/secure/pgp_key.txt
^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: [linux-lvm] Are there problems with same VG on same hard disk?
2003-04-09 6:27 [linux-lvm] Are there problems with same VG on same hard disk? Kai Weber
2003-04-09 6:33 ` Anders Widman
@ 2003-04-09 6:39 ` Joe Thornber
1 sibling, 0 replies; 5+ messages in thread
From: Joe Thornber @ 2003-04-09 6:39 UTC (permalink / raw)
To: linux-lvm
On Wed, Apr 09, 2003 at 01:27:39PM +0200, Kai Weber wrote:
> Hi,
>
> Question: Is it good to have /dev/hdb1 /dev/hdb2 into the same Volume
> Group? I think I have read that VGs of the same group should not be on
> the same hard disk. Is this correct or a legend?
This is fine. There are a couple of situations that you will have to
look out for when setting up LVs though:
1) Don't create a striped LV with the stripes on the same physical device.
2) Try not to create a snapshot on the same physical device as the origin.
Point 2 you can get away with, snapshot performance will just be poor.
- Joe
^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: [linux-lvm] Are there problems with same VG on same hard disk?
2003-04-09 6:33 ` Anders Widman
@ 2003-04-09 7:36 ` Kai Weber
2003-04-09 7:42 ` Patrick Caulfield
0 siblings, 1 reply; 5+ messages in thread
From: Kai Weber @ 2003-04-09 7:36 UTC (permalink / raw)
To: linux-lvm
On Wed, Apr 09, 2003 at 01:32:43PM +0200, Anders Widman wrote:
> Why would you want to do that? One of the major benefits with LVM is
> that you do not have to divide your physical disks into partitions,
> but to do that through LVM. Also, performance-wise it is not a good
> idea to do what you suggested.
I have removed Windows from a partition. So it is now empty and could be
used an included in the VG. If it's possible to resize the partitions...
/dev/hda7 1923 2520 4803403+ 8e Linux LVM
/dev/hda8 2521 3198 5446003+ 8e Linux LVM
/dev/hda9 3199 9729 52460226 8e Linux LVM
/dev/hda7 is VG system, /dev/hda9 is VG data and /dev/hda8 the new and
empty partition. I have no space to backup /dev/hda9 for merging hda8
and hda9. There seems to be no "pvresize" for LVM1.
Kai
^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: [linux-lvm] Are there problems with same VG on same hard disk?
2003-04-09 7:36 ` Kai Weber
@ 2003-04-09 7:42 ` Patrick Caulfield
0 siblings, 0 replies; 5+ messages in thread
From: Patrick Caulfield @ 2003-04-09 7:42 UTC (permalink / raw)
To: linux-lvm
On Wed, Apr 09, 2003 at 02:36:06PM +0200, Kai Weber wrote:
> On Wed, Apr 09, 2003 at 01:32:43PM +0200, Anders Widman wrote:
>
> > Why would you want to do that? One of the major benefits with LVM is
> > that you do not have to divide your physical disks into partitions,
> > but to do that through LVM. Also, performance-wise it is not a good
> > idea to do what you suggested.
>
> I have removed Windows from a partition. So it is now empty and could be
> used an included in the VG. If it's possible to resize the partitions...
>
> /dev/hda7 1923 2520 4803403+ 8e Linux LVM
> /dev/hda8 2521 3198 5446003+ 8e Linux LVM
> /dev/hda9 3199 9729 52460226 8e Linux LVM
>
> /dev/hda7 is VG system, /dev/hda9 is VG data and /dev/hda8 the new and
> empty partition. I have no space to backup /dev/hda9 for merging hda8
> and hda9. There seems to be no "pvresize" for LVM1.
>
Sounds perfectly reasonable to me, that's pretty much what I have, though
without the shame of previously having windows on the machine :-)
PV /dev/sda7 VG vg00 lvm1 [20.00 GB / 0 free]
PV /dev/sda8 VG vg00 lvm1 [9.89 GB / 0 free]
PV /dev/sdb1 VG vg00 lvm1 [34.18 GB / 3.18 GB free]
...and yes, I swap to an LV too...
patrick
^ permalink raw reply [flat|nested] 5+ messages in thread
end of thread, other threads:[~2003-04-09 7:42 UTC | newest]
Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2003-04-09 6:27 [linux-lvm] Are there problems with same VG on same hard disk? Kai Weber
2003-04-09 6:33 ` Anders Widman
2003-04-09 7:36 ` Kai Weber
2003-04-09 7:42 ` Patrick Caulfield
2003-04-09 6:39 ` Joe Thornber
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox