CentOS and LVM partitions

der.hans PLUGd at LuftHans.com
Fri Sep 21 15:59:52 MST 2007


Am 21. Sep, 2007 schwätzte Matt Graham so:

>> Anybody have an opinion on using LVM partitions?
>
> LVM is great if A) you've read the LVM-HOWTO and understand it B) you don't
> need to read or write the disks on a non-Linux machine.
>
> A is important because there are a number of gotchas with the
> PV/VG/LV/filesystem resizing that are not immediately obvious.  And it's
> *much* easier to expand PVs, VGs, LVs, and filesystems than it is to shrink
> them, so don't make 99% of the disk a PV unless you are sure you won't need
> any normal partitions.  And make sure you've made your ext3 filesystems with
> reserved blocks in the GDT if you ever plan on expanding them!  Check it with
> mke2fs -n first; older versions of e2fsprogs didn't allocate spare GDT space
> unless you told them to.

Didn't know about the ext3 gotcha. Thanks for the heads up.

> B is important because right now, nothing but Linux can grok LVM.  This is why
> my laptop doesn't use LVM; occasionally I have to run 'Doze for work.

These systems will be GNU/Linux only.

ciao,

der.hans
-- 
#  https://www.LuftHans.com/        http://www.CiscoLearning.org/
#  "Luckily, this is a comic book, for which no idea is too complex."
#    -- Larry Gonick from The Cartoon History of the United States


More information about the PLUG-discuss mailing list