On Wed, Jun 03, 2009 at 01:46:27PM -0500, Boyd Stephen Smith Jr. wrote:
> In <20090603174408.ga25...@m364d1.ece.northwestern.edu>, Zhengquan Zhang 
> wrote:
> >Can I say the best practice for lvm is to create a single partition for
> >the harddrive and single PV on it

[snip]

> You definitely want separate LVs for any partition (non-system) users can 
> write to, to avoid running out of space on your / partition.  I usually go 
> overboard and have separate partitions for:
> /boot      # If / is on LVM; not LV

I would suggest to never put / or /boot on a lvm partition and at most
to put it on a raid1 set. Why incase something goes wrong, raid1 i much
easier to dissect then lvm (and especially lvm on raid)

> /usr
> /usr/local # For OS migrations.
> /home
> /opt
> /srv
> /var
> /var/tmp   # RAID 0 or other "fast"
> /var/cache # RAID 0 or other "fast"
> /tmp       # Usually tmpfs; no LV
> 
> >and leave enough unassigned PE for later enlargement of certain LV?
> 
> It is much easier to expand a filesystem than to shrink it.  This is true 
> even if you aren't using LVM.



-- 
"I want to thank you for taking time out of your day to come and witness my 
hanging."

        - George W. Bush
01/04/2002
Austin, TX
at the dedication of his portrait

Attachment: signature.asc
Description: Digital signature

Reply via email to