All of lore.kernel.org
 help / color / mirror / Atom feed
* [linux-lvm] Can I create a PV that only uses a portion of a partition?
@ 2008-03-07 18:34 Lionel Kernux
  2008-03-10  8:21 ` Luca Berra
  0 siblings, 1 reply; 6+ messages in thread
From: Lionel Kernux @ 2008-03-07 18:34 UTC (permalink / raw)
  To: linux-lvm

Hi again,

I have a 1.4TB disk that contains 1 parttition /dev/sda1.

Currently I have 1 PV that was created from /dev/sda1.

I have 1 VG created using the PV /dev/sda1.

I'd like to create some more VG's using the one disk.

Can I:

resize the PV /dev/sda1 and then create a new PV using the freed space?

I have a feeling that the relationship between partitions:PV's is 1:1.
Is this the case?

I was short-sighted when I created the PV and VG on this machine and
basically made one giant PV and one giant VG allocating it. Now I'd
like to be more granular.

I'm thinking the only way is to pvresize to shrink the PV, then shrink
the partition, then create some new partitions in the recovered space,
then create some new PV's from the new partitions, then create some
new VG's from the new PV's.


Any help?

Thanks

LK

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

end of thread, other threads:[~2008-03-11 16:29 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2008-03-07 18:34 [linux-lvm] Can I create a PV that only uses a portion of a partition? Lionel Kernux
2008-03-10  8:21 ` Luca Berra
2008-03-10 15:12   ` Bryn M. Reeves
2008-03-10 17:45     ` Stuart D. Gathman
2008-03-11  7:48       ` Marek Podmaka
2008-03-11 16:29         ` Stuart D. Gathman

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.