Re: raw partition or LV for btrfs? (FAQ updated)

2012-08-28 Thread Daniel Pocock
On 22/08/12 17:42, David Sterba wrote: > On Tue, Aug 14, 2012 at 07:23:48AM -0400, Calvin Walton wrote: >> A patch to add support for `btrfs fi defrag -c none ` or so would >> make this easier, and shouldn't be to hard to do :) > > This one is on my list of 'nice to have', it's needed to extend

Re: raw partition or LV for btrfs?

2012-08-22 Thread David Sterba
On Tue, Aug 14, 2012 at 07:23:48AM -0400, Calvin Walton wrote: > A patch to add support for `btrfs fi defrag -c none ` or so would > make this easier, and shouldn't be to hard to do :) This one is on my list of 'nice to have', it's needed to extend the ioctl to understand 'none' as to actually use

Re: raw partition or LV for btrfs?

2012-08-14 Thread cwillu
On Tue, Aug 14, 2012 at 8:21 AM, Fajar A. Nugraha wrote: > On Tue, Aug 14, 2012 at 9:09 PM, cwillu wrote: If I understand correctly, if I don't use LVM, then such move and resize operations can't be done for an online filesystem and it has more risk. >>> >>> You can resize, add, and rem

Re: raw partition or LV for btrfs?

2012-08-14 Thread Calvin Walton
On Tue, 2012-08-14 at 08:09 -0600, cwillu wrote: > >> If I understand correctly, if I don't use LVM, then such move and resize > >> operations can't be done for an online filesystem and it has more risk. > > > > You can resize, add, and remove devices from btrfs online without the > > need for LVM.

Re: raw partition or LV for btrfs?

2012-08-14 Thread Fajar A. Nugraha
On Tue, Aug 14, 2012 at 9:09 PM, cwillu wrote: >>> If I understand correctly, if I don't use LVM, then such move and resize >>> operations can't be done for an online filesystem and it has more risk. >> >> You can resize, add, and remove devices from btrfs online without the >> need for LVM. IIRC

Re: raw partition or LV for btrfs?

2012-08-14 Thread cwillu
>> If I understand correctly, if I don't use LVM, then such move and resize >> operations can't be done for an online filesystem and it has more risk. > > You can resize, add, and remove devices from btrfs online without the > need for LVM. IIRC LVM has finer granularity though, you can do > someth

Re: raw partition or LV for btrfs?

2012-08-14 Thread Fajar A. Nugraha
On Tue, Aug 14, 2012 at 8:28 PM, Daniel Pocock wrote: > Can you just elaborate on the qgroups feature? > - Does this just mean I can make the subvolume sizes rigid, like LV sizes? Pretty much. > - Or is it per-user restrictions or some other more elaborate solution? No > > If I create 10 LVs t

Re: raw partition or LV for btrfs?

2012-08-14 Thread Olivier Bonvalet
On 14/08/2012 15:28, Daniel Pocock wrote: If I create 10 LVs today, with btrfs on each, From my understanding of Btrfs, it achieve good write performance by making near all writes "sequential". But if you split your disk in 10 sub-parts, and set btrfs on each of them, writes operations of Bt

Re: raw partition or LV for btrfs?

2012-08-14 Thread Daniel Pocock
On 12/08/12 22:48, Fajar A. Nugraha wrote: > On Sun, Aug 12, 2012 at 11:46 PM, Daniel Pocock wrote: >> >> >> I notice this question on the wiki/faq: >> >> >> https://btrfs.wiki.kernel.org/index.php/UseCases#What_is_best_practice_when_partitioning_a_device_that_holds_one_or_more_btr-filesystems >

Re: raw partition or LV for btrfs?

2012-08-14 Thread Calvin Walton
On Mon, 2012-08-13 at 05:48 +0700, Fajar A. Nugraha wrote: > On Sun, Aug 12, 2012 at 11:46 PM, Daniel Pocock wrote: > > d) what about booting from a btrfs system? Is it recommended to follow > > the ages-old practice of keeping a real partition of 128-500MB, > > formatting it as btrfs, even if a

Re: raw partition or LV for btrfs?

2012-08-12 Thread Fajar A. Nugraha
On Mon, Aug 13, 2012 at 11:19 AM, Kyle Gates wrote: > Also, I think the current grub2 has lzo support. You're right grub2 (1.99-18) unstable; urgency=low [ Colin Watson ] ... * Backport from upstream: - Add support for LZO compression in btrfs (LP: #727535). so Ubuntu has it since prec

Re: raw partition or LV for btrfs?

2012-08-12 Thread Kyle Gates
I'm currently running a 1GB raid1 btrfs /boot with no problems. Also, I think the current grub2 has lzo support. -Original Message- From: Fajar A. Nugraha Sent: Sunday, August 12, 2012 5:48 PM To: Daniel Pocock Cc: linux-btrfs@vger.kernel.org Subject: Re: raw partition or LV for

Re: raw partition or LV for btrfs?

2012-08-12 Thread Fajar A. Nugraha
On Sun, Aug 12, 2012 at 11:46 PM, Daniel Pocock wrote: > > > I notice this question on the wiki/faq: > > > https://btrfs.wiki.kernel.org/index.php/UseCases#What_is_best_practice_when_partitioning_a_device_that_holds_one_or_more_btr-filesystems > > and as it hasn't been answered, can anyone make an

raw partition or LV for btrfs?

2012-08-12 Thread Daniel Pocock
I notice this question on the wiki/faq: https://btrfs.wiki.kernel.org/index.php/UseCases#What_is_best_practice_when_partitioning_a_device_that_holds_one_or_more_btr-filesystems and as it hasn't been answered, can anyone make any comments on the subject Various things come to mind: a) partiti