Re: best practice for lvm?

2009-06-09 Thread Chris Davies
Boyd Stephen Smith Jr. b...@iguanasuicide.net wrote: Chris means PV, not PE. Sorry, yes, typo! Thanks for clarifying that to the OP Chris -- To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org

Re: best practice for lvm?

2009-06-08 Thread Chris Davies
Zhengquan Zhang zhang.zhengq...@gmail.com wrote: Can I say the best practice for lvm is to create a single partition for the harddrive and single PV on it and separate LVs for /tmp /var /home etc? and leave enough unassigned PE for later enlargement of certain LV? Personally, I create a 1G

Re: best practice for lvm?

2009-06-08 Thread Zhengquan Zhang
On Mon, Jun 08, 2009 at 03:58:56PM +0100, Chris Davies wrote: Zhengquan Zhang zhang.zhengq...@gmail.com wrote: Can I say the best practice for lvm is to create a single partition for the harddrive and single PV on it and separate LVs for /tmp /var /home etc? and leave enough unassigned PE

Re: best practice for lvm?

2009-06-08 Thread Boyd Stephen Smith Jr.
In 20090608201522.ga26...@m364d1.ece.northwestern.edu, Zhengquan Zhang wrote: On Mon, Jun 08, 2009 at 03:58:56PM +0100, Chris Davies wrote: Zhengquan Zhang zhang.zhengq...@gmail.com wrote: Can I say the best practice for lvm is to create a single partition for the harddrive and single PV

Re: best practice for lvm?

2009-06-08 Thread Zhengquan Zhang
On Mon, Jun 08, 2009 at 04:05:48PM -0500, Boyd Stephen Smith Jr. wrote: In 20090608201522.ga26...@m364d1.ece.northwestern.edu, Zhengquan Zhang wrote: On Mon, Jun 08, 2009 at 03:58:56PM +0100, Chris Davies wrote: Zhengquan Zhang zhang.zhengq...@gmail.com wrote: Can I say the best practice

Re: best practice for lvm?

2009-06-04 Thread Bhasker C V
On Wed, 3 Jun 2009, Zhengquan Zhang wrote: On Thu, Jun 04, 2009 at 08:23:05AM +1000, Alex Samad wrote: 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

Re: best practice for lvm?

2009-06-04 Thread Alex Samad
On Wed, Jun 03, 2009 at 10:53:52PM -0500, Zhengquan Zhang wrote: [snip] My typical setup for a hd (the first 2 or 3 drives in the machine is /boot 500M / 20G LVM or raid device In that case, the first 2 or 3 drives have separate /boot and / but you only use /boot and / on

Re: best practice for lvm?

2009-06-04 Thread Zhengquan Zhang
, 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

Re: best practice for lvm?

2009-06-04 Thread Zhengquan Zhang
On Thu, Jun 04, 2009 at 09:58:59PM +1000, Alex Samad wrote: On Wed, Jun 03, 2009 at 10:53:52PM -0500, Zhengquan Zhang wrote: [snip] My typical setup for a hd (the first 2 or 3 drives in the machine is /boot 500M / 20G LVM or raid device In that case, the first 2

best practice for lvm?

2009-06-03 Thread Zhengquan Zhang
Hi debian users, Can I say the best practice for lvm is to create a single partition for the harddrive and single PV on it and separate LVs for /tmp /var /home etc? and leave enough unassigned PE for later enlargement of certain LV? Thanks for enlightenment and I am thinking of how to best

Re: best practice for lvm?

2009-06-03 Thread George Randall
Zhengquan Zhang wrote: Hi debian users, Can I say the best practice for lvm is to create a single partition for the harddrive and single PV on it and separate LVs for /tmp /var /home etc? and leave enough unassigned PE for later enlargement of certain LV? Thanks for enlightenment and I am

Re: best practice for lvm?

2009-06-03 Thread Zhengquan Zhang
On Wed, Jun 03, 2009 at 02:02:05PM -0400, George Randall wrote: Zhengquan Zhang wrote: Hi debian users, Can I say the best practice for lvm is to create a single partition for the harddrive and single PV on it and separate LVs for /tmp /var /home etc? and leave enough unassigned PE for later

Re: best practice for lvm?

2009-06-03 Thread George Randall
Zhengquan Zhang wrote: On Wed, Jun 03, 2009 at 02:02:05PM -0400, George Randall wrote: Zhengquan Zhang wrote: Hi debian users, Can I say the best practice for lvm is to create a single partition for the harddrive and single PV on it and separate LVs for /tmp /var /home etc? and leave enough

Re: best practice for lvm?

2009-06-03 Thread Zhengquan Zhang
On Wed, Jun 03, 2009 at 02:15:15PM -0400, George Randall wrote: Zhengquan Zhang wrote: On Wed, Jun 03, 2009 at 02:02:05PM -0400, George Randall wrote: Zhengquan Zhang wrote: Hi debian users, Can I say the best practice for lvm is to create a single partition for the harddrive and single PV

Re: best practice for lvm?

2009-06-03 Thread Boyd Stephen Smith Jr.
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 I prefer not to use a partition table at all if I'm using the whole disk for LVM. and separate LVs for /tmp

Re: best practice for lvm?

2009-06-03 Thread Boyd Stephen Smith Jr.
In 4a26ba9d.9060...@rctoolz.com, George Randall wrote: 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 and separate LVs for /tmp /var /home etc? and leave enough unassigned PE for later enlargement of certain LV

Re: best practice for lvm?

2009-06-03 Thread Zhengquan Zhang
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 I prefer not to use a partition

Re: best practice for lvm?

2009-06-03 Thread Zhengquan Zhang
On Wed, Jun 03, 2009 at 01:51:03PM -0500, Boyd Stephen Smith Jr. wrote: In 4a26ba9d.9060...@rctoolz.com, George Randall wrote: 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 and separate LVs for /tmp /var /home

Re: best practice for lvm?

2009-06-03 Thread George Randall
Boyd Stephen Smith Jr. wrote: In 4a26ba9d.9060...@rctoolz.com, George Randall wrote: 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 and separate LVs for /tmp /var /home etc? and leave enough unassigned PE

Re: best practice for lvm?

2009-06-03 Thread Boyd Stephen Smith Jr.
In 20090603185138.ga25...@m364d1.ece.northwestern.edu, Zhengquan Zhang wrote: 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

Re: best practice for lvm?

2009-06-03 Thread Boyd Stephen Smith Jr.
In 4a26c7d5.40...@rctoolz.com, George Randall wrote: Boyd Stephen Smith Jr. wrote: In 4a26ba9d.9060...@rctoolz.com, George Randall wrote: You will need the separate /boot partition and then your lvm partition. Not if you are willing to use grub2 (aka grub-pc). Version 1.96 or above of GRUB

Re: best practice for lvm?

2009-06-03 Thread 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 I prefer not to use a partition table at all if I'm using the whole disk for LVM. I just read this from the lvm howto http://tldp.org/HOWTO/LVM-HOWTO/initdisks.html

Re: best practice for lvm?

2009-06-03 Thread Alex Samad
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

Re: best practice for lvm?

2009-06-03 Thread Zhengquan Zhang
On Thu, Jun 04, 2009 at 08:23:05AM +1000, Alex Samad wrote: 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

Re: best practice for lvm?

2009-06-03 Thread Alex Samad
the best practice for lvm is to create a single partition for the harddrive and single PV on it [snip] 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

Re: best practice for lvm?

2009-06-03 Thread Zhengquan Zhang
...@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] I would suggest to never put / or /boot on a lvm partition and at most to put it on a raid1 set. Why incase