From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from lists.gentoo.org (unknown [208.92.234.80]) by finch.gentoo.org (Postfix) with ESMTP id CAC711381FA for ; Fri, 16 May 2014 12:13:42 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id C0152E0A84; Fri, 16 May 2014 12:13:37 +0000 (UTC) Received: from mail-we0-f172.google.com (mail-we0-f172.google.com [74.125.82.172]) (using TLSv1 with cipher ECDHE-RSA-RC4-SHA (128/128 bits)) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id 97C26E0A52 for ; Fri, 16 May 2014 12:13:36 +0000 (UTC) Received: by mail-we0-f172.google.com with SMTP id k48so2508876wev.3 for ; Fri, 16 May 2014 05:13:35 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=message-id:date:from:user-agent:mime-version:to:subject:references :in-reply-to:content-type:content-transfer-encoding; bh=bo22/4HddmKaD2RA8t2x7ZI1+2l6ewSp0VV3SYBG+dI=; b=vpDWraHAMvzoA420ECmJwSG/d/Bj12u05KgP316xNigWh2856llOo2xE6Jh8sROF2t 1+8qm1lRs1dzH9HIb3JhjnfaSwsYMnY2VfQpUe+ogvG1JzTUJezvuK0GJ6cGQwSNXB7M /f38lyfzQlsaCtcchJbJOwPknQEoROZR6G6d0oJZbL8WARuOUsMkUtamWQQvMZagBQlE O8DH9IpkLU1fimbJLhyktFxlP8Pf3bYPskUFd92Xu43Sr6vQplqnaPFvmOwU0coC/bH2 R5HduaUBOtojusuKXm2Jojygdv0oFqa/wG3QF3QHg6p0K6p7KT848O1LIJXrAaVFIe6g vciw== X-Received: by 10.194.243.3 with SMTP id wu3mr13725192wjc.29.1400242415412; Fri, 16 May 2014 05:13:35 -0700 (PDT) Received: from [10.1.20.201] (dustpuppy.is.co.za. [196.14.169.11]) by mx.google.com with ESMTPSA id z19sm4090962wiu.0.2014.05.16.05.13.34 for (version=TLSv1 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Fri, 16 May 2014 05:13:34 -0700 (PDT) Message-ID: <537600CC.3040901@gmail.com> Date: Fri, 16 May 2014 14:13:00 +0200 From: Alan McKinnon User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:24.0) Gecko/20100101 Thunderbird/24.5.0 Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-user@lists.gentoo.org Reply-to: gentoo-user@lists.gentoo.org MIME-Version: 1.0 To: gentoo-user@lists.gentoo.org Subject: Re: [gentoo-user] boot problems References: <5364C0F9.3000906@xunil.at> <2219291.LPmZhmqkJ1@andromeda> <536545AB.2060008@xunil.at> <53672D31.1030108@xunil.at> <53746809.9080604@xunil.at> <5374855C.4040203@xunil.at> <537506FE.3090701@xunil.at> <5375DE75.7070501@xunil.at> <5375F141.5080704@gmail.com> <16553.1400238867@ccs.covici.com> In-Reply-To: <16553.1400238867@ccs.covici.com> Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-Archives-Salt: 7f351474-caeb-4326-a85b-4e853fe88172 X-Archives-Hash: b29546922b698fc890818def18f8f465 On 16/05/2014 13:14, covici@ccs.covici.com wrote: > Alan McKinnon wrote: > >> On 16/05/2014 12:04, Canek Peláez Valdés wrote: >>> Whatever gets rid of LVM is good on my book. I've never understood why >>> people uses it, and in my experience it only brings headaches. >>> Besides, I've heard from many people that btrfs is the way to go in >>> the future. I'm not ready to make the change yet, but I will at some >>> point. >> >> >> LVM is an excellent solution for what it was designed to do, which is to >> deal with stuff like this: >> >> Oops. I misjudged how big /var/log needed to be and now I need to add >> 50G to that partition. But it's sda6 and I have up to sda8. Arggghhhhh! >> Now I need 5 hour downtime to play 15-pieces with fdisk. >> >> LVM makes that 2 commands and 12 seconds. Yes, it's a bit complex and >> you have to hold the PV/VG/LV model in your head, but it also *fixes* >> the issue with rigid MSDOS partition style. >> >> Modern filesystems like ZFS and btrfs sidestep the need for LVM in a >> really elegant and wonderful way, none of which changes the fact that >> ZFS/btrfs weren't around when LVM was first coded. > > So is btrfs ready for production -- all the tools work, etc. to the > level that the ext2/3/4 work? Also, what kernel do you need for this to > function -- and last question, how to convert an lvm volume to btrfs, or > do you just have to make some space somewhere and copy the files? > > So far, I have liked lvm, what's the advantage of btrfs over lvm? I don't have enough experience with btrfs to answer, but I believe it's much like ZFS in many ways. So here goes: ZFS dispenses with the entire concept of partitions and rigidly allocated areas of storage on a disk. All you really have is "storage". You can divide it up into chunks and sections that look and feel like volumes and partitions but that is not how it's implemented. You don't create a 50G partition for logs, you tell the system to give you 50G of space you will put logs in. And that "space" is something you can mount, and apply permissions and quotas to. It's a lot like having the best parts of partitions and directories in one unit with none of the rigidity and downsides, and the whole lot is done in a virtual manner by software. You can drop the entire hierarchy of disk/partition/pv/vg/lv/fs right out of your head with these new modern systems, and just not ever have to deal with that complexity at all. -- Alan McKinnon alan.mckinnon@gmail.com