From owner-freebsd-questions@FreeBSD.ORG Sun Sep 7 21:21:23 2008 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 6D1F4106566B for ; Sun, 7 Sep 2008 21:21:23 +0000 (UTC) (envelope-from freebsd@edvax.de) Received: from mx02.qsc.de (mx02.qsc.de [213.148.130.14]) by mx1.freebsd.org (Postfix) with ESMTP id 3DB508FC0A for ; Sun, 7 Sep 2008 21:21:23 +0000 (UTC) (envelope-from freebsd@edvax.de) Received: from r55.edvax.de (port-92-195-205-151.dynamic.qsc.de [92.195.205.151]) by mx02.qsc.de (Postfix) with ESMTP id D480D16C0075; Sun, 7 Sep 2008 23:21:21 +0200 (CEST) Received: from r55.edvax.de (localhost [127.0.0.1]) by r55.edvax.de (8.14.2/8.14.2) with SMTP id m87LLKnr002845; Sun, 7 Sep 2008 23:21:21 +0200 (CEST) (envelope-from freebsd@edvax.de) Date: Sun, 7 Sep 2008 23:21:20 +0200 From: Polytropon To: nicodache Message-Id: <20080907232120.2567d5ce.freebsd@edvax.de> In-Reply-To: <82029aed0809070709n65f67632qcfd4cd3fbdda22f@mail.gmail.com> References: <82029aed0809070709n65f67632qcfd4cd3fbdda22f@mail.gmail.com> Organization: EDVAX X-Mailer: Sylpheed 2.4.7 (GTK+ 2.12.1; i386-portbld-freebsd7.0) Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Cc: freebsd-questions@freebsd.org Subject: Re: LVM2 under FreeBSD ? X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: Polytropon List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 07 Sep 2008 21:21:23 -0000 On Sun, 7 Sep 2008 14:09:42 +0000, nicodache wrote: > Hello all, > > I'd like to use something like LVM under FreeBSD, as I have a server > running FBSD 7 and I don't know what space to give to what partition, > and as I plan on installing postfix+courier-imap soon, I'd like to > have some way to share the 235GB left on my drive between /home (legal > torrents), and /var (www, mails, etc) Allthough this may not be the answer you've expected, you can put /var and /home onto the same partition (the 235 GB left). Put /dev/ad0s1g in /etc/fstab as /home, create /home/var and put a symlink /var@ -> home/var. This does not create the "over- head" a LVM would need. > Do yoy know of any solution available as port that would provide me > with the same features as LVM ? (resize of partitions while running, > to adapt /var to my needs without copying, unmouting, resizing, > rebooting, etc) As it has been mentioned before, ZFS is much more professional of course. You can add storage to /var or /home without needing to move any content to a new disk. ZFS is part of the base system. > Can LVM be used in FreeBSD ? Yes, FreeBSD brings vinum LVM with the base system. > can the default kernel read & write ext3 > partitions ? I don't think so, but there are tools in sysutils/e2fsprogs that might help you: "Set of utilities and library to manipulate an ext2, ext3 or ext4 filesystem." -- Polytropon >From Magdeburg, Germany Happy FreeBSD user since 4.0 Andra moi ennepe, Mousa, ...