Hello,

Lets say I have a disk (SAN) where 50% of the capacity is allocated to
one primary partition of type 8e LVM.
That partition is a physical volume named pv_foo in volumegroup vg_bar
where the logical volume lv_baz is created occupying all extents
in the volume group.

If I then have to increase the size of lv_baz I need more physical
extents in vg_bar. I see two possibilities:

1. Creating a new partition on the disk occupying the rest of it,
creating a PV on that partition and adding the PV to vg_bar. Finallly
lv_baz can be increased.

2. Increasing the size of the one primary partition (delete and
recreate, same starting cylinder) on the disk and executing pvresize
Additional extents will then be available in
vg_bar and lv_baz can be increased in size.

Both methods have drawbacks and advantages. 1 creates more clutter but
is safer. 2. is possibly more dangerous (partition resize), but
causes less clutter.
I could also avoid a parition table at all, but prefer to have a
parition there for clarity if someone sees an empty partition table
and
accidentally

Which approach do you use and why?

_______________________________________________
rhelv5-list mailing list
[email protected]
https://www.redhat.com/mailman/listinfo/rhelv5-list

Reply via email to