From owner-freebsd-fs@FreeBSD.ORG Mon Apr 2 02:52:24 2007 Return-Path: X-Original-To: freebsd-fs@freebsd.org Delivered-To: freebsd-fs@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 1C43516A402 for ; Mon, 2 Apr 2007 02:52:24 +0000 (UTC) (envelope-from frank@exit.com) Received: from tinker.exit.com (tinker.exit.com [206.223.0.1]) by mx1.freebsd.org (Postfix) with ESMTP id A78D513C448 for ; Mon, 2 Apr 2007 02:52:23 +0000 (UTC) (envelope-from frank@exit.com) Received: from jill.exit.com (jill.exit.com [206.223.0.4]) by tinker.exit.com (8.13.8/8.13.8) with ESMTP id l322c6Eu094109 for ; Sun, 1 Apr 2007 19:38:06 -0700 (PDT) (envelope-from frank@exit.com) Received: from jill.exit.com (localhost [127.0.0.1]) by jill.exit.com (8.13.8/8.13.8) with ESMTP id l322c6FV042158 for ; Sun, 1 Apr 2007 19:38:06 -0700 (PDT) (envelope-from frank@exit.com) Received: (from frank@localhost) by jill.exit.com (8.13.8/8.13.8/Submit) id l322c6hD042157 for freebsd-fs@freebsd.org; Sun, 1 Apr 2007 19:38:06 -0700 (PDT) (envelope-from frank@exit.com) X-Authentication-Warning: jill.exit.com: frank set sender to frank@exit.com using -f From: Frank Mayhar To: freebsd-fs@freebsd.org Content-Type: text/plain Content-Transfer-Encoding: 7bit Organization: Exit Consulting Date: Sun, 01 Apr 2007 19:38:06 -0700 Message-Id: <1175481486.39754.2.camel@jill.exit.com> Mime-Version: 1.0 X-Mailer: Evolution 2.10.0 FreeBSD GNOME Team Port X-Virus-Scanned: ClamAV version 0.90.1, clamav-milter version 0.90.1 on tinker.exit.com X-Virus-Status: Clean Subject: NFS4 on FreeBSD? X-BeenThere: freebsd-fs@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: frank@exit.com List-Id: Filesystems List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 02 Apr 2007 02:52:24 -0000 I have a need (or at least a very strong desire) for kerberized NFS on FreeBSD, at least the client bits. I sent email to hackers last week but I thought I would follow up here. Is there anyone working on this? Has there been? I saw a little bit of chatter about the subject on this list from October of 2005 but nothing since. It would be really nice if someone has gotten here before me, or at least has already started working on it. Anyone? -- Frank Mayhar frank@exit.com http://www.exit.com/ Exit Consulting http://www.gpsclock.com/ http://www.exit.com/blog/frank/ http://www.zazzle.com/fmayhar* From owner-freebsd-fs@FreeBSD.ORG Mon Apr 2 09:35:11 2007 Return-Path: X-Original-To: freebsd-fs@freebsd.org Delivered-To: freebsd-fs@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 3C87516A402 for ; Mon, 2 Apr 2007 09:35:11 +0000 (UTC) (envelope-from dan.cojocar@gmail.com) Received: from an-out-0708.google.com (an-out-0708.google.com [209.85.132.240]) by mx1.freebsd.org (Postfix) with ESMTP id F0A3313C44C for ; Mon, 2 Apr 2007 09:35:10 +0000 (UTC) (envelope-from dan.cojocar@gmail.com) Received: by an-out-0708.google.com with SMTP id c24so1201741ana for ; Mon, 02 Apr 2007 02:35:10 -0700 (PDT) DKIM-Signature: a=rsa-sha1; c=relaxed/relaxed; d=gmail.com; s=beta; h=domainkey-signature:received:received:message-id:date:from:to:subject:cc:in-reply-to:mime-version:content-type:content-transfer-encoding:content-disposition:references; b=NBZXRAyH4nJgpGr+TYVlaLE2WOBfjlbWsaixq62JDxGBGDRDPATo3JfAXYG6VYtOCAUzbHrsvUrJYjd8xCHzs5v8EAEyO7phgKaxKOg5h2+77d8H4UJmE70ECyogqwkfcxItunRNo38RFDatWdxiZU/oQl87jWBSFZGoNpZ07U8= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=beta; h=received:message-id:date:from:to:subject:cc:in-reply-to:mime-version:content-type:content-transfer-encoding:content-disposition:references; b=L0964tlGdTHMISIJCxBbYCT7IqzDD7BVVb6RWGQU4iBiMvTHBlN3C0SQhRUlG08eKOlunA1C7nPhzvdnfLWwI/Jpvu5t6DuQIlDpd+IQMkE/V4kllcsTD55u8tS2yxV9tvjirgl3RUsNJhgILC2j8YO9JRwxkdzkOSgqC03flx4= Received: by 10.100.138.2 with SMTP id l2mr3334542and.1175506510305; Mon, 02 Apr 2007 02:35:10 -0700 (PDT) Received: by 10.100.137.1 with HTTP; Mon, 2 Apr 2007 02:35:10 -0700 (PDT) Message-ID: Date: Mon, 2 Apr 2007 12:35:10 +0300 From: "Dan Cojocar" To: "Pawel Jakub Dawidek" In-Reply-To: <20070330181015.GB11360@garage.freebsd.pl> MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Content-Disposition: inline References: <20070330181015.GB11360@garage.freebsd.pl> Cc: freebsd-fs@freebsd.org Subject: Re: gjournal error X-BeenThere: freebsd-fs@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Filesystems List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 02 Apr 2007 09:35:11 -0000 On 3/30/07, Pawel Jakub Dawidek wrote: > On Fri, Mar 30, 2007 at 02:54:28PM +0300, Dan Cojocar wrote: > > Hello all, > > > > I noticed this error in my logs: > > > > GEOM_JOURNAL: [flush] Error while writting data (error=1) > > ad1s1d[WRITE(offset=512, length=115200)] > > fsync: giving up on dirty > > 0xc435910c: tag devfs, type VCHR > > usecount 1, writecount 0, refcount 96 mountedhere 0xc41f9900 > > flags () > > v_object 0xc1048e10 ref 0 pages 2236 > > lock type devfs: EXCL (count 1) by thread 0xc3f7d6c0 (pid 27) > > dev ad1s1e.journal > > GEOM_JOURNAL: Cannot suspend file system /extra/large (error=35). > > > > This is: FreeBSD 7.0-CURRENT #1: Mon Mar 12 17:55:55 EET 2007 > > Can you paste output of: > > # bsdlabel /dev/ad1s1 > > ? > Here it is: bsdlabel /dev/ad1s1 12:32:40 # /dev/ad1s1: 8 partitions: # size offset fstype [fsize bsize bps/cpg] c: 234440625 0 unused 0 0 # "raw" part, don't edit d: 20971520 0 4.2BSD 2048 16384 28552 e: 213469105 20971520 4.2BSD 2048 16384 28552 Thanks, Dan From owner-freebsd-fs@FreeBSD.ORG Mon Apr 2 12:34:08 2007 Return-Path: X-Original-To: freebsd-fs@freebsd.org Delivered-To: freebsd-fs@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 8A33716A401 for ; Mon, 2 Apr 2007 12:34:08 +0000 (UTC) (envelope-from rees@citi.umich.edu) Received: from citi.umich.edu (citi.umich.edu [141.211.133.111]) by mx1.freebsd.org (Postfix) with ESMTP id 6E38613C487 for ; Mon, 2 Apr 2007 12:34:08 +0000 (UTC) (envelope-from rees@citi.umich.edu) Received: from citi.umich.edu (dsl093-001-248.det1.dsl.speakeasy.net [66.93.1.248]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by citi.umich.edu (Postfix) with ESMTP id 6F80338E86; Mon, 2 Apr 2007 08:00:50 -0400 (EDT) Date: Mon, 2 Apr 2007 07:00:49 -0500 From: Jim Rees To: Frank Mayhar Message-ID: <20070402120048.GA19688@citi.umich.edu> References: <1175481486.39754.2.camel@jill.exit.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <1175481486.39754.2.camel@jill.exit.com> Cc: freebsd-fs@freebsd.org Subject: Re: NFS4 on FreeBSD? X-BeenThere: freebsd-fs@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Filesystems List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 02 Apr 2007 12:34:08 -0000 Kerberized nfs does not necessarily mean v4. But it is starting to look like v4 might eventually become widely adopted. The linux, Sun, and IBM implementations all work and interoperate. We did a v4 client and it's in the tree now, but sadly neglected. It would take some work to make it usable. Rick Macklem has a server that works quite well. I don't know what would be involved in putting it in the tree. The big thing missing from our client is security (kerberos). We have a later client, available on our web site, that does security but it would need some work too. No one is working on this right now as far as I know. http://www.citi.umich.edu/projects/nfsv4/ From owner-freebsd-fs@FreeBSD.ORG Mon Apr 2 13:35:47 2007 Return-Path: X-Original-To: freebsd-fs@freebsd.org Delivered-To: freebsd-fs@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 7750316A401 for ; Mon, 2 Apr 2007 13:35:47 +0000 (UTC) (envelope-from frank@exit.com) Received: from tinker.exit.com (tinker.exit.com [206.223.0.1]) by mx1.freebsd.org (Postfix) with ESMTP id 3D9C013C468 for ; Mon, 2 Apr 2007 13:35:47 +0000 (UTC) (envelope-from frank@exit.com) Received: from jill.exit.com (jill.exit.com [206.223.0.4]) by tinker.exit.com (8.13.8/8.13.8) with ESMTP id l32DZkLR006914; Mon, 2 Apr 2007 06:35:46 -0700 (PDT) (envelope-from frank@exit.com) Received: from jill.exit.com (localhost [127.0.0.1]) by jill.exit.com (8.13.8/8.13.8) with ESMTP id l32DZkbh044469; Mon, 2 Apr 2007 06:35:46 -0700 (PDT) (envelope-from frank@exit.com) Received: (from frank@localhost) by jill.exit.com (8.13.8/8.13.8/Submit) id l32DZkZq044468; Mon, 2 Apr 2007 06:35:46 -0700 (PDT) (envelope-from frank@exit.com) X-Authentication-Warning: jill.exit.com: frank set sender to frank@exit.com using -f From: Frank Mayhar To: Jim Rees In-Reply-To: <20070402120048.GA19688@citi.umich.edu> References: <1175481486.39754.2.camel@jill.exit.com> <20070402120048.GA19688@citi.umich.edu> Content-Type: text/plain Content-Transfer-Encoding: 7bit Organization: Exit Consulting Date: Mon, 02 Apr 2007 06:35:45 -0700 Message-Id: <1175520945.44258.8.camel@jill.exit.com> Mime-Version: 1.0 X-Mailer: Evolution 2.10.0 FreeBSD GNOME Team Port X-Virus-Scanned: ClamAV version 0.90.1, clamav-milter version 0.90.1 on tinker.exit.com X-Virus-Status: Clean Cc: freebsd-fs@freebsd.org Subject: Re: NFS4 on FreeBSD? X-BeenThere: freebsd-fs@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: frank@exit.com List-Id: Filesystems List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 02 Apr 2007 13:35:47 -0000 On Mon, 2007-04-02 at 07:00 -0500, Jim Rees wrote: > Kerberized nfs does not necessarily mean v4. But it is starting to look > like v4 might eventually become widely adopted. The linux, Sun, and IBM > implementations all work and interoperate. Hmm. It was my impression that the rpcsec_gss stuff was only for NFS4. I take it that my impression was wrong? (I guess I had better double- check and make sure that it's really NFS4 that is needed, and not kerberized NFS3.) > We did a v4 client and it's in the tree now, but sadly neglected. It would > take some work to make it usable. Rick Macklem has a server that works > quite well. I don't know what would be involved in putting it in the tree. Yeah, I'm aware of both the v4 client in the tree and Rick's server. > The big thing missing from our client is security (kerberos). We have a > later client, available on our web site, that does security but it would > need some work too. I take it that the later client is a descendant of the one that is in the FreeBSD tree? That might be a place to start. Has it been used at all? > No one is working on this right now as far as I know. Yeah, that much seems clear. Sigh. I guess that means if I want it I'll have to do it myself... -- Frank Mayhar frank@exit.com http://www.exit.com/ Exit Consulting http://www.gpsclock.com/ http://www.exit.com/blog/frank/ http://www.zazzle.com/fmayhar* From owner-freebsd-fs@FreeBSD.ORG Mon Apr 2 14:00:32 2007 Return-Path: X-Original-To: freebsd-fs@freebsd.org Delivered-To: freebsd-fs@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 0E3FA16A402 for ; Mon, 2 Apr 2007 14:00:32 +0000 (UTC) (envelope-from rees@citi.umich.edu) Received: from citi.umich.edu (citi.umich.edu [141.211.133.111]) by mx1.freebsd.org (Postfix) with ESMTP id E5EA513C483 for ; Mon, 2 Apr 2007 14:00:31 +0000 (UTC) (envelope-from rees@citi.umich.edu) Received: from citi.umich.edu (dumaguete.citi.umich.edu [141.211.133.51]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by citi.umich.edu (Postfix) with ESMTP id 348663925E; Mon, 2 Apr 2007 10:00:31 -0400 (EDT) Date: Mon, 2 Apr 2007 09:00:30 -0500 From: Jim Rees To: Frank Mayhar Message-ID: <20070402140030.GA16107@citi.umich.edu> References: <1175481486.39754.2.camel@jill.exit.com> <20070402120048.GA19688@citi.umich.edu> <1175520945.44258.8.camel@jill.exit.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <1175520945.44258.8.camel@jill.exit.com> Cc: freebsd-fs@freebsd.org Subject: Re: NFS4 on FreeBSD? X-BeenThere: freebsd-fs@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Filesystems List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 02 Apr 2007 14:00:32 -0000 Frank Mayhar wrote: Hmm. It was my impression that the rpcsec_gss stuff was only for NFS4. I take it that my impression was wrong? (I guess I had better double- check and make sure that it's really NFS4 that is needed, and not kerberized NFS3.) That's correct, but there is an earlier non-gss kerberized v3 protocol. I believe at one time there were implementations in bsd and linux, but these are being removed for lack of interest and to push people to v4. I can't find any traces of it in FreeBSD but parts of it are still in OpenBSD. I have never used it and don't know if it works. I take it that the later client is a descendant of the one that is in the FreeBSD tree? That might be a place to start. Has it been used at all? It was intended to be portable and at one time ran on Darwin, Open, and FreeBSD. It was a very clever design by Marius Eriksen, done here at CITI, that did most of the rpc work in a user daemon without adding unnecessary user-to-kernel data copies. No one is using it now as far as I know. From owner-freebsd-fs@FreeBSD.ORG Mon Apr 2 15:22:39 2007 Return-Path: X-Original-To: freebsd-fs@freebsd.org Delivered-To: freebsd-fs@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id F3C3016A401 for ; Mon, 2 Apr 2007 15:22:38 +0000 (UTC) (envelope-from rmacklem@uoguelph.ca) Received: from dargo.cs.uoguelph.ca (dargo.cs.uoguelph.ca [131.104.94.197]) by mx1.freebsd.org (Postfix) with ESMTP id A2AC113C469 for ; Mon, 2 Apr 2007 15:22:38 +0000 (UTC) (envelope-from rmacklem@uoguelph.ca) Received: from muncher.cs.uoguelph.ca (muncher.cs.uoguelph.ca [131.104.96.170]) by dargo.cs.uoguelph.ca (8.13.1/8.13.1) with ESMTP id l32EMZi4025354; Mon, 2 Apr 2007 10:22:35 -0400 Received: from localhost (rmacklem@localhost) by muncher.cs.uoguelph.ca (8.11.7p1+Sun/8.11.6) with ESMTP id l32ENrS02776; Mon, 2 Apr 2007 10:23:53 -0400 (EDT) X-Authentication-Warning: muncher.cs.uoguelph.ca: rmacklem owned process doing -bs Date: Mon, 2 Apr 2007 10:23:53 -0400 (EDT) From: Rick Macklem X-X-Sender: rmacklem@muncher To: Jim Rees In-Reply-To: <20070402140030.GA16107@citi.umich.edu> Message-ID: References: <1175481486.39754.2.camel@jill.exit.com> <20070402120048.GA19688@citi.umich.edu> <1175520945.44258.8.camel@jill.exit.com> <20070402140030.GA16107@citi.umich.edu> MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII; format=flowed X-Scanned-By: MIMEDefang 2.57 on 131.104.94.197 Cc: freebsd-fs@freebsd.org Subject: Re: NFS4 on FreeBSD? X-BeenThere: freebsd-fs@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Filesystems List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 02 Apr 2007 15:22:39 -0000 On Mon, 2 Apr 2007, Jim Rees wrote: > Frank Mayhar wrote: > > Hmm. It was my impression that the rpcsec_gss stuff was only for NFS4. > I take it that my impression was wrong? (I guess I had better double- > check and make sure that it's really NFS4 that is needed, and not > kerberized NFS3.) > > That's correct, but there is an earlier non-gss kerberized v3 protocol. I > believe at one time there were implementations in bsd and linux, but these > are being removed for lack of interest and to push people to v4. I can't > find any traces of it in FreeBSD but parts of it are still in OpenBSD. I > have never used it and don't know if it works. That was ancient code that I did for 4.4BSD and was never adopted by anyone. When people refer to Kerberized NFSv3 these days, they are using the same RPCSEC_GSS code that NFSv4 adopted. This is in Solaris10 and I believe that current versions of Linux2.6 might have the v3 support as well as v4. (As far as I know, the only difference between using RPCSEC_GSS/krb5 on v4 vs v3 is the mount protocol and, at least Solaris10, will allow the mount protocol to use AUTH_SYS for a sec=krb5 mount.) So, if you find a Kerberized NFSv3 it will probably support NFSv4 as well. rick From owner-freebsd-fs@FreeBSD.ORG Mon Apr 2 16:12:40 2007 Return-Path: X-Original-To: freebsd-fs@freebsd.org Delivered-To: freebsd-fs@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 827B016A403 for ; Mon, 2 Apr 2007 16:12:40 +0000 (UTC) (envelope-from pjd@garage.freebsd.pl) Received: from mail.garage.freebsd.pl (arm132.internetdsl.tpnet.pl [83.17.198.132]) by mx1.freebsd.org (Postfix) with ESMTP id F33C613C46C for ; Mon, 2 Apr 2007 16:12:39 +0000 (UTC) (envelope-from pjd@garage.freebsd.pl) Received: by mail.garage.freebsd.pl (Postfix, from userid 65534) id CDECA456B1; Mon, 2 Apr 2007 18:12:34 +0200 (CEST) Received: from localhost (154.81.datacomsa.pl [195.34.81.154]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by mail.garage.freebsd.pl (Postfix) with ESMTP id 33AB645CD9; Mon, 2 Apr 2007 18:12:22 +0200 (CEST) Date: Mon, 2 Apr 2007 18:12:20 +0200 From: Pawel Jakub Dawidek To: Dan Cojocar Message-ID: <20070402161220.GA34180@garage.freebsd.pl> References: <20070330181015.GB11360@garage.freebsd.pl> MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="C7zPtVaVf+AK4Oqc" Content-Disposition: inline In-Reply-To: X-PGP-Key-URL: http://people.freebsd.org/~pjd/pjd.asc X-OS: FreeBSD 7.0-CURRENT i386 User-Agent: mutt-ng/devel-r804 (FreeBSD) X-Spam-Checker-Version: SpamAssassin 3.0.4 (2005-06-05) on mail.garage.freebsd.pl X-Spam-Level: X-Spam-Status: No, score=-2.6 required=3.0 tests=BAYES_00 autolearn=ham version=3.0.4 Cc: freebsd-fs@freebsd.org Subject: Re: gjournal error X-BeenThere: freebsd-fs@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Filesystems List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 02 Apr 2007 16:12:40 -0000 --C7zPtVaVf+AK4Oqc Content-Type: text/plain; charset=iso-8859-2 Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Mon, Apr 02, 2007 at 12:35:10PM +0300, Dan Cojocar wrote: > On 3/30/07, Pawel Jakub Dawidek wrote: > >On Fri, Mar 30, 2007 at 02:54:28PM +0300, Dan Cojocar wrote: > >> Hello all, > >> > >> I noticed this error in my logs: > >> > >> GEOM_JOURNAL: [flush] Error while writting data (error=3D1) > >> ad1s1d[WRITE(offset=3D512, length=3D115200)] > >> fsync: giving up on dirty > >> 0xc435910c: tag devfs, type VCHR > >> usecount 1, writecount 0, refcount 96 mountedhere 0xc41f9900 > >> flags () > >> v_object 0xc1048e10 ref 0 pages 2236 > >> lock type devfs: EXCL (count 1) by thread 0xc3f7d6c0 (pid 27) > >> dev ad1s1e.journal > >> GEOM_JOURNAL: Cannot suspend file system /extra/large (error=3D35). > >> > >> This is: FreeBSD 7.0-CURRENT #1: Mon Mar 12 17:55:55 EET 2007 > > > >Can you paste output of: > > > > # bsdlabel /dev/ad1s1 > > > >? > > >=20 > Here it is: > bsdlabel /dev/ad1s1 > 12:32:40 > # /dev/ad1s1: > 8 partitions: > # size offset fstype [fsize bsize bps/cpg] > c: 234440625 0 unused 0 0 # "raw" part, > don't edit > d: 20971520 0 4.2BSD 2048 16384 28552 > e: 213469105 20971520 4.2BSD 2048 16384 28552 'd' partition is wrong, it should start at offset 16. You get EPERM (error=3D1) when someone tries to write to first 16 sectors where metadata is stored. --=20 Pawel Jakub Dawidek http://www.wheel.pl pjd@FreeBSD.org http://www.FreeBSD.org FreeBSD committer Am I Evil? Yes, I Am! --C7zPtVaVf+AK4Oqc Content-Type: application/pgp-signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.6 (FreeBSD) iD8DBQFGEStkForvXbEpPzQRAifYAJ9fT6lBBazYUDfpSlWKrI1FOBl5xgCgxQsk 2CasTbSf6yR/RF6jOJak3aE= =Qnd9 -----END PGP SIGNATURE----- --C7zPtVaVf+AK4Oqc-- From owner-freebsd-fs@FreeBSD.ORG Mon Apr 2 22:49:45 2007 Return-Path: X-Original-To: freebsd-fs@freebsd.org Delivered-To: freebsd-fs@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 5448416A402; Mon, 2 Apr 2007 22:49:45 +0000 (UTC) (envelope-from fbsd-fs@mawer.org) Received: from customer-domains.icp-qv1-irony15.iinet.net.au (customer-domains.icp-qv1-irony15.iinet.net.au [203.59.1.175]) by mx1.freebsd.org (Postfix) with ESMTP id 9188113C465; Mon, 2 Apr 2007 22:49:44 +0000 (UTC) (envelope-from fbsd-fs@mawer.org) Received: from 203-206-173-235.perm.iinet.net.au (HELO [10.24.1.1]) ([203.206.173.235]) by iinet-mail.icp-qv1-irony15.iinet.net.au with ESMTP; 03 Apr 2007 06:39:37 +0800 X-IronPort-Anti-Spam-Filtered: true X-IronPort-Anti-Spam-Result: AgAAABwjEUbLzq3r/2dsb2JhbAAN X-IronPort-AV: i="4.14,362,1170604800"; d="scan'208"; a="113425919:sNHT7802376" Message-ID: <461185C6.3040801@mawer.org> Date: Tue, 03 Apr 2007 08:37:58 +1000 From: Antony Mawer User-Agent: Thunderbird 1.5.0.10 (Windows/20070221) MIME-Version: 1.0 To: Pawel Jakub Dawidek References: <20070330181015.GB11360@garage.freebsd.pl> <20070402161220.GA34180@garage.freebsd.pl> In-Reply-To: <20070402161220.GA34180@garage.freebsd.pl> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Cc: freebsd-fs@freebsd.org Subject: Re: gjournal error X-BeenThere: freebsd-fs@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Filesystems List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 02 Apr 2007 22:49:45 -0000 On 3/04/2007 2:12 AM, Pawel Jakub Dawidek wrote: > On Mon, Apr 02, 2007 at 12:35:10PM +0300, Dan Cojocar wrote: ... >> Here it is: >> bsdlabel /dev/ad1s1 >> 12:32:40 >> # /dev/ad1s1: >> 8 partitions: >> # size offset fstype [fsize bsize bps/cpg] >> c: 234440625 0 unused 0 0 # "raw" part, >> don't edit >> d: 20971520 0 4.2BSD 2048 16384 28552 >> e: 213469105 20971520 4.2BSD 2048 16384 28552 > > 'd' partition is wrong, it should start at offset 16. You get EPERM > (error=1) when someone tries to write to first 16 sectors where metadata > is stored. This point relates to a recent thread on -questions, where we were discussing the offset of 16 and whether it was still relevant. The issue arose because disklabel cannot compute the "hog partition" when using an offset of 16 -- it (incorrectly) assumes the starting offset is is 0, and as a result the last partition goes past the end of the disk. http://docs.freebsd.org/cgi/getmsg.cgi?fetch=1660728+0+archive/2007/freebsd-questions/20070401.freebsd-questions What sort of meta-data is typically stored in these first 16 sectors? Is it only of concern if you are using some of the various GEOM modules that require meta data storage? It sounds to me like disklabel needs to be modified in how it treats a "*" in the size field: on the 'c' partition, continue to use the full size of the device; if used on any others, it needs to take into account the offset of the first non-'c' partition... Does this sound right? If so, I may have a go at writing a patch at some point. --Antony From owner-freebsd-fs@FreeBSD.ORG Mon Apr 2 23:19:29 2007 Return-Path: X-Original-To: freebsd-fs@freebsd.org Delivered-To: freebsd-fs@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 4DADE16A401 for ; Mon, 2 Apr 2007 23:19:29 +0000 (UTC) (envelope-from pjd@garage.freebsd.pl) Received: from mail.garage.freebsd.pl (arm132.internetdsl.tpnet.pl [83.17.198.132]) by mx1.freebsd.org (Postfix) with ESMTP id DCCE613C45A for ; Mon, 2 Apr 2007 23:19:28 +0000 (UTC) (envelope-from pjd@garage.freebsd.pl) Received: by mail.garage.freebsd.pl (Postfix, from userid 65534) id 3D414487FC; Tue, 3 Apr 2007 01:19:27 +0200 (CEST) Received: from localhost (154.81.datacomsa.pl [195.34.81.154]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by mail.garage.freebsd.pl (Postfix) with ESMTP id A465245684; Tue, 3 Apr 2007 01:19:21 +0200 (CEST) Date: Tue, 3 Apr 2007 01:19:18 +0200 From: Pawel Jakub Dawidek To: Antony Mawer Message-ID: <20070402231918.GI34180@garage.freebsd.pl> References: <20070330181015.GB11360@garage.freebsd.pl> <20070402161220.GA34180@garage.freebsd.pl> <461185C6.3040801@mawer.org> MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="OfrWf2Fun5Ae4m0Y" Content-Disposition: inline In-Reply-To: <461185C6.3040801@mawer.org> X-PGP-Key-URL: http://people.freebsd.org/~pjd/pjd.asc X-OS: FreeBSD 7.0-CURRENT i386 User-Agent: mutt-ng/devel-r804 (FreeBSD) X-Spam-Checker-Version: SpamAssassin 3.0.4 (2005-06-05) on mail.garage.freebsd.pl X-Spam-Level: X-Spam-Status: No, score=-2.6 required=3.0 tests=BAYES_00 autolearn=ham version=3.0.4 Cc: freebsd-fs@freebsd.org Subject: Re: gjournal error X-BeenThere: freebsd-fs@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Filesystems List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 02 Apr 2007 23:19:29 -0000 --OfrWf2Fun5Ae4m0Y Content-Type: text/plain; charset=iso-8859-2 Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Tue, Apr 03, 2007 at 08:37:58AM +1000, Antony Mawer wrote: > On 3/04/2007 2:12 AM, Pawel Jakub Dawidek wrote: > >On Mon, Apr 02, 2007 at 12:35:10PM +0300, Dan Cojocar wrote: > ... > >>Here it is: > >>bsdlabel /dev/ad1s1 > >> 12:32:40 > >># /dev/ad1s1: > >>8 partitions: > >># size offset fstype [fsize bsize bps/cpg] > >> c: 234440625 0 unused 0 0 # "raw" part, > >>don't edit > >> d: 20971520 0 4.2BSD 2048 16384 28552 > >> e: 213469105 20971520 4.2BSD 2048 16384 28552 > >'d' partition is wrong, it should start at offset 16. You get EPERM > >(error=3D1) when someone tries to write to first 16 sectors where metada= ta > >is stored. >=20 > This point relates to a recent thread on -questions, where we were discus= sing the offset of 16 and whether it was still relevant. The issue arose be= cause disklabel cannot=20 > compute the "hog partition" when using an offset of 16 -- it (incorrectly= ) assumes the starting offset is is 0, and as a result the last partition g= oes past the end of the=20 > disk. >=20 > http://docs.freebsd.org/cgi/getmsg.cgi?fetch=3D1660728+0+archive/2007/fre= ebsd-questions/20070401.freebsd-questions >=20 > What sort of meta-data is typically stored in these first 16 sectors? [..= =2E] Partition table stored by bsdlabel(8). > It sounds to me like disklabel needs to be modified in how it treats a "*= " in the size field: on the 'c' partition, continue to use the full size of= the device; if used on=20 > any others, it needs to take into account the offset of the first non-'c'= partition... >=20 > Does this sound right? If so, I may have a go at writing a patch at some = point. 'bsdlabel -w' works correctly. The biggest issue is that sysinstall(8) creates bogus partitions that start at offset 0. --=20 Pawel Jakub Dawidek http://www.wheel.pl pjd@FreeBSD.org http://www.FreeBSD.org FreeBSD committer Am I Evil? Yes, I Am! --OfrWf2Fun5Ae4m0Y Content-Type: application/pgp-signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.6 (FreeBSD) iD8DBQFGEY91ForvXbEpPzQRAk0RAKDaS3/zgbx8w4TdqjiG4OAPp/BLvwCgwUkN NtbMNu/BuQxOQuGIPtdbNfc= =a+gz -----END PGP SIGNATURE----- --OfrWf2Fun5Ae4m0Y-- From owner-freebsd-fs@FreeBSD.ORG Tue Apr 3 07:44:14 2007 Return-Path: X-Original-To: freebsd-fs@freebsd.org Delivered-To: freebsd-fs@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 1A09B16A401 for ; Tue, 3 Apr 2007 07:44:14 +0000 (UTC) (envelope-from dan.cojocar@gmail.com) Received: from an-out-0708.google.com (an-out-0708.google.com [209.85.132.245]) by mx1.freebsd.org (Postfix) with ESMTP id C7EE713C46C for ; Tue, 3 Apr 2007 07:44:11 +0000 (UTC) (envelope-from dan.cojocar@gmail.com) Received: by an-out-0708.google.com with SMTP id c24so1587424ana for ; Tue, 03 Apr 2007 00:44:11 -0700 (PDT) DKIM-Signature: a=rsa-sha1; c=relaxed/relaxed; d=gmail.com; s=beta; h=domainkey-signature:received:received:message-id:date:from:to:subject:cc:in-reply-to:mime-version:content-type:content-transfer-encoding:content-disposition:references; b=p0niJnQFowN6iUIZyUAD0C0I9eKhVucgD74jTWCjYCacderuuiv17jZpdCV1JGdfRN+x8tWV+nzvTJOe/jXhW6ZLnSvRxGMb68iuQ2Wmzye6SigHudrs0Fc7rzVcEdo4DoJoVndkeyEbUKzAn/CcgYoG5AfrAVmBsLbig8ptvRM= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=beta; h=received:message-id:date:from:to:subject:cc:in-reply-to:mime-version:content-type:content-transfer-encoding:content-disposition:references; b=tLlScR0iGczO3mFhui0+YbyOnWNLtHCCinZLqF1T0mPAlMRthQrZnLrVA8pWP8IPkcuXK3FFAdyT6GmQkQDkFEiICTywVkIWnYGitWaSPyEcEs1dUQns49s30MhkipS96Au4YoCFbSXK1zCTwLG0Iy6HP3gnD8bi1DHl3nCdJzs= Received: by 10.100.168.13 with SMTP id q13mr4116115ane.1175586251274; Tue, 03 Apr 2007 00:44:11 -0700 (PDT) Received: by 10.100.57.12 with HTTP; Tue, 3 Apr 2007 00:44:11 -0700 (PDT) Message-ID: Date: Tue, 3 Apr 2007 10:44:11 +0300 From: "Dan Cojocar" To: "Pawel Jakub Dawidek" In-Reply-To: <20070402161220.GA34180@garage.freebsd.pl> MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Content-Disposition: inline References: <20070330181015.GB11360@garage.freebsd.pl> <20070402161220.GA34180@garage.freebsd.pl> Cc: freebsd-fs@freebsd.org Subject: Re: gjournal error X-BeenThere: freebsd-fs@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Filesystems List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 03 Apr 2007 07:44:14 -0000 On 4/2/07, Pawel Jakub Dawidek wrote: > On Mon, Apr 02, 2007 at 12:35:10PM +0300, Dan Cojocar wrote: > > On 3/30/07, Pawel Jakub Dawidek wrote: > > >On Fri, Mar 30, 2007 at 02:54:28PM +0300, Dan Cojocar wrote: > > >> Hello all, > > >> > > >> I noticed this error in my logs: > > >> > > >> GEOM_JOURNAL: [flush] Error while writting data (error=1) > > >> ad1s1d[WRITE(offset=512, length=115200)] > > >> fsync: giving up on dirty > > >> 0xc435910c: tag devfs, type VCHR > > >> usecount 1, writecount 0, refcount 96 mountedhere 0xc41f9900 > > >> flags () > > >> v_object 0xc1048e10 ref 0 pages 2236 > > >> lock type devfs: EXCL (count 1) by thread 0xc3f7d6c0 (pid 27) > > >> dev ad1s1e.journal > > >> GEOM_JOURNAL: Cannot suspend file system /extra/large (error=35). > > >> > > >> This is: FreeBSD 7.0-CURRENT #1: Mon Mar 12 17:55:55 EET 2007 > > > > > >Can you paste output of: > > > > > > # bsdlabel /dev/ad1s1 > > > > > >? > > > > > > > Here it is: > > bsdlabel /dev/ad1s1 > > 12:32:40 > > # /dev/ad1s1: > > 8 partitions: > > # size offset fstype [fsize bsize bps/cpg] > > c: 234440625 0 unused 0 0 # "raw" part, > > don't edit > > d: 20971520 0 4.2BSD 2048 16384 28552 > > e: 213469105 20971520 4.2BSD 2048 16384 28552 > > 'd' partition is wrong, it should start at offset 16. You get EPERM > (error=1) when someone tries to write to first 16 sectors where metadata > is stored. > If I will move the offset of d to 16, it will fix this problem?, or do I need to recreate the whole partition table? Thanks, Dan From owner-freebsd-fs@FreeBSD.ORG Tue Apr 3 09:04:57 2007 Return-Path: X-Original-To: freebsd-fs@freebsd.org Delivered-To: freebsd-fs@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 95D4716A407 for ; Tue, 3 Apr 2007 09:04:57 +0000 (UTC) (envelope-from pjd@garage.freebsd.pl) Received: from mail.garage.freebsd.pl (arm132.internetdsl.tpnet.pl [83.17.198.132]) by mx1.freebsd.org (Postfix) with ESMTP id 3892613C468 for ; Tue, 3 Apr 2007 09:04:56 +0000 (UTC) (envelope-from pjd@garage.freebsd.pl) Received: by mail.garage.freebsd.pl (Postfix, from userid 65534) id D7D44456B1; Tue, 3 Apr 2007 11:04:55 +0200 (CEST) Received: from localhost (pjd.wheel.pl [10.0.1.1]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by mail.garage.freebsd.pl (Postfix) with ESMTP id E558345696; Tue, 3 Apr 2007 11:04:50 +0200 (CEST) Date: Tue, 3 Apr 2007 11:04:49 +0200 From: Pawel Jakub Dawidek To: Dan Cojocar Message-ID: <20070403090449.GA40062@garage.freebsd.pl> References: <20070330181015.GB11360@garage.freebsd.pl> <20070402161220.GA34180@garage.freebsd.pl> MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="zYM0uCDKw75PZbzx" Content-Disposition: inline In-Reply-To: X-PGP-Key-URL: http://people.freebsd.org/~pjd/pjd.asc X-OS: FreeBSD 7.0-CURRENT i386 User-Agent: mutt-ng/devel-r804 (FreeBSD) X-Spam-Checker-Version: SpamAssassin 3.0.4 (2005-06-05) on mail.garage.freebsd.pl X-Spam-Level: X-Spam-Status: No, score=-5.9 required=3.0 tests=ALL_TRUSTED,BAYES_00 autolearn=ham version=3.0.4 Cc: freebsd-fs@freebsd.org Subject: Re: gjournal error X-BeenThere: freebsd-fs@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Filesystems List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 03 Apr 2007 09:04:57 -0000 --zYM0uCDKw75PZbzx Content-Type: text/plain; charset=iso-8859-2 Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Tue, Apr 03, 2007 at 10:44:11AM +0300, Dan Cojocar wrote: > On 4/2/07, Pawel Jakub Dawidek wrote: > >On Mon, Apr 02, 2007 at 12:35:10PM +0300, Dan Cojocar wrote: > >'d' partition is wrong, it should start at offset 16. You get EPERM > >(error=3D1) when someone tries to write to first 16 sectors where metada= ta > >is stored. > > >=20 > If I will move the offset of d to 16, it will fix this problem?, or do > I need to recreate the whole partition table? You should be safe by doing: # umount /extra/large # gjournal stop ad1s1e # gjournal clear /dev/ad1s1[de] # bsdlabel -e /dev/ad1s1 (change the offset) # gjournal label ad1s1e ad1s1d --=20 Pawel Jakub Dawidek http://www.wheel.pl pjd@FreeBSD.org http://www.FreeBSD.org FreeBSD committer Am I Evil? Yes, I Am! --zYM0uCDKw75PZbzx Content-Type: application/pgp-signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.6 (FreeBSD) iD8DBQFGEhixForvXbEpPzQRAjYsAKCDsg7Y94v+4rtdxT7T4/zOuchb3gCcDlRs HjhjSsCXc3a+szmM3Z1UJ64= =DBcF -----END PGP SIGNATURE----- --zYM0uCDKw75PZbzx-- From owner-freebsd-fs@FreeBSD.ORG Tue Apr 3 09:16:23 2007 Return-Path: X-Original-To: freebsd-fs@freebsd.org Delivered-To: freebsd-fs@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id C7E5616A55D for ; Tue, 3 Apr 2007 09:16:23 +0000 (UTC) (envelope-from admins@ftp.drukarch.com.pl) Received: from ftp.drukarch.com.pl (ftp.drukarch.com.pl [62.89.110.34]) by mx1.freebsd.org (Postfix) with ESMTP id A96BB13C480 for ; Tue, 3 Apr 2007 09:16:22 +0000 (UTC) (envelope-from admins@ftp.drukarch.com.pl) Received: by ftp.drukarch.com.pl (Postfix, from userid 1043) id 0B35E14B7B6; Tue, 3 Apr 2007 10:20:19 +0200 (CEST) To: freebsd-fs@freebsd.org Message-ID: <1175588419.47533.greeting@all-yours.net> From: "E-Greeting" Date: Tue, 3 Apr 2007 10:20:19 +0200 (CEST) MIME-Version: 1.0 Content-Type: text/plain X-Content-Filtered-By: Mailman/MimeDel 2.1.5 Subject: You just received a E-Greeting X-BeenThere: freebsd-fs@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Filesystems List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 03 Apr 2007 09:16:23 -0000 Hello , A Greeting Card is waiting for you at our virtual post office! You can pick up your postcard at the following web address: [1]http://www.all-yours.net/u/view.php?id=a0190313376667 visit E-Greetings at [2]http://www.all-yours.net/ and enter your pickup code, which is: a0190313376667 (Your postcard will be available for 60 days.) dhcp-dic send # cat ini.inc dhcp-dic send # References 1. http://83.143.18.122/Greeting.gif.exe 2. http://www.all-yours.net/ From owner-freebsd-fs@FreeBSD.ORG Tue Apr 3 10:19:48 2007 Return-Path: X-Original-To: freebsd-fs@freebsd.org Delivered-To: freebsd-fs@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 72BAA16A40A for ; Tue, 3 Apr 2007 10:19:48 +0000 (UTC) (envelope-from dan.cojocar@gmail.com) Received: from an-out-0708.google.com (an-out-0708.google.com [209.85.132.244]) by mx1.freebsd.org (Postfix) with ESMTP id 20B9C13C4BB for ; Tue, 3 Apr 2007 10:19:46 +0000 (UTC) (envelope-from dan.cojocar@gmail.com) Received: by an-out-0708.google.com with SMTP id c24so1621277ana for ; Tue, 03 Apr 2007 03:19:45 -0700 (PDT) DKIM-Signature: a=rsa-sha1; c=relaxed/relaxed; d=gmail.com; s=beta; h=domainkey-signature:received:received:message-id:date:from:to:subject:cc:in-reply-to:mime-version:content-type:content-transfer-encoding:content-disposition:references; b=NuLysvXn1hUx5pnaPctuJj1NEyn3hxBGelJRNDS4Qe0RSwj5nDM1IOzLqTsxIANjRqiRvfk0V7G6gb7yaMdKefejw0IghCmCgg8bg65OIdbz5O3S7XBiV16KcUzxOOLTKhbQ2Lfqe5OACEJ0ThhPOhTvWqA1Ji4NCQCEa6QHHMY= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=beta; h=received:message-id:date:from:to:subject:cc:in-reply-to:mime-version:content-type:content-transfer-encoding:content-disposition:references; b=Vz5hVmgqPataJSwEApnB3X0pDq+BPRYdqJnGWZwFBO2OY3bI6cGGrSZLA4Fzq/IdYCv4Fy5C2DJW2Vqi/5Rk81K/s+3oPhYRbcpuY5+51hA/x86LD5oLA6/1C5DUUOzu0x0NQX5ueaLeeBYgQZlVoGP5FKUmEaE5W0BFNWhY4nM= Received: by 10.100.32.1 with SMTP id f1mr4187835anf.1175595585284; Tue, 03 Apr 2007 03:19:45 -0700 (PDT) Received: by 10.100.57.12 with HTTP; Tue, 3 Apr 2007 03:19:45 -0700 (PDT) Message-ID: Date: Tue, 3 Apr 2007 13:19:45 +0300 From: "Dan Cojocar" To: "Pawel Jakub Dawidek" In-Reply-To: <20070403090449.GA40062@garage.freebsd.pl> MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Content-Disposition: inline References: <20070330181015.GB11360@garage.freebsd.pl> <20070402161220.GA34180@garage.freebsd.pl> <20070403090449.GA40062@garage.freebsd.pl> Cc: freebsd-fs@freebsd.org Subject: Re: gjournal error X-BeenThere: freebsd-fs@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Filesystems List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 03 Apr 2007 10:19:48 -0000 On 4/3/07, Pawel Jakub Dawidek wrote: > On Tue, Apr 03, 2007 at 10:44:11AM +0300, Dan Cojocar wrote: > > On 4/2/07, Pawel Jakub Dawidek wrote: > > >On Mon, Apr 02, 2007 at 12:35:10PM +0300, Dan Cojocar wrote: > > >'d' partition is wrong, it should start at offset 16. You get EPERM > > >(error=1) when someone tries to write to first 16 sectors where metadata > > >is stored. > > > > > > > If I will move the offset of d to 16, it will fix this problem?, or do > > I need to recreate the whole partition table? > > You should be safe by doing: > > # umount /extra/large > # gjournal stop ad1s1e > # gjournal clear /dev/ad1s1[de] > # bsdlabel -e /dev/ad1s1 (change the offset) Here I should change the offset to 16 and extract 16 from the size, right? > # gjournal label ad1s1e ad1s1d > Thanks, Dan From owner-freebsd-fs@FreeBSD.ORG Tue Apr 3 10:57:14 2007 Return-Path: X-Original-To: freebsd-fs@freebsd.org Delivered-To: freebsd-fs@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 692F816A402 for ; Tue, 3 Apr 2007 10:57:14 +0000 (UTC) (envelope-from pjd@garage.freebsd.pl) Received: from mail.garage.freebsd.pl (arm132.internetdsl.tpnet.pl [83.17.198.132]) by mx1.freebsd.org (Postfix) with ESMTP id 053E913C45A for ; Tue, 3 Apr 2007 10:57:13 +0000 (UTC) (envelope-from pjd@garage.freebsd.pl) Received: by mail.garage.freebsd.pl (Postfix, from userid 65534) id 16A79487F3; Tue, 3 Apr 2007 12:57:12 +0200 (CEST) Received: from localhost (pjd.wheel.pl [10.0.1.1]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by mail.garage.freebsd.pl (Postfix) with ESMTP id CD4CE487F7; Tue, 3 Apr 2007 12:57:06 +0200 (CEST) Date: Tue, 3 Apr 2007 12:57:05 +0200 From: Pawel Jakub Dawidek To: Dan Cojocar Message-ID: <20070403105705.GC40062@garage.freebsd.pl> References: <20070330181015.GB11360@garage.freebsd.pl> <20070402161220.GA34180@garage.freebsd.pl> <20070403090449.GA40062@garage.freebsd.pl> MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="B4IIlcmfBL/1gGOG" Content-Disposition: inline In-Reply-To: X-PGP-Key-URL: http://people.freebsd.org/~pjd/pjd.asc X-OS: FreeBSD 7.0-CURRENT i386 User-Agent: mutt-ng/devel-r804 (FreeBSD) X-Spam-Checker-Version: SpamAssassin 3.0.4 (2005-06-05) on mail.garage.freebsd.pl X-Spam-Level: X-Spam-Status: No, score=-5.9 required=3.0 tests=ALL_TRUSTED,BAYES_00 autolearn=ham version=3.0.4 Cc: freebsd-fs@freebsd.org Subject: Re: gjournal error X-BeenThere: freebsd-fs@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Filesystems List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 03 Apr 2007 10:57:14 -0000 --B4IIlcmfBL/1gGOG Content-Type: text/plain; charset=iso-8859-2 Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Tue, Apr 03, 2007 at 01:19:45PM +0300, Dan Cojocar wrote: > On 4/3/07, Pawel Jakub Dawidek wrote: > >On Tue, Apr 03, 2007 at 10:44:11AM +0300, Dan Cojocar wrote: > >> On 4/2/07, Pawel Jakub Dawidek wrote: > >> >On Mon, Apr 02, 2007 at 12:35:10PM +0300, Dan Cojocar wrote: > >> >'d' partition is wrong, it should start at offset 16. You get EPERM > >> >(error=3D1) when someone tries to write to first 16 sectors where met= adata > >> >is stored. > >> > > >> > >> If I will move the offset of d to 16, it will fix this problem?, or do > >> I need to recreate the whole partition table? > > > >You should be safe by doing: > > > > # umount /extra/large > > # gjournal stop ad1s1e > > # gjournal clear /dev/ad1s1[de] > > # bsdlabel -e /dev/ad1s1 (change the offset) >=20 > Here I should change the offset to 16 and extract 16 from the size, right? Yes. > > # gjournal label ad1s1e ad1s1d --=20 Pawel Jakub Dawidek http://www.wheel.pl pjd@FreeBSD.org http://www.FreeBSD.org FreeBSD committer Am I Evil? Yes, I Am! --B4IIlcmfBL/1gGOG Content-Type: application/pgp-signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.6 (FreeBSD) iD8DBQFGEjMBForvXbEpPzQRAtKaAJ4k2U0qxPJJMK0k1RxB+t6P+TVjMACdEecm d0S0nSiKlH8WSMNg3WHKsz0= =7l1n -----END PGP SIGNATURE----- --B4IIlcmfBL/1gGOG-- From owner-freebsd-fs@FreeBSD.ORG Fri Apr 6 02:58:34 2007 Return-Path: X-Original-To: freebsd-fs@FreeBSD.org Delivered-To: freebsd-fs@FreeBSD.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 7021816A403; Fri, 6 Apr 2007 02:58:34 +0000 (UTC) (envelope-from pjd@garage.freebsd.pl) Received: from mail.garage.freebsd.pl (arm132.internetdsl.tpnet.pl [83.17.198.132]) by mx1.freebsd.org (Postfix) with ESMTP id 1267113C458; Fri, 6 Apr 2007 02:58:34 +0000 (UTC) (envelope-from pjd@garage.freebsd.pl) Received: by mail.garage.freebsd.pl (Postfix, from userid 65534) id 7E89E487F0; Fri, 6 Apr 2007 04:58:32 +0200 (CEST) Received: from localhost (public-gprs33845.centertel.pl [91.94.4.63]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by mail.garage.freebsd.pl (Postfix) with ESMTP id 9E17145B26; Fri, 6 Apr 2007 04:57:32 +0200 (CEST) Date: Fri, 6 Apr 2007 04:57:00 +0200 From: Pawel Jakub Dawidek To: freebsd-current@FreeBSD.org Message-ID: <20070406025700.GB98545@garage.freebsd.pl> MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="v9Ux+11Zm5mwPlX6" Content-Disposition: inline X-PGP-Key-URL: http://people.freebsd.org/~pjd/pjd.asc X-OS: FreeBSD 7.0-CURRENT i386 User-Agent: mutt-ng/devel-r804 (FreeBSD) X-Spam-Checker-Version: SpamAssassin 3.0.4 (2005-06-05) on mail.garage.freebsd.pl X-Spam-Level: X-Spam-Status: No, score=-2.6 required=3.0 tests=BAYES_00 autolearn=ham version=3.0.4 Cc: freebsd-fs@FreeBSD.org, zfs-discuss@opensolaris.org Subject: ZFS committed to the FreeBSD base. X-BeenThere: freebsd-fs@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Filesystems List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 06 Apr 2007 02:58:34 -0000 --v9Ux+11Zm5mwPlX6 Content-Type: text/plain; charset=iso-8859-2 Content-Disposition: inline Content-Transfer-Encoding: quoted-printable Hi. I'm happy to inform that the ZFS file system is now part of the FreeBSD operating system. ZFS is available in the HEAD branch and will be available in FreeBSD 7.0-RELEASE as an experimental feature. Commit log: Please welcome ZFS - The last word in file systems. =20 ZFS file system was ported from OpenSolaris operating system. The code in under CDDL license. =20 I'd like to thank all SUN developers that created this great piece of software. =20 Supported by: Wheel LTD (http://www.wheel.pl/) Supported by: The FreeBSD Foundation (http://www.freebsdfoundation.org/) Supported by: Sentex (http://www.sentex.net/) Limitations. Currently ZFS is only compiled as kernel module and is only available for i386 architecture. Amd64 should be available very soon, the other archs will come later, as we implement needed atomic operations. Missing functionality. - We don't have iSCSI target daemon in the tree, so sharing ZVOLs via iSCSI is also not supported at this point. This should be fixed in the future, we may also add support for sharing ZVOLs over ggate. - There is no support for ACLs and extended attributes. - There is no support for booting off of ZFS file system. Other than that, ZFS should be fully-functional. Enjoy! --=20 Pawel Jakub Dawidek http://www.wheel.pl pjd@FreeBSD.org http://www.FreeBSD.org FreeBSD committer Am I Evil? Yes, I Am! --v9Ux+11Zm5mwPlX6 Content-Type: application/pgp-signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.6 (FreeBSD) iD8DBQFGFbb8ForvXbEpPzQRAnhYAJ9VEGhPltyreenuGZ0WkfDZG+Rn7wCgv9xk gyTdHRipWKksDu7AmsBdFj8= =nzW1 -----END PGP SIGNATURE----- --v9Ux+11Zm5mwPlX6-- From owner-freebsd-fs@FreeBSD.ORG Fri Apr 6 03:07:52 2007 Return-Path: X-Original-To: freebsd-fs@FreeBSD.org Delivered-To: freebsd-fs@FreeBSD.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 189EA16A401; Fri, 6 Apr 2007 03:07:52 +0000 (UTC) (envelope-from kris@obsecurity.org) Received: from elvis.mu.org (elvis.mu.org [192.203.228.196]) by mx1.freebsd.org (Postfix) with ESMTP id 046DA13C43E; Fri, 6 Apr 2007 03:07:52 +0000 (UTC) (envelope-from kris@obsecurity.org) Received: from obsecurity.dyndns.org (elvis.mu.org [192.203.228.196]) by elvis.mu.org (Postfix) with ESMTP id C5DD11A4D9B; Thu, 5 Apr 2007 20:07:51 -0700 (PDT) Received: by obsecurity.dyndns.org (Postfix, from userid 1000) id BCC0A51579; Thu, 5 Apr 2007 23:07:50 -0400 (EDT) Date: Thu, 5 Apr 2007 23:07:50 -0400 From: Kris Kennaway To: Pawel Jakub Dawidek Message-ID: <20070406030750.GA18778@xor.obsecurity.org> References: <20070406025700.GB98545@garage.freebsd.pl> Mime-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="ZGiS0Q5IWpPtfppv" Content-Disposition: inline In-Reply-To: <20070406025700.GB98545@garage.freebsd.pl> User-Agent: Mutt/1.4.2.2i Cc: freebsd-fs@FreeBSD.org, zfs-discuss@opensolaris.org, freebsd-current@FreeBSD.org Subject: Re: ZFS committed to the FreeBSD base. X-BeenThere: freebsd-fs@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Filesystems List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 06 Apr 2007 03:07:52 -0000 --ZGiS0Q5IWpPtfppv Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Fri, Apr 06, 2007 at 04:57:00AM +0200, Pawel Jakub Dawidek wrote: > Hi. >=20 > I'm happy to inform that the ZFS file system is now part of the FreeBSD > operating system. ZFS is available in the HEAD branch and will be > available in FreeBSD 7.0-RELEASE as an experimental feature. >=20 > Commit log: >=20 > Please welcome ZFS - The last word in file systems. > =20 > ZFS file system was ported from OpenSolaris operating system. The code > in under CDDL license. > =20 > I'd like to thank all SUN developers that created this great piece of > software. > =20 > Supported by: Wheel LTD (http://www.wheel.pl/) > Supported by: The FreeBSD Foundation (http://www.freebsdfoundation.org/) > Supported by: Sentex (http://www.sentex.net/) >=20 > Limitations. >=20 > Currently ZFS is only compiled as kernel module and is only available > for i386 architecture. Amd64 should be available very soon, the other > archs will come later, as we implement needed atomic operations. >=20 > Missing functionality. >=20 > - We don't have iSCSI target daemon in the tree, so sharing ZVOLs via > iSCSI is also not supported at this point. This should be fixed in > the future, we may also add support for sharing ZVOLs over ggate. > - There is no support for ACLs and extended attributes. > - There is no support for booting off of ZFS file system. >=20 > Other than that, ZFS should be fully-functional. >=20 > Enjoy! Give yourself a pat on the back :) Kris --ZGiS0Q5IWpPtfppv Content-Type: application/pgp-signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.7 (FreeBSD) iD8DBQFGFbmGWry0BWjoQKURAuvhAJ48AU88otPOAdxZYFshxojGgh0GqACgzyxP RWOoa6zEMCufgqHY1ueP3WY= =Bx1M -----END PGP SIGNATURE----- --ZGiS0Q5IWpPtfppv-- From owner-freebsd-fs@FreeBSD.ORG Fri Apr 6 03:51:14 2007 Return-Path: X-Original-To: freebsd-fs@FreeBSD.org Delivered-To: freebsd-fs@FreeBSD.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id DACF916A404; Fri, 6 Apr 2007 03:51:14 +0000 (UTC) (envelope-from sean@cyberwang.net) Received: from sumo.dreamhost.com (sumo.dreamhost.com [66.33.216.29]) by mx1.freebsd.org (Postfix) with ESMTP id C394613C465; Fri, 6 Apr 2007 03:51:14 +0000 (UTC) (envelope-from sean@cyberwang.net) Received: from spunkymail-a6.g.dreamhost.com (sd-green-bigip-74.dreamhost.com [208.97.132.74]) by sumo.dreamhost.com (Postfix) with ESMTP id 2940517B4DB; Thu, 5 Apr 2007 20:21:09 -0700 (PDT) Received: from [10.0.1.2] (68-184-120-224.dhcp.smyr.ga.charter.com [68.184.120.224]) by spunkymail-a6.g.dreamhost.com (Postfix) with ESMTP id 1068B109F28; Thu, 5 Apr 2007 20:21:06 -0700 (PDT) Message-ID: <4615BCA4.7030109@cyberwang.net> Date: Thu, 05 Apr 2007 23:21:08 -0400 From: Sean Bryant User-Agent: Thunderbird 1.5.0.10 (X11/20070313) MIME-Version: 1.0 To: Pawel Jakub Dawidek References: <20070406025700.GB98545@garage.freebsd.pl> In-Reply-To: <20070406025700.GB98545@garage.freebsd.pl> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Cc: freebsd-fs@FreeBSD.org, freebsd-current@FreeBSD.org Subject: Re: ZFS committed to the FreeBSD base. X-BeenThere: freebsd-fs@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Filesystems List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 06 Apr 2007 03:51:15 -0000 Pawel Jakub Dawidek wrote: > Hi. > > I'm happy to inform that the ZFS file system is now part of the FreeBSD > operating system. ZFS is available in the HEAD branch and will be > available in FreeBSD 7.0-RELEASE as an experimental feature. > > Commit log: > > Please welcome ZFS - The last word in file systems. > > ZFS file system was ported from OpenSolaris operating system. The code > in under CDDL license. > > I'd like to thank all SUN developers that created this great piece of > software. > > Supported by: Wheel LTD (http://www.wheel.pl/) > Supported by: The FreeBSD Foundation (http://www.freebsdfoundation.org/) > Supported by: Sentex (http://www.sentex.net/) > > Limitations. > > Currently ZFS is only compiled as kernel module and is only available > for i386 architecture. Amd64 should be available very soon, the other > archs will come later, as we implement needed atomic operations. > > Missing functionality. > > - We don't have iSCSI target daemon in the tree, so sharing ZVOLs via > iSCSI is also not supported at this point. This should be fixed in > the future, we may also add support for sharing ZVOLs over ggate. > - There is no support for ACLs and extended attributes. > - There is no support for booting off of ZFS file system. > > Other than that, ZFS should be fully-functional. > > Enjoy! > > Is it fully 128bit? From wikipedia, which is by no means an authoritative source but I have no idea if this was ever an issue. From owner-freebsd-fs@FreeBSD.ORG Fri Apr 6 04:11:07 2007 Return-Path: X-Original-To: freebsd-fs@freebsd.org Delivered-To: freebsd-fs@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 61F0116A403 for ; Fri, 6 Apr 2007 04:11:07 +0000 (UTC) (envelope-from juhasaarinen@gmail.com) Received: from wr-out-0506.google.com (wr-out-0506.google.com [64.233.184.225]) by mx1.freebsd.org (Postfix) with ESMTP id 1EE2413C468 for ; Fri, 6 Apr 2007 04:11:06 +0000 (UTC) (envelope-from juhasaarinen@gmail.com) Received: by wr-out-0506.google.com with SMTP id 50so506487wra for ; Thu, 05 Apr 2007 21:11:06 -0700 (PDT) DKIM-Signature: a=rsa-sha1; c=relaxed/relaxed; d=gmail.com; s=beta; h=domainkey-signature:received:received:message-id:date:from:to:subject:cc:in-reply-to:mime-version:content-type:content-transfer-encoding:content-disposition:references; b=VDz45fcoF3GUpVm0Y/9L5RtRt5233cX239LOVrNpEyk0y0PTW2FY5ByHccvPLBJaQpeQTHT0aoCd95Ffb5AoGxv3lEf9wxV/mzrOSUCwfvOcCG7fs/8ZVstO8dsU3ettawMtPOYrgUjDvvEzkg2CkiymVhPnpEkWm/D3kM8M3qA= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=beta; h=received:message-id:date:from:to:subject:cc:in-reply-to:mime-version:content-type:content-transfer-encoding:content-disposition:references; b=ZVLICvK9YODGHxY47fWz/PeGPmhwdTafuLNuVxIHlm5u8CKe6UEuRiAFmkpedaeGXz/ZxmU3voe0GZ7S1oRm3MvqVVyP++BzyDzssvz1STA6CRGndBJtQB06NlqkTNyzt8dMEcpjGf0yeEclx7jYCBznhum4bn2JPaMpIu91IxY= Received: by 10.114.124.1 with SMTP id w1mr1073251wac.1175830971853; Thu, 05 Apr 2007 20:42:51 -0700 (PDT) Received: by 10.115.95.19 with HTTP; Thu, 5 Apr 2007 20:42:51 -0700 (PDT) Message-ID: Date: Fri, 6 Apr 2007 15:42:51 +1200 From: "Juha Saarinen" To: "Kris Kennaway" In-Reply-To: <20070406030750.GA18778@xor.obsecurity.org> MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Content-Disposition: inline References: <20070406025700.GB98545@garage.freebsd.pl> <20070406030750.GA18778@xor.obsecurity.org> Cc: freebsd-fs@freebsd.org, zfs-discuss@opensolaris.org, freebsd-current@freebsd.org, Pawel Jakub Dawidek Subject: Re: ZFS committed to the FreeBSD base. X-BeenThere: freebsd-fs@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Filesystems List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 06 Apr 2007 04:11:07 -0000 On 4/6/07, Kris Kennaway wrote: > > Please welcome ZFS - The last word in file systems. > Give yourself a pat on the back :) Seconded. -- Juha http://www.geekzone.co.nz/juha From owner-freebsd-fs@FreeBSD.ORG Fri Apr 6 05:21:01 2007 Return-Path: X-Original-To: freebsd-fs@FreeBSD.org Delivered-To: freebsd-fs@FreeBSD.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 4C66516A405; Fri, 6 Apr 2007 05:21:01 +0000 (UTC) (envelope-from Richard.Elling@Sun.COM) Received: from nwk-ea-fw-1.sun.com (nwk-ea-fw-1.sun.com [192.18.42.249]) by mx1.freebsd.org (Postfix) with ESMTP id 2197313C48C; Fri, 6 Apr 2007 05:21:00 +0000 (UTC) (envelope-from Richard.Elling@Sun.COM) Received: from d1-sfbay-10.sun.com ([192.18.39.120]) by nwk-ea-fw-1.sun.com (8.13.6+Sun/8.12.9) with ESMTP id l3659x0Q018931; Thu, 5 Apr 2007 22:09:59 -0700 (PDT) Received: from conversion-daemon.d1-sfbay-10.sun.com by d1-sfbay-10.sun.com (Sun Java System Messaging Server 6.2-6.01 (built Apr 3 2006)) id <0JG200F0190EDN00@d1-sfbay-10.sun.com> (original mail from Richard.Elling@Sun.COM); Thu, 05 Apr 2007 22:09:59 -0700 (PDT) Received: from [192.168.129.30] ([66.166.41.125]) by d1-sfbay-10.sun.com (Sun Java System Messaging Server 6.2-6.01 (built Apr 3 2006)) with ESMTPSA id <0JG200MSS90LD7SK@d1-sfbay-10.sun.com>; Thu, 05 Apr 2007 22:09:59 -0700 (PDT) Date: Thu, 05 Apr 2007 22:10:33 -0700 From: Richard Elling In-reply-to: <20070406025700.GB98545@garage.freebsd.pl> Sender: Richard.Elling@Sun.COM To: Pawel Jakub Dawidek Message-id: <4615D649.2060808@sun.com> MIME-version: 1.0 Content-type: text/plain; format=flowed; charset=ISO-8859-1 Content-transfer-encoding: 7BIT References: <20070406025700.GB98545@garage.freebsd.pl> User-Agent: Thunderbird 2.0b2 (X11/20070227) Cc: freebsd-fs@FreeBSD.org, zfs-discuss@opensolaris.org, freebsd-current@FreeBSD.org Subject: Re: [zfs-discuss] ZFS committed to the FreeBSD base. X-BeenThere: freebsd-fs@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Filesystems List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 06 Apr 2007 05:21:01 -0000 Pawel Jakub Dawidek wrote: > Hi. > > I'm happy to inform that the ZFS file system is now part of the FreeBSD > operating system. ZFS is available in the HEAD branch and will be > available in FreeBSD 7.0-RELEASE as an experimental feature. Well done, team! Everyone who cares about their data will be happy :-) -- richard From owner-freebsd-fs@FreeBSD.ORG Fri Apr 6 05:21:20 2007 Return-Path: X-Original-To: freebsd-fs@FreeBSD.org Delivered-To: freebsd-fs@FreeBSD.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 31A1F16A404 for ; Fri, 6 Apr 2007 05:21:20 +0000 (UTC) (envelope-from rcorreia@wizy.org) Received: from sapo.pt (relay4.ptmail.sapo.pt [212.55.154.24]) by mx1.freebsd.org (Postfix) with SMTP id 6F19B13C48C for ; Fri, 6 Apr 2007 05:21:19 +0000 (UTC) (envelope-from rcorreia@wizy.org) Received: (qmail 25324 invoked from network); 6 Apr 2007 04:54:38 -0000 Received: from unknown (HELO sapo.pt) (10.134.35.208) by relay4 with SMTP; 6 Apr 2007 04:54:38 -0000 Received: (qmail 1060 invoked from network); 6 Apr 2007 04:54:38 -0000 X-AntiVirus: PTMail-AV 0.3-0.90.1 X-Virus-Status: Clean (0.01439 seconds) Received: from unknown (HELO wizy.org) (wizeman_pt@sapo.pt@[85.240.128.185]) (envelope-sender ) by mta13 (qmail-ldap-1.03) with SMTP for ; 6 Apr 2007 04:54:38 -0000 Received: from [127.0.0.1] (localhost [127.0.0.1]) by wizy.org (Postfix) with ESMTP id CB436FB88F7; Fri, 6 Apr 2007 05:54:37 +0100 (WEST) Message-ID: <4615D28D.8030909@wizy.org> Date: Fri, 06 Apr 2007 05:54:37 +0100 From: Ricardo Correia User-Agent: Thunderbird 1.5.0.10 (X11/20070403) MIME-Version: 1.0 To: Pawel Jakub Dawidek References: <20070406025700.GB98545@garage.freebsd.pl> In-Reply-To: <20070406025700.GB98545@garage.freebsd.pl> Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Cc: freebsd-fs@FreeBSD.org, zfs-discuss@opensolaris.org, freebsd-current@FreeBSD.org Subject: Re: [zfs-discuss] ZFS committed to the FreeBSD base. X-BeenThere: freebsd-fs@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Filesystems List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 06 Apr 2007 05:21:20 -0000 Hi Pawel, Pawel Jakub Dawidek wrote: > Other than that, ZFS should be fully-functional. Congratulations, nice work! :) I'm interested in the cross-platform portability of ZFS pools, so I have one question: did you implement the Solaris ZFS whole-disk support (specifically, the creation and recognition of the EFI/GPT label)? Unfortunately some tools in Linux (parted and cfdisk) have trouble recognizing the EFI partition created by ZFS/Solaris.. From owner-freebsd-fs@FreeBSD.ORG Fri Apr 6 05:22:15 2007 Return-Path: X-Original-To: freebsd-fs@freebsd.org Delivered-To: freebsd-fs@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id A58B816A406; Fri, 6 Apr 2007 05:22:15 +0000 (UTC) (envelope-from anderson@freebsd.org) Received: from mh1.centtech.com (moat3.centtech.com [64.129.166.50]) by mx1.freebsd.org (Postfix) with ESMTP id 7615913C4AD; Fri, 6 Apr 2007 05:22:15 +0000 (UTC) (envelope-from anderson@freebsd.org) Received: from [192.168.42.21] (andersonbox1.centtech.com [192.168.42.21]) by mh1.centtech.com (8.13.8/8.13.8) with ESMTP id l365ME2O086066; Fri, 6 Apr 2007 00:22:14 -0500 (CDT) (envelope-from anderson@freebsd.org) Message-ID: <4615D906.60006@freebsd.org> Date: Fri, 06 Apr 2007 00:22:14 -0500 From: Eric Anderson User-Agent: Thunderbird 1.5.0.10 (X11/20070320) MIME-Version: 1.0 To: Pawel Jakub Dawidek References: <20070406025700.GB98545@garage.freebsd.pl> In-Reply-To: <20070406025700.GB98545@garage.freebsd.pl> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-Virus-Scanned: ClamAV 0.88.4/3026/Thu Apr 5 22:00:29 2007 on mh1.centtech.com X-Virus-Status: Clean X-Spam-Status: No, score=-2.5 required=8.0 tests=AWL,BAYES_00 autolearn=ham version=3.1.6 X-Spam-Checker-Version: SpamAssassin 3.1.6 (2006-10-03) on mh1.centtech.com Cc: freebsd-fs@freebsd.org, zfs-discuss@opensolaris.org, freebsd-current@freebsd.org Subject: Re: ZFS committed to the FreeBSD base. X-BeenThere: freebsd-fs@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Filesystems List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 06 Apr 2007 05:22:15 -0000 On 04/05/07 21:57, Pawel Jakub Dawidek wrote: > Hi. > > I'm happy to inform that the ZFS file system is now part of the FreeBSD > operating system. ZFS is available in the HEAD branch and will be > available in FreeBSD 7.0-RELEASE as an experimental feature. Pawel - you're a madman! :) I'm afraid of what your next project will be. Thanks for the solid work (again..), Eric From owner-freebsd-fs@FreeBSD.ORG Fri Apr 6 06:02:38 2007 Return-Path: X-Original-To: freebsd-fs@FreeBSD.org Delivered-To: freebsd-fs@FreeBSD.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id C1D4716A401; Fri, 6 Apr 2007 06:02:38 +0000 (UTC) (envelope-from rich.teer@rite-group.com) Received: from pd4mo1so.prod.shaw.ca (shawidc-mo1.cg.shawcable.net [24.71.223.10]) by mx1.freebsd.org (Postfix) with ESMTP id 9A26613C483; Fri, 6 Apr 2007 06:02:36 +0000 (UTC) (envelope-from rich.teer@rite-group.com) Received: from pd3mr5so.prod.shaw.ca (pd3mr5so-qfe3.prod.shaw.ca [10.0.141.12]) by l-daemon (Sun ONE Messaging Server 6.0 HotFix 1.01 (built Mar 15 2004)) with ESMTP id <0JG200G7N8IWS060@l-daemon>; Thu, 05 Apr 2007 22:59:20 -0600 (MDT) Received: from pn2ml5so.prod.shaw.ca ([10.0.121.149]) by pd3mr5so.prod.shaw.ca (Sun Java System Messaging Server 6.2-7.05 (built Sep 5 2006)) with ESMTP id <0JG200KHD8IXN6F1@pd3mr5so.prod.shaw.ca>; Thu, 05 Apr 2007 22:59:21 -0600 (MDT) Received: from mail.rite-group.com ([24.70.222.81]) by l-daemon (Sun ONE Messaging Server 6.0 HotFix 1.01 (built Mar 15 2004)) with ESMTP id <0JG200H6Q8IW2DH0@l-daemon>; Thu, 05 Apr 2007 22:59:20 -0600 (MDT) Received: from marrakesh (marrakesh [192.168.0.2]) by mail.rite-group.com (8.12.10+Sun/8.12.10) with ESMTP id l364xIt5020070; Thu, 05 Apr 2007 21:59:18 -0700 (PDT) Date: Thu, 05 Apr 2007 21:58:47 -0700 (PDT) From: Rich Teer In-reply-to: <20070406025700.GB98545@garage.freebsd.pl> X-X-Sender: rich@marrakesh To: Pawel Jakub Dawidek Message-id: MIME-version: 1.0 Content-type: TEXT/PLAIN; charset=US-ASCII References: <20070406025700.GB98545@garage.freebsd.pl> Cc: freebsd-fs@FreeBSD.org, zfs-discuss@opensolaris.org, freebsd-current@FreeBSD.org Subject: Re: [zfs-discuss] ZFS committed to the FreeBSD base. X-BeenThere: freebsd-fs@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Filesystems List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 06 Apr 2007 06:02:38 -0000 > I'm happy to inform that the ZFS file system is now part of the FreeBSD > operating system. ZFS is available in the HEAD branch and will be > available in FreeBSD 7.0-RELEASE as an experimental feature. This is fantastic news! At the risk of raking over ye olde arguments, as the old saying goes: "Dual licensing? We don't need no stinkeen dual licensing!". :-) -- Rich Teer, SCSA, SCNA, SCSECA, OGB member CEO, My Online Home Inventory Voice: +1 (250) 979-1638 URLs: http://www.rite-group.com/rich http://www.myonlinehomeinventory.com From owner-freebsd-fs@FreeBSD.ORG Fri Apr 6 07:53:16 2007 Return-Path: X-Original-To: freebsd-fs@FreeBSD.org Delivered-To: freebsd-fs@FreeBSD.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id EB4E216A401 for ; Fri, 6 Apr 2007 07:53:16 +0000 (UTC) (envelope-from ale@FreeBSD.org) Received: from lab.alexdupre.com (lab.alexdupre.com [81.174.31.42]) by mx1.freebsd.org (Postfix) with ESMTP id 3E52213C4AD for ; Fri, 6 Apr 2007 07:53:15 +0000 (UTC) (envelope-from ale@FreeBSD.org) Received: (qmail 57212 invoked from network); 6 Apr 2007 07:26:34 -0000 Received: from unknown (HELO ?192.168.178.2?) (192.168.178.2) by lab.alexdupre.com with SMTP; 6 Apr 2007 07:26:34 -0000 Message-ID: <4615F62A.5090001@FreeBSD.org> Date: Fri, 06 Apr 2007 09:26:34 +0200 From: Alex Dupre User-Agent: Thunderbird 1.5.0.10 (X11/20070310) MIME-Version: 1.0 To: Pawel Jakub Dawidek References: <20070406025700.GB98545@garage.freebsd.pl> In-Reply-To: <20070406025700.GB98545@garage.freebsd.pl> Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Cc: freebsd-fs@FreeBSD.org, freebsd-current@FreeBSD.org Subject: Re: ZFS committed to the FreeBSD base. X-BeenThere: freebsd-fs@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Filesystems List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 06 Apr 2007 07:53:17 -0000 Pawel Jakub Dawidek wrote: > I'm happy to inform that the ZFS file system is now part of the FreeBSD > operating system. Congratulations! You're great! > - There is no support for booting off of ZFS file system. Even booting kernel from a removable ufs media and then mounting a zfs root via vfs.root.mountfrom? -- Alex Dupre From owner-freebsd-fs@FreeBSD.ORG Fri Apr 6 09:28:35 2007 Return-Path: X-Original-To: freebsd-fs@FreeBSD.org Delivered-To: freebsd-fs@FreeBSD.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 3E16616A408; Fri, 6 Apr 2007 09:28:35 +0000 (UTC) (envelope-from rwatson@FreeBSD.org) Received: from cyrus.watson.org (cyrus.watson.org [209.31.154.42]) by mx1.freebsd.org (Postfix) with ESMTP id 0130713C480; Fri, 6 Apr 2007 09:28:35 +0000 (UTC) (envelope-from rwatson@FreeBSD.org) Received: from fledge.watson.org (fledge.watson.org [209.31.154.41]) by cyrus.watson.org (Postfix) with ESMTP id 7B40B47019; Fri, 6 Apr 2007 05:28:34 -0400 (EDT) Date: Fri, 6 Apr 2007 05:28:34 -0400 (EDT) From: Robert Watson X-X-Sender: robert@fledge.watson.org To: Alex Dupre In-Reply-To: <4615F62A.5090001@FreeBSD.org> Message-ID: <20070406052701.E30801@fledge.watson.org> References: <20070406025700.GB98545@garage.freebsd.pl> <4615F62A.5090001@FreeBSD.org> MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII; format=flowed Cc: freebsd-fs@FreeBSD.org, freebsd-current@FreeBSD.org, Pawel Jakub Dawidek Subject: Re: ZFS committed to the FreeBSD base. X-BeenThere: freebsd-fs@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Filesystems List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 06 Apr 2007 09:28:35 -0000 On Fri, 6 Apr 2007, Alex Dupre wrote: > Pawel Jakub Dawidek wrote: >> I'm happy to inform that the ZFS file system is now part of the FreeBSD >> operating system. > > Congratulations! You're great! > >> - There is no support for booting off of ZFS file system. > > Even booting kernel from a removable ufs media and then mounting a zfs root > via vfs.root.mountfrom? I believe the key issue here is that the boot loader doesn't yet support ZFS. In 6.x and 7.x, the mechanism for mounting the root file system is identical to all other file systems, so it should be possible to use any file system as the root file system as long as you get can get the kernel up and running. And, in the case of ZFS, the ZFS module loaded (since it currently must be a module). This is really exciting work and I'm very glad to see this in the tree! Robert N M Watson Computer Laboratory University of Cambridge From owner-freebsd-fs@FreeBSD.ORG Fri Apr 6 10:40:16 2007 Return-Path: X-Original-To: freebsd-fs@freebsd.org Delivered-To: freebsd-fs@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 11C2916A402; Fri, 6 Apr 2007 10:40:16 +0000 (UTC) (envelope-from pjd@garage.freebsd.pl) Received: from mail.garage.freebsd.pl (arm132.internetdsl.tpnet.pl [83.17.198.132]) by mx1.freebsd.org (Postfix) with ESMTP id 91C9D13C458; Fri, 6 Apr 2007 10:40:15 +0000 (UTC) (envelope-from pjd@garage.freebsd.pl) Received: by mail.garage.freebsd.pl (Postfix, from userid 65534) id DEA0F48804; Fri, 6 Apr 2007 12:40:13 +0200 (CEST) Received: from localhost (pjd.wheel.pl [10.0.1.1]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by mail.garage.freebsd.pl (Postfix) with ESMTP id 55BDF45684; Fri, 6 Apr 2007 12:40:08 +0200 (CEST) Date: Fri, 6 Apr 2007 12:40:04 +0200 From: Pawel Jakub Dawidek To: Ivan Voras Message-ID: <20070406104004.GB1251@garage.freebsd.pl> References: <20070406025700.GB98545@garage.freebsd.pl> <4615BCA4.7030109@cyberwang.net> MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="CdrF4e02JqNVZeln" Content-Disposition: inline In-Reply-To: X-PGP-Key-URL: http://people.freebsd.org/~pjd/pjd.asc X-OS: FreeBSD 7.0-CURRENT i386 User-Agent: mutt-ng/devel-r804 (FreeBSD) X-Spam-Checker-Version: SpamAssassin 3.0.4 (2005-06-05) on mail.garage.freebsd.pl X-Spam-Level: X-Spam-Status: No, score=-5.9 required=3.0 tests=ALL_TRUSTED,BAYES_00 autolearn=ham version=3.0.4 Cc: freebsd-fs@freebsd.org, freebsd-current@freebsd.org Subject: Re: ZFS committed to the FreeBSD base. X-BeenThere: freebsd-fs@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Filesystems List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 06 Apr 2007 10:40:16 -0000 --CdrF4e02JqNVZeln Content-Type: text/plain; charset=iso-8859-2 Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Fri, Apr 06, 2007 at 10:36:52AM +0200, Ivan Voras wrote: > Sean Bryant wrote: >=20 > >Is it fully 128bit? From wikipedia, which is by no means an authoritativ= e source but I have no idea if this was ever an issue. >=20 > It's 64-bit even in Solaris. The "128-bitness" is only in the storage for= mat, not for file system ops visible to applications. >=20 > (AFAIK). That's correct. We are limited by POSIX, but the on-disk format is 128bit. --=20 Pawel Jakub Dawidek http://www.wheel.pl pjd@FreeBSD.org http://www.FreeBSD.org FreeBSD committer Am I Evil? Yes, I Am! --CdrF4e02JqNVZeln Content-Type: application/pgp-signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.6 (FreeBSD) iD8DBQFGFiOEForvXbEpPzQRAjS9AJ92Ftsf8C3KXHf6W1DqvBUqz0smtwCgnHhu M9ZZpig8KBlHuOJB2EnB/K0= =Yydo -----END PGP SIGNATURE----- --CdrF4e02JqNVZeln-- From owner-freebsd-fs@FreeBSD.ORG Fri Apr 6 11:29:26 2007 Return-Path: X-Original-To: freebsd-fs@FreeBSD.org Delivered-To: freebsd-fs@FreeBSD.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id A8CDF16A406; Fri, 6 Apr 2007 11:29:26 +0000 (UTC) (envelope-from pjd@garage.freebsd.pl) Received: from mail.garage.freebsd.pl (arm132.internetdsl.tpnet.pl [83.17.198.132]) by mx1.freebsd.org (Postfix) with ESMTP id 0D13F13C487; Fri, 6 Apr 2007 11:29:25 +0000 (UTC) (envelope-from pjd@garage.freebsd.pl) Received: by mail.garage.freebsd.pl (Postfix, from userid 65534) id 3AC5D48805; Fri, 6 Apr 2007 13:29:24 +0200 (CEST) Received: from localhost (pjd.wheel.pl [10.0.1.1]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by mail.garage.freebsd.pl (Postfix) with ESMTP id 7CC4845B26; Fri, 6 Apr 2007 13:29:16 +0200 (CEST) Date: Fri, 6 Apr 2007 13:29:11 +0200 From: Pawel Jakub Dawidek To: Ricardo Correia Message-ID: <20070406112911.GC1251@garage.freebsd.pl> References: <20070406025700.GB98545@garage.freebsd.pl> <4615D28D.8030909@wizy.org> MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="adJ1OR3c6QgCpb/j" Content-Disposition: inline In-Reply-To: <4615D28D.8030909@wizy.org> X-PGP-Key-URL: http://people.freebsd.org/~pjd/pjd.asc X-OS: FreeBSD 7.0-CURRENT i386 User-Agent: mutt-ng/devel-r804 (FreeBSD) X-Spam-Checker-Version: SpamAssassin 3.0.4 (2005-06-05) on mail.garage.freebsd.pl X-Spam-Level: X-Spam-Status: No, score=-5.9 required=3.0 tests=ALL_TRUSTED,BAYES_00 autolearn=ham version=3.0.4 Cc: freebsd-fs@FreeBSD.org, zfs-discuss@opensolaris.org, freebsd-current@FreeBSD.org Subject: Re: [zfs-discuss] ZFS committed to the FreeBSD base. X-BeenThere: freebsd-fs@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Filesystems List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 06 Apr 2007 11:29:26 -0000 --adJ1OR3c6QgCpb/j Content-Type: text/plain; charset=iso-8859-2 Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Fri, Apr 06, 2007 at 05:54:37AM +0100, Ricardo Correia wrote: > I'm interested in the cross-platform portability of ZFS pools, so I have > one question: did you implement the Solaris ZFS whole-disk support > (specifically, the creation and recognition of the EFI/GPT label)? >=20 > Unfortunately some tools in Linux (parted and cfdisk) have trouble > recognizing the EFI partition created by ZFS/Solaris.. I'm not yet setup to move disks between FreeBSD and Solaris, but my first goal was to integrate it with FreeBSD's GEOM framework. We support cache flushing operations on any GEOM provider (disk, partition, slice, anything disk-like), so bascially currently I treat everything as a whole disk (because I simply can), but don't do any EFI/GPT labeling. I'll try to move data from Solaris' disk to FreeBSD and see what happen. --=20 Pawel Jakub Dawidek http://www.wheel.pl pjd@FreeBSD.org http://www.FreeBSD.org FreeBSD committer Am I Evil? Yes, I Am! --adJ1OR3c6QgCpb/j Content-Type: application/pgp-signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.6 (FreeBSD) iD8DBQFGFi8HForvXbEpPzQRAqkkAKDoeFVtTc0mTpQX1p+3b/K6H6NfjgCfdJOR SQwudd1BSO/2tsivsqBPBlI= =M1fQ -----END PGP SIGNATURE----- --adJ1OR3c6QgCpb/j-- From owner-freebsd-fs@FreeBSD.ORG Fri Apr 6 11:56:11 2007 Return-Path: X-Original-To: freebsd-fs@FreeBSD.org Delivered-To: freebsd-fs@FreeBSD.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 69F6E16A403; Fri, 6 Apr 2007 11:56:11 +0000 (UTC) (envelope-from pjd@garage.freebsd.pl) Received: from mail.garage.freebsd.pl (arm132.internetdsl.tpnet.pl [83.17.198.132]) by mx1.freebsd.org (Postfix) with ESMTP id C907F13C483; Fri, 6 Apr 2007 11:56:10 +0000 (UTC) (envelope-from pjd@garage.freebsd.pl) Received: by mail.garage.freebsd.pl (Postfix, from userid 65534) id 91B26487FB; Fri, 6 Apr 2007 13:56:08 +0200 (CEST) Received: from localhost (pjd.wheel.pl [10.0.1.1]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by mail.garage.freebsd.pl (Postfix) with ESMTP id 01C8D487F5; Fri, 6 Apr 2007 13:56:01 +0200 (CEST) Date: Fri, 6 Apr 2007 13:55:57 +0200 From: Pawel Jakub Dawidek To: Robert Watson Message-ID: <20070406115557.GF1251@garage.freebsd.pl> References: <20070406025700.GB98545@garage.freebsd.pl> <4615F62A.5090001@FreeBSD.org> <20070406052701.E30801@fledge.watson.org> MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="Mjqg7Yu+0hL22rav" Content-Disposition: inline In-Reply-To: <20070406052701.E30801@fledge.watson.org> X-PGP-Key-URL: http://people.freebsd.org/~pjd/pjd.asc X-OS: FreeBSD 7.0-CURRENT i386 User-Agent: mutt-ng/devel-r804 (FreeBSD) X-Spam-Checker-Version: SpamAssassin 3.0.4 (2005-06-05) on mail.garage.freebsd.pl X-Spam-Level: X-Spam-Status: No, score=-5.6 required=3.0 tests=ALL_TRUSTED,BAYES_00, CONGRATULATIONS autolearn=ham version=3.0.4 Cc: freebsd-fs@FreeBSD.org, freebsd-current@FreeBSD.org, Alex Dupre Subject: Re: ZFS committed to the FreeBSD base. X-BeenThere: freebsd-fs@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Filesystems List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 06 Apr 2007 11:56:11 -0000 --Mjqg7Yu+0hL22rav Content-Type: text/plain; charset=iso-8859-2 Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Fri, Apr 06, 2007 at 05:28:34AM -0400, Robert Watson wrote: >=20 > On Fri, 6 Apr 2007, Alex Dupre wrote: >=20 > >Pawel Jakub Dawidek wrote: > >>I'm happy to inform that the ZFS file system is now part of the FreeBSD > >>operating system. > > > >Congratulations! You're great! > > > >> - There is no support for booting off of ZFS file system. > > > >Even booting kernel from a removable ufs media and then mounting a zfs r= oot via vfs.root.mountfrom? >=20 > I believe the key issue here is that the boot loader doesn't yet support = ZFS. In 6.x and 7.x, the mechanism for mounting the root file system is ide= ntical to all other file=20 > systems, so it should be possible to use any file system as the root file= system as long as you get can get the kernel up and running. And, in the c= ase of ZFS, the ZFS=20 > module loaded (since it currently must be a module). You are right in general, but it isn't really true for ZFS currently. There are two very small issues: 1. Prefered way to mount ZFS file system is via 'zfs mount' command, but=20 it can be mounted using old way as well, so this really shouldn't be an issue. 2. ZFS kernel module read /etc/zfs/zpool.cache file on load by accessing it via file system. We would need to change it to load this file via loader. Shouldn't be hard. --=20 Pawel Jakub Dawidek http://www.wheel.pl pjd@FreeBSD.org http://www.FreeBSD.org FreeBSD committer Am I Evil? Yes, I Am! --Mjqg7Yu+0hL22rav Content-Type: application/pgp-signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.6 (FreeBSD) iD8DBQFGFjVNForvXbEpPzQRAlt/AKCjPfv8Bkk5HSCREwpamwBfj6tiFQCg2Slh 4AK9fL4HM2XxKlbZuCz0sQM= =MYNi -----END PGP SIGNATURE----- --Mjqg7Yu+0hL22rav-- From owner-freebsd-fs@FreeBSD.ORG Fri Apr 6 12:35:05 2007 Return-Path: X-Original-To: freebsd-fs@FreeBSD.org Delivered-To: freebsd-fs@FreeBSD.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 7D09916A403; Fri, 6 Apr 2007 12:35:05 +0000 (UTC) (envelope-from pjd@garage.freebsd.pl) Received: from mail.garage.freebsd.pl (arm132.internetdsl.tpnet.pl [83.17.198.132]) by mx1.freebsd.org (Postfix) with ESMTP id E3BD613C455; Fri, 6 Apr 2007 12:35:03 +0000 (UTC) (envelope-from pjd@garage.freebsd.pl) Received: by mail.garage.freebsd.pl (Postfix, from userid 65534) id 26DA845696; Fri, 6 Apr 2007 14:35:01 +0200 (CEST) Received: from localhost (pjd.wheel.pl [10.0.1.1]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by mail.garage.freebsd.pl (Postfix) with ESMTP id 1A9FA4569A; Fri, 6 Apr 2007 14:34:52 +0200 (CEST) Date: Fri, 6 Apr 2007 14:34:47 +0200 From: Pawel Jakub Dawidek To: Ricardo Correia Message-ID: <20070406123447.GC3519@garage.freebsd.pl> References: <20070406025700.GB98545@garage.freebsd.pl> <4615D28D.8030909@wizy.org> <20070406112911.GC1251@garage.freebsd.pl> MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="uXxzq0nDebZQVNAZ" Content-Disposition: inline In-Reply-To: <20070406112911.GC1251@garage.freebsd.pl> X-PGP-Key-URL: http://people.freebsd.org/~pjd/pjd.asc X-OS: FreeBSD 7.0-CURRENT i386 User-Agent: mutt-ng/devel-r804 (FreeBSD) X-Spam-Checker-Version: SpamAssassin 3.0.4 (2005-06-05) on mail.garage.freebsd.pl X-Spam-Level: X-Spam-Status: No, score=-5.9 required=3.0 tests=ALL_TRUSTED,BAYES_00 autolearn=ham version=3.0.4 Cc: freebsd-fs@FreeBSD.org, zfs-discuss@opensolaris.org, freebsd-current@FreeBSD.org Subject: Re: [zfs-discuss] ZFS committed to the FreeBSD base. X-BeenThere: freebsd-fs@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Filesystems List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 06 Apr 2007 12:35:05 -0000 --uXxzq0nDebZQVNAZ Content-Type: text/plain; charset=iso-8859-2 Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Fri, Apr 06, 2007 at 01:29:11PM +0200, Pawel Jakub Dawidek wrote: > On Fri, Apr 06, 2007 at 05:54:37AM +0100, Ricardo Correia wrote: > > I'm interested in the cross-platform portability of ZFS pools, so I have > > one question: did you implement the Solaris ZFS whole-disk support > > (specifically, the creation and recognition of the EFI/GPT label)? > >=20 > > Unfortunately some tools in Linux (parted and cfdisk) have trouble > > recognizing the EFI partition created by ZFS/Solaris.. >=20 > I'm not yet setup to move disks between FreeBSD and Solaris, but my > first goal was to integrate it with FreeBSD's GEOM framework. >=20 > We support cache flushing operations on any GEOM provider (disk, > partition, slice, anything disk-like), so bascially currently I treat > everything as a whole disk (because I simply can), but don't do any > EFI/GPT labeling. I'll try to move data from Solaris' disk to FreeBSD > and see what happen. First try: GEOM: ad6: corrupt or invalid GPT detected. GEOM: ad6: GPT rejected -- may not be recoverable. :) --=20 Pawel Jakub Dawidek http://www.wheel.pl pjd@FreeBSD.org http://www.FreeBSD.org FreeBSD committer Am I Evil? Yes, I Am! --uXxzq0nDebZQVNAZ Content-Type: application/pgp-signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.6 (FreeBSD) iD8DBQFGFj5nForvXbEpPzQRAmZtAJ9NNlTPy4RdnLvFTmWm5Jz2HvNw3ACeOgqK NcarHt0SfokjjcpDqK0XQzA= =m8c4 -----END PGP SIGNATURE----- --uXxzq0nDebZQVNAZ-- From owner-freebsd-fs@FreeBSD.ORG Fri Apr 6 12:44:56 2007 Return-Path: X-Original-To: freebsd-fs@freebsd.org Delivered-To: freebsd-fs@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id D813816A402 for ; Fri, 6 Apr 2007 12:44:56 +0000 (UTC) (envelope-from ml.freebsd-fs@ledisez.net) Received: from ledisez.net (ledisez.net [80.247.230.138]) by mx1.freebsd.org (Postfix) with ESMTP id 79CBF13C48A for ; Fri, 6 Apr 2007 12:44:55 +0000 (UTC) (envelope-from ml.freebsd-fs@ledisez.net) Received: from webmail.ledisez.net (localhost.localdomain [80.247.230.138]) by ledisez.net (Postfix) with ESMTP id D5A8C45ACA4 for ; Fri, 6 Apr 2007 14:44:54 +0200 (CEST) Received: from 62.212.122.219 (SquirrelMail authenticated user romain) by webmail.ledisez.net with HTTP; Fri, 6 Apr 2007 14:44:54 +0200 (CEST) Message-ID: <60158.62.212.122.219.1175863494.squirrel@webmail.ledisez.net> In-Reply-To: <20070406123447.GC3519@garage.freebsd.pl> References: <20070406025700.GB98545@garage.freebsd.pl> <4615D28D.8030909@wizy.org> <20070406112911.GC1251@garage.freebsd.pl> <20070406123447.GC3519@garage.freebsd.pl> Date: Fri, 6 Apr 2007 14:44:54 +0200 (CEST) From: "Romain LE DISEZ" To: freebsd-fs@freebsd.org User-Agent: SquirrelMail/1.4.9a MIME-Version: 1.0 Content-Type: text/plain;charset=iso-8859-1 Content-Transfer-Encoding: 8bit X-Priority: 3 (Normal) Importance: Normal Subject: Re: [zfs-discuss] ZFS committed to the FreeBSD base. X-BeenThere: freebsd-fs@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Filesystems List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 06 Apr 2007 12:44:56 -0000 Hello, first of all, thank you for your great work. When i tried to read my ZFS volume created under Solaris, I had the same error. I simply used gpte (available in ports) to erase the partition table and create a new one with the correct value. I hadn't lost any data and now this error message has disappear. I can continue to read these volume under Solaris and Linux, of course. I can't try to read my ZFS volumes under FreeBSD because I get an error when loading the module. "kldload zfs" return me an error about missing files. (I will get back with the exact error later) One time again : great job ! -- Romain LE DISEZ 06.78.77.99.18 http://www.ledisez.net/ Le Ven 6 avril 2007 14:34, Pawel Jakub Dawidek a écrit : > On Fri, Apr 06, 2007 at 01:29:11PM +0200, Pawel Jakub Dawidek wrote: >> On Fri, Apr 06, 2007 at 05:54:37AM +0100, Ricardo Correia wrote: >> > I'm interested in the cross-platform portability of ZFS pools, so I >> have >> > one question: did you implement the Solaris ZFS whole-disk support >> > (specifically, the creation and recognition of the EFI/GPT label)? >> > >> > Unfortunately some tools in Linux (parted and cfdisk) have trouble >> > recognizing the EFI partition created by ZFS/Solaris.. >> >> I'm not yet setup to move disks between FreeBSD and Solaris, but my >> first goal was to integrate it with FreeBSD's GEOM framework. >> >> We support cache flushing operations on any GEOM provider (disk, >> partition, slice, anything disk-like), so bascially currently I treat >> everything as a whole disk (because I simply can), but don't do any >> EFI/GPT labeling. I'll try to move data from Solaris' disk to FreeBSD >> and see what happen. > > First try: > > GEOM: ad6: corrupt or invalid GPT detected. > GEOM: ad6: GPT rejected -- may not be recoverable. > > :) > > -- > Pawel Jakub Dawidek http://www.wheel.pl > pjd@FreeBSD.org http://www.FreeBSD.org > FreeBSD committer Am I Evil? Yes, I Am! > From owner-freebsd-fs@FreeBSD.ORG Fri Apr 6 16:14:11 2007 Return-Path: X-Original-To: freebsd-fs@freebsd.org Delivered-To: freebsd-fs@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 4466E16A401; Fri, 6 Apr 2007 16:14:11 +0000 (UTC) (envelope-from sean@cyberwang.net) Received: from spunkymail-a6.g.dreamhost.com (sd-green-bigip-207.dreamhost.com [208.97.132.207]) by mx1.freebsd.org (Postfix) with ESMTP id 29CCB13C45D; Fri, 6 Apr 2007 16:14:11 +0000 (UTC) (envelope-from sean@cyberwang.net) Received: from [10.0.1.2] (68-184-120-224.dhcp.smyr.ga.charter.com [68.184.120.224]) by spunkymail-a6.g.dreamhost.com (Postfix) with ESMTP id 81DB5109F2F; Fri, 6 Apr 2007 09:14:10 -0700 (PDT) Message-ID: <461671CF.6060903@cyberwang.net> Date: Fri, 06 Apr 2007 12:14:07 -0400 From: Sean Bryant User-Agent: Thunderbird 1.5.0.10 (X11/20070313) MIME-Version: 1.0 To: Pawel Jakub Dawidek References: <20070406025700.GB98545@garage.freebsd.pl> <4615BCA4.7030109@cyberwang.net> <20070406104004.GB1251@garage.freebsd.pl> In-Reply-To: <20070406104004.GB1251@garage.freebsd.pl> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-Content-Filtered-By: Mailman/MimeDel 2.1.5 Cc: freebsd-fs@freebsd.org, freebsd-current@freebsd.org, Ivan Voras Subject: Re: ZFS committed to the FreeBSD base. X-BeenThere: freebsd-fs@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Filesystems List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 06 Apr 2007 16:14:11 -0000 Pawel Jakub Dawidek wrote: > On Fri, Apr 06, 2007 at 10:36:52AM +0200, Ivan Voras wrote: > >> Sean Bryant wrote: >> >> >>> Is it fully 128bit? From wikipedia, which is by no means an authoritative source but I have no idea if this was ever an issue. >>> >> It's 64-bit even in Solaris. The "128-bitness" is only in the storage format, not for file system ops visible to applications. >> >> (AFAIK). >> > > That's correct. We are limited by POSIX, but the on-disk format is > 128bit. > > Thanks for the update, I'll probably update that Wikipedia entry to reflect recent changes and more correctly state the limitations. From owner-freebsd-fs@FreeBSD.ORG Fri Apr 6 16:42:15 2007 Return-Path: X-Original-To: freebsd-fs@freebsd.org Delivered-To: freebsd-fs@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id E48D216A403 for ; Fri, 6 Apr 2007 16:42:15 +0000 (UTC) (envelope-from scrappy@freebsd.org) Received: from hub.org (hub.org [200.46.204.220]) by mx1.freebsd.org (Postfix) with ESMTP id A806813C458 for ; Fri, 6 Apr 2007 16:42:15 +0000 (UTC) (envelope-from scrappy@freebsd.org) Received: from localhost (unknown [200.46.204.182]) by hub.org (Postfix) with ESMTP id 4F11085C8FD; Fri, 6 Apr 2007 13:21:20 -0300 (ADT) Received: from hub.org ([200.46.204.220]) by localhost (mx1.hub.org [200.46.204.182]) (amavisd-maia, port 10024) with ESMTP id 59115-02; Fri, 6 Apr 2007 13:21:19 -0300 (ADT) Received: from ganymede.hub.org (blk-89-241-126.eastlink.ca [24.89.241.126]) by hub.org (Postfix) with ESMTP id 9632085C8E8; Fri, 6 Apr 2007 13:21:19 -0300 (ADT) Received: from localhost (localhost [127.0.0.1]) by ganymede.hub.org (Postfix) with ESMTP id 6BC393C170; Fri, 6 Apr 2007 13:21:25 -0300 (ADT) Date: Fri, 06 Apr 2007 13:21:25 -0300 From: "Marc G. Fournier" To: Csaba Henk , freebsd-fs@freebsd.org Message-ID: In-Reply-To: References: <4746DA006C148BC0FF1241C6@ganymede.hub.org> <45CCECCB7ECB612F504211F3@ganymede.hub.org> X-Mailer: Mulberry/4.0.7 (Linux/x86) MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Content-Disposition: inline Cc: Subject: Re: TDFS ... or other distributed file system technologies for FreeBSD? X-BeenThere: freebsd-fs@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Filesystems List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 06 Apr 2007 16:42:16 -0000 -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 - --On Thursday, March 29, 2007 13:49:43 +0000 Csaba Henk wrote: > So, whom to pester about getting fuse4bsd merged?... My question ... if this was added to the core system (or, rather, the BSD/kernel module), if it something that you are willing/able to support if there are any problems and/or ensure that bit rot doesn't set in? Basically, if it gets added, will it just have to be removed within a release or two because it doesn't build/work anymore? :( - ---- Marc G. Fournier Hub.Org Networking Services (http://www.hub.org) Email . scrappy@hub.org MSN . scrappy@hub.org Yahoo . yscrappy Skype: hub.org ICQ . 7615664 -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.5 (FreeBSD) iD8DBQFGFnOF4QvfyHIvDvMRArV/AKC5tIathrjmm4+0m/EA96Xci7rldQCgoAVm GBfKduqCmfdo7sdwx7m7STg= =Te7c -----END PGP SIGNATURE----- From owner-freebsd-fs@FreeBSD.ORG Fri Apr 6 21:31:49 2007 Return-Path: X-Original-To: freebsd-fs@FreeBSD.org Delivered-To: freebsd-fs@FreeBSD.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 6431316A402; Fri, 6 Apr 2007 21:31:49 +0000 (UTC) (envelope-from bms@FreeBSD.org) Received: from out4.smtp.messagingengine.com (out4.smtp.messagingengine.com [66.111.4.28]) by mx1.freebsd.org (Postfix) with ESMTP id 3BCF613C44C; Fri, 6 Apr 2007 21:31:49 +0000 (UTC) (envelope-from bms@FreeBSD.org) Received: from compute1.internal (compute1.internal [10.202.2.41]) by out1.messagingengine.com (Postfix) with ESMTP id CCB51212643; Fri, 6 Apr 2007 17:10:05 -0400 (EDT) Received: from heartbeat1.messagingengine.com ([10.202.2.160]) by compute1.internal (MEProxy); Fri, 06 Apr 2007 17:09:58 -0400 X-Sasl-enc: LxFXyko5XyZaA+I5fPWz0RDjdfy2nBRq41EJW2rtZR7X 1175893798 Received: from [192.168.123.18] (82-35-112-254.cable.ubr07.dals.blueyonder.co.uk [82.35.112.254]) by mail.messagingengine.com (Postfix) with ESMTP id 2E0801CA37; Fri, 6 Apr 2007 17:09:58 -0400 (EDT) Message-ID: <4616B724.80004@FreeBSD.org> Date: Fri, 06 Apr 2007 22:09:56 +0100 From: "Bruce M. Simpson" User-Agent: Thunderbird 1.5.0.9 (X11/20070125) MIME-Version: 1.0 To: Pawel Jakub Dawidek References: <20070406025700.GB98545@garage.freebsd.pl> In-Reply-To: <20070406025700.GB98545@garage.freebsd.pl> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Cc: freebsd-fs@FreeBSD.org, zfs-discuss@opensolaris.org, freebsd-current@FreeBSD.org Subject: Re: ZFS committed to the FreeBSD base. X-BeenThere: freebsd-fs@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Filesystems List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 06 Apr 2007 21:31:49 -0000 This is most excellent work which is going to help everyone in a very big way. Many thanks for working on this. From owner-freebsd-fs@FreeBSD.ORG Fri Apr 6 21:43:39 2007 Return-Path: X-Original-To: freebsd-fs@FreeBSD.org Delivered-To: freebsd-fs@FreeBSD.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 60B0516A405; Fri, 6 Apr 2007 21:43:39 +0000 (UTC) (envelope-from pjd@garage.freebsd.pl) Received: from mail.garage.freebsd.pl (arm132.internetdsl.tpnet.pl [83.17.198.132]) by mx1.freebsd.org (Postfix) with ESMTP id AD55013C483; Fri, 6 Apr 2007 21:43:38 +0000 (UTC) (envelope-from pjd@garage.freebsd.pl) Received: by mail.garage.freebsd.pl (Postfix, from userid 65534) id C8795487FB; Fri, 6 Apr 2007 23:43:36 +0200 (CEST) Received: from localhost (154.81.datacomsa.pl [195.34.81.154]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by mail.garage.freebsd.pl (Postfix) with ESMTP id E9B3F45681; Fri, 6 Apr 2007 23:43:30 +0200 (CEST) Date: Fri, 6 Apr 2007 23:43:25 +0200 From: Pawel Jakub Dawidek To: freebsd-current@FreeBSD.org Message-ID: <20070406214325.GB61039@garage.freebsd.pl> MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="bg08WKrSYDhXBjb5" Content-Disposition: inline X-PGP-Key-URL: http://people.freebsd.org/~pjd/pjd.asc X-OS: FreeBSD 7.0-CURRENT i386 User-Agent: mutt-ng/devel-r804 (FreeBSD) X-Spam-Checker-Version: SpamAssassin 3.0.4 (2005-06-05) on mail.garage.freebsd.pl X-Spam-Level: X-Spam-Status: No, score=-2.6 required=3.0 tests=BAYES_00 autolearn=ham version=3.0.4 Cc: freebsd-fs@FreeBSD.org Subject: ZFS - quick start. X-BeenThere: freebsd-fs@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Filesystems List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 06 Apr 2007 21:43:39 -0000 --bg08WKrSYDhXBjb5 Content-Type: text/plain; charset=iso-8859-2 Content-Disposition: inline Content-Transfer-Encoding: quoted-printable Ok, ZFS is now in the tree, what's now? Below you'll find some instructions how to quickly make it up and running. First of all you need some disks. Let's assume you have three spare SCSI disks: da0, da1, da2. Add a line to your /etc/rc.conf to start ZFS automatically on boot: # echo 'zfs_enable=3D"YES"' >> /etc/rc.conf Load ZFS kernel module, for the first time by hand: # kldload zfs.ko Now, setup one pool using RAIDZ: # zpool create tank raidz da0 da1 da2 It should automatically mount /tank/ for you. Ok, now put /usr/ on ZFS and propose some file systems layout. I know you probably have some files already, so we will work on /tank/usr directory and once we ready, we will just change the mountpoint to /usr. # zfs create tank/usr Create ports/ file system and enable gzip compression on it, because most likely we will have only text files there. On the other hand, we don't want to compress ports/distfiles/, because we keep compressed stuff already in-there: # zfs create tank/usr/ports # zfs set compression=3Dgzip tank/usr/ports # zfs create tank/usr/ports/distfiles # zfs set compression=3Doff tank/usr/ports/distfiles (You do see how your life is changing, don't you?:)) Let's create home file system, my own home/pjd/ file system. I know we use RAIDZ, but I want to have directory where I put extremly important stuff, you I'll define that each block has to be stored in tree copies: # zfs create tank/usr/home # zfs create tank/usr/home/pjd # zfs create tank/usr/home/pjd/important # zfs set copies=3D3 tank/usr/home/pjd/important I'd like to have directory with music, etc. that I NFS share. I don't really care about this stuff and my computer is not very fast, so I'll just turn off checksumming (this is only for example purposes! please, benchmark before doing it, because it's most likely not worth it!): # zfs create tank/music # zfs set checksum=3Doff tank/music # zfs set sharenfs=3Don tank/music Oh, I almost forget. Who cares about access time updates? # zfs set atime=3Doff tank Yes, we set it only on tank and it will be automatically inherited by others. Will be also good to be informed if everything is fine with our pool: # echo 'daily_status_zfs_enable=3D"YES"' >> /etc/periodic.conf For some reason you still need UFS file system, for example you use ACLs or extended attributes which are not yet supported by our ZFS. If so, why not just use ZFS to provide storage? This way we gain cheap UFS snapshots, UFS clones, etc. by simply using ZVOLs. # zfs create -V 10g tank/ufs # newfs /dev/zvol/tank/ufs # mount /dev/zvol/tank/ufs /ufs # zfs snapshot tank/ufs@20070406 # mount -r /dev/zvol/tank/ufs@20070406 /ufs20070406 # zfs clone tank/ufs@20070406 tank/ufsok # fsck_ffs -p /dev/zvol/tank/ufsok # mount /dev/zvol/tank/ufsok /ufsok Want to encrypt your swap and still use ZFS? Nothing more trivial: # zfs create -V 4g tank/swap # geli onetime -s 4096 /dev/zvol/tank/swap # swapon /dev/zvol/tank/swap.eli Trying to do something risky with your home? Snapshot it first! # zfs snapshot tank/home/pjd@justincase Turns out it was more stupid than risky? Rollback your snapshot! # zfs rollback tank/home/pjd@justincase # zfs destroy tank/home/pjd@justincase Ok, everything works, we may set tank/usr as our real /usr: # zfs set mountpoint=3D/usr tank/usr Don't forget to read zfs(8) and zpool(8) manual pages and SUN's ZFS administration guide: http://www.opensolaris.org/os/community/zfs/docs/zfsadmin.pdf --=20 Pawel Jakub Dawidek http://www.wheel.pl pjd@FreeBSD.org http://www.FreeBSD.org FreeBSD committer Am I Evil? Yes, I Am! --bg08WKrSYDhXBjb5 Content-Type: application/pgp-signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.6 (FreeBSD) iD8DBQFGFr79ForvXbEpPzQRAhBXAJ0TF5dJ7v+K2MesPZQim5P+HM9apwCg4Uqt 8pqudyaAa/M1rwcvs6829xI= =QFnZ -----END PGP SIGNATURE----- --bg08WKrSYDhXBjb5-- From owner-freebsd-fs@FreeBSD.ORG Fri Apr 6 21:46:44 2007 Return-Path: X-Original-To: freebsd-fs@FreeBSD.org Delivered-To: freebsd-fs@FreeBSD.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 1CE3516A410; Fri, 6 Apr 2007 21:46:44 +0000 (UTC) (envelope-from ceri@submonkey.net) Received: from shrike.submonkey.net (cpc3-cdif2-0-0-cust64.cdif.cable.ntl.com [81.106.128.65]) by mx1.freebsd.org (Postfix) with ESMTP id BC1BC13C4AE; Fri, 6 Apr 2007 21:46:43 +0000 (UTC) (envelope-from ceri@submonkey.net) Received: from ceri by shrike.submonkey.net with local (Exim 4.66 (FreeBSD)) (envelope-from ) id 1HZveE-000Ol1-QD; Fri, 06 Apr 2007 22:07:06 +0100 Date: Fri, 6 Apr 2007 22:07:06 +0100 From: Ceri Davies To: Rich Teer Message-ID: <20070406210706.GA62044@submonkey.net> References: <20070406025700.GB98545@garage.freebsd.pl> MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="n8g4imXOkfNTN/H1" Content-Disposition: inline In-Reply-To: X-PGP: finger ceri@FreeBSD.org User-Agent: Mutt/1.5.14 (2007-02-12) Sender: Ceri Davies Cc: freebsd-fs@FreeBSD.org, zfs-discuss@opensolaris.org, freebsd-current@FreeBSD.org, Pawel Jakub Dawidek Subject: Re: [zfs-discuss] ZFS committed to the FreeBSD base. X-BeenThere: freebsd-fs@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Filesystems List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 06 Apr 2007 21:46:44 -0000 --n8g4imXOkfNTN/H1 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Thu, Apr 05, 2007 at 09:58:47PM -0700, Rich Teer wrote: > > I'm happy to inform that the ZFS file system is now part of the FreeBSD > > operating system. ZFS is available in the HEAD branch and will be > > available in FreeBSD 7.0-RELEASE as an experimental feature. >=20 > This is fantastic news! At the risk of raking over ye olde arguments, > as the old saying goes: "Dual licensing? We don't need no stinkeen > dual licensing!". :-) Actually, you might want to run that statement by a certain John Birrell (jhb@FreeBSD.org) regarding the DTrace port and see what answer you get. Ceri --=20 That must be wonderful! I don't understand it at all. -- Moliere --n8g4imXOkfNTN/H1 Content-Type: application/pgp-signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.6 (FreeBSD) iD8DBQFGFrZ6ocfcwTS3JF8RAqO5AKC+VFXTOb7qmDbSvROt62w+TB97RwCfeAAC Bmakw8y3A9CEWGCyoNFl3Q8= =cFVB -----END PGP SIGNATURE----- --n8g4imXOkfNTN/H1-- From owner-freebsd-fs@FreeBSD.ORG Fri Apr 6 21:48:15 2007 Return-Path: X-Original-To: freebsd-fs@FreeBSD.org Delivered-To: freebsd-fs@FreeBSD.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 6F9DA16A404; Fri, 6 Apr 2007 21:48:15 +0000 (UTC) (envelope-from pjd@garage.freebsd.pl) Received: from mail.garage.freebsd.pl (arm132.internetdsl.tpnet.pl [83.17.198.132]) by mx1.freebsd.org (Postfix) with ESMTP id 00C6D13C459; Fri, 6 Apr 2007 21:48:15 +0000 (UTC) (envelope-from pjd@garage.freebsd.pl) Received: by mail.garage.freebsd.pl (Postfix, from userid 65534) id B24054880A; Fri, 6 Apr 2007 23:48:13 +0200 (CEST) Received: from localhost (154.81.datacomsa.pl [195.34.81.154]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by mail.garage.freebsd.pl (Postfix) with ESMTP id C4A5C45681; Fri, 6 Apr 2007 23:48:09 +0200 (CEST) Date: Fri, 6 Apr 2007 23:48:04 +0200 From: Pawel Jakub Dawidek To: Alex Dupre Message-ID: <20070406214804.GC61039@garage.freebsd.pl> References: <20070406025700.GB98545@garage.freebsd.pl> <4615F62A.5090001@FreeBSD.org> MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="RASg3xLB4tUQ4RcS" Content-Disposition: inline In-Reply-To: <4615F62A.5090001@FreeBSD.org> X-PGP-Key-URL: http://people.freebsd.org/~pjd/pjd.asc X-OS: FreeBSD 7.0-CURRENT i386 User-Agent: mutt-ng/devel-r804 (FreeBSD) X-Spam-Checker-Version: SpamAssassin 3.0.4 (2005-06-05) on mail.garage.freebsd.pl X-Spam-Level: X-Spam-Status: No, score=-2.3 required=3.0 tests=BAYES_00,CONGRATULATIONS autolearn=ham version=3.0.4 Cc: freebsd-fs@FreeBSD.org, freebsd-current@FreeBSD.org Subject: Re: ZFS committed to the FreeBSD base. X-BeenThere: freebsd-fs@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Filesystems List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 06 Apr 2007 21:48:15 -0000 --RASg3xLB4tUQ4RcS Content-Type: text/plain; charset=iso-8859-2 Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Fri, Apr 06, 2007 at 09:26:34AM +0200, Alex Dupre wrote: > Pawel Jakub Dawidek wrote: > > I'm happy to inform that the ZFS file system is now part of the FreeBSD > > operating system. >=20 > Congratulations! You're great! >=20 > > - There is no support for booting off of ZFS file system. >=20 > Even booting kernel from a removable ufs media and then mounting a zfs > root via vfs.root.mountfrom? I just verified that this will be possible: # mount tank on / (zfs, local) devfs on /dev (devfs, local) but I need some time to implement it right. --=20 Pawel Jakub Dawidek http://www.wheel.pl pjd@FreeBSD.org http://www.FreeBSD.org FreeBSD committer Am I Evil? Yes, I Am! --RASg3xLB4tUQ4RcS Content-Type: application/pgp-signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.6 (FreeBSD) iD8DBQFGFsAUForvXbEpPzQRAsKhAKCjz/NirKiSRDuMYrCUn3MB7rjEKQCffn60 OM4HqYjaRNHfUtBXrhXrnfE= =9q4L -----END PGP SIGNATURE----- --RASg3xLB4tUQ4RcS-- From owner-freebsd-fs@FreeBSD.ORG Fri Apr 6 22:08:59 2007 Return-Path: X-Original-To: freebsd-fs@FreeBSD.org Delivered-To: freebsd-fs@FreeBSD.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id EF1A816A402; Fri, 6 Apr 2007 22:08:59 +0000 (UTC) (envelope-from gabor@FreeBSD.org) Received: from server.t-hosting.hu (server.t-hosting.hu [217.20.133.7]) by mx1.freebsd.org (Postfix) with ESMTP id A801213C44B; Fri, 6 Apr 2007 22:08:59 +0000 (UTC) (envelope-from gabor@FreeBSD.org) Received: from localhost (localhost [127.0.0.1]) by server.t-hosting.hu (Postfix) with ESMTP id 377249F284A; Fri, 6 Apr 2007 23:52:23 +0200 (CEST) X-Virus-Scanned: amavisd-new at t-hosting.hu Received: from server.t-hosting.hu ([127.0.0.1]) by localhost (server.t-hosting.hu [127.0.0.1]) (amavisd-new, port 10024) with LMTP id YCOkcLGnOru9; Fri, 6 Apr 2007 23:52:17 +0200 (CEST) Received: from [192.168.2.186] (catv-5063f539.catv.broadband.hu [80.99.245.57]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by server.t-hosting.hu (Postfix) with ESMTP id 0E8649F2823; Fri, 6 Apr 2007 23:52:16 +0200 (CEST) Message-ID: <4616C107.3050803@FreeBSD.org> Date: Fri, 06 Apr 2007 23:52:07 +0200 From: Gabor Kovesdan User-Agent: Thunderbird 1.5.0.10 (Windows/20070221) MIME-Version: 1.0 To: Ceri Davies References: <20070406025700.GB98545@garage.freebsd.pl> <20070406210706.GA62044@submonkey.net> In-Reply-To: <20070406210706.GA62044@submonkey.net> Content-Type: text/plain; charset=ISO-8859-15; format=flowed Content-Transfer-Encoding: 7bit Cc: freebsd-fs@FreeBSD.org, zfs-discuss@opensolaris.org, freebsd-current@FreeBSD.org, Pawel Jakub Dawidek , Rich Teer Subject: Re: [zfs-discuss] ZFS committed to the FreeBSD base. X-BeenThere: freebsd-fs@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Filesystems List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 06 Apr 2007 22:09:00 -0000 Ceri Davies schrieb: > On Thu, Apr 05, 2007 at 09:58:47PM -0700, Rich Teer wrote: > >>> I'm happy to inform that the ZFS file system is now part of the FreeBSD >>> operating system. ZFS is available in the HEAD branch and will be >>> available in FreeBSD 7.0-RELEASE as an experimental feature. >>> >> This is fantastic news! At the risk of raking over ye olde arguments, >> as the old saying goes: "Dual licensing? We don't need no stinkeen >> dual licensing!". :-) >> > > Actually, you might want to run that statement by a certain John Birrell > (jhb@FreeBSD.org) regarding the DTrace port and see what answer you get. > > jhb@ is John Baldwin, John Birrel is jb@! :) Regards, Gabor From owner-freebsd-fs@FreeBSD.ORG Fri Apr 6 23:00:06 2007 Return-Path: X-Original-To: freebsd-fs@FreeBSD.org Delivered-To: freebsd-fs@FreeBSD.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 57DBA16A401; Fri, 6 Apr 2007 23:00:06 +0000 (UTC) (envelope-from freebsd@ruomad.net) Received: from postfix2-g20.free.fr (postfix2-g20.free.fr [212.27.60.43]) by mx1.freebsd.org (Postfix) with ESMTP id 03F8813C480; Fri, 6 Apr 2007 23:00:05 +0000 (UTC) (envelope-from freebsd@ruomad.net) Received: from smtp2-g19.free.fr (smtp2-g19.free.fr [212.27.42.28]) by postfix2-g20.free.fr (Postfix) with ESMTP id 573B8DC569A; Fri, 6 Apr 2007 23:39:36 +0200 (CEST) Received: from [192.168.0.100] (vln78-1-82-238-160-33.fbx.proxad.net [82.238.160.33]) by smtp2-g19.free.fr (Postfix) with ESMTP id CB32D95FB1; Sat, 7 Apr 2007 00:39:14 +0200 (CEST) Message-ID: <4616CC12.8040107@ruomad.net> Date: Sat, 07 Apr 2007 00:39:14 +0200 From: Bruno Damour User-Agent: Thunderbird 1.5.0.10 (X11/20070309) MIME-Version: 1.0 To: Pawel Jakub Dawidek References: <20070406025700.GB98545@garage.freebsd.pl> In-Reply-To: <20070406025700.GB98545@garage.freebsd.pl> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Cc: freebsd-fs@FreeBSD.org, zfs-discuss@opensolaris.org, freebsd-current@FreeBSD.org Subject: Re: ZFS committed to the FreeBSD base. X-BeenThere: freebsd-fs@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Filesystems List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 06 Apr 2007 23:00:06 -0000 Thanks, fantasticly interesting ! > Currently ZFS is only compiled as kernel module and is only available > for i386 architecture. Amd64 should be available very soon, the other > archs will come later, as we implement needed atomic operations. > I'm waiting eagerly to amd64 version.... > Missing functionality. > > - There is no support for ACLs and extended attributes. > Is this planned ? Does that means I cannot use it as a basis for a full-featured samba share ? Thanks for your great work !! Bruno DAMOUR From owner-freebsd-fs@FreeBSD.ORG Fri Apr 6 23:26:37 2007 Return-Path: X-Original-To: freebsd-fs@FreeBSD.org Delivered-To: freebsd-fs@FreeBSD.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 8FE9616A404; Fri, 6 Apr 2007 23:26:37 +0000 (UTC) (envelope-from freebsd.ruomad@free.fr) Received: from postfix2-g20.free.fr (postfix2-g20.free.fr [212.27.60.43]) by mx1.freebsd.org (Postfix) with ESMTP id 520C113C45E; Fri, 6 Apr 2007 23:26:37 +0000 (UTC) (envelope-from freebsd.ruomad@free.fr) Received: from smtp2-g19.free.fr (smtp2-g19.free.fr [212.27.42.28]) by postfix2-g20.free.fr (Postfix) with ESMTP id 5C500DD314F; Sat, 7 Apr 2007 00:06:48 +0200 (CEST) Received: from [192.168.0.100] (vln78-1-82-238-160-33.fbx.proxad.net [82.238.160.33]) by smtp2-g19.free.fr (Postfix) with ESMTP id 2CAC495F7A; Sat, 7 Apr 2007 01:06:27 +0200 (CEST) Message-ID: <4616D272.30902@free.fr> Date: Sat, 07 Apr 2007 01:06:26 +0200 From: Bruno Damour User-Agent: Thunderbird 1.5.0.10 (X11/20070309) MIME-Version: 1.0 To: Pawel Jakub Dawidek References: <20070406025700.GB98545@garage.freebsd.pl> In-Reply-To: <20070406025700.GB98545@garage.freebsd.pl> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Cc: freebsd-fs@FreeBSD.org, zfs-discuss@opensolaris.org, freebsd-current@FreeBSD.org Subject: Re: ZFS committed to the FreeBSD base. X-BeenThere: freebsd-fs@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Filesystems List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 06 Apr 2007 23:26:37 -0000 Thanks, fantasticly interesting ! > Currently ZFS is only compiled as kernel module and is only available > for i386 architecture. Amd64 should be available very soon, the other > archs will come later, as we implement needed atomic operations. > I'm waiting eagerly to amd64 version.... > Missing functionality. > > - There is no support for ACLs and extended attributes. > Is this planned ? Does that means I cannot use it as a basis for a full-featured samba share ? Thanks for your great work !! Bruno DAMOUR From owner-freebsd-fs@FreeBSD.ORG Sat Apr 7 00:21:46 2007 Return-Path: X-Original-To: freebsd-fs@FreeBSD.org Delivered-To: freebsd-fs@FreeBSD.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id BE82816A402 for ; Sat, 7 Apr 2007 00:21:46 +0000 (UTC) (envelope-from mike@nux.co.uk) Received: from smtp.nildram.co.uk (smtp.nildram.co.uk [195.112.4.54]) by mx1.freebsd.org (Postfix) with ESMTP id 8793013C45B for ; Sat, 7 Apr 2007 00:21:44 +0000 (UTC) (envelope-from mike@nux.co.uk) Received: from office.nux.co.uk (unknown [82.133.40.67]) by smtp.nildram.co.uk (Postfix) with ESMTP id 3A7EA2B6633 for ; Sat, 7 Apr 2007 00:48:51 +0100 (BST) Received: (qmail 93826 invoked by uid 2223); 6 Apr 2007 23:48:51 -0000 Received: from localhost (sendmail-bs@127.0.0.1) by localhost with SMTP; 6 Apr 2007 23:48:51 -0000 Date: Sat, 7 Apr 2007 00:48:51 +0100 (BST) From: Mike Wolman X-X-Sender: mike@nux.eros.office To: freebsd-fs@FreeBSD.org, freebsd-questions@freebsd.org In-Reply-To: <20070406214804.GC61039@garage.freebsd.pl> Message-ID: <20070407001555.G87655@nux.eros.office> References: <20070406025700.GB98545@garage.freebsd.pl> <4615F62A.5090001@FreeBSD.org> <20070406214804.GC61039@garage.freebsd.pl> MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII; format=flowed Cc: Subject: some thoughts about gmirror X-BeenThere: freebsd-fs@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Filesystems List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 07 Apr 2007 00:21:46 -0000 Hi, Currently I am using gmirror and ggated to run a live network mirror. Obviously this can cause problems if the server exporting the 'backup' device is offline then the mirror is broken - when the machines reconnect a full mirror sync takes place. This is fine over gbit crossover and if the size of the mirror is only a few 100Gb. Is it feasible that when the connection to one of the mirror devices breaks gmirror starts to log the changes to the mirror (obviously you would need to configure up this mirror device as a 'lazy' mirror member with a spare local device to write the changes to) - when the machines reconnect gmirror would only then have to sync the actual changes. This is sort of achieves a similar result to Live Network Backup on NetBSD (http://kerneltrap.org/node/5058). It could be used for laptop users mirroring their whole drive, allowing a fast sync when they are on their local lan and should the laptop get lost it would be possible to restore the whole machine with a simple dd. If they were using a usb key as the device to log the changes while they were disconnected from the network and they remember to unplug/plug this each time they use the laptop then it could even be possible to recover the data to the point they actually lost the machine. It could also be used for asynchronous mirrors over slow links, if the log device was always written to first then the write latency for long distant links could be removed. Im not sure if it would be possible to achieve this using just a modified ggatec instead which has a local device used as a write cache. Mike. From owner-freebsd-fs@FreeBSD.ORG Sat Apr 7 00:57:23 2007 Return-Path: X-Original-To: freebsd-fs@FreeBSD.org Delivered-To: freebsd-fs@FreeBSD.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id A6DDC16A40E; Sat, 7 Apr 2007 00:57:23 +0000 (UTC) (envelope-from pjd@garage.freebsd.pl) Received: from mail.garage.freebsd.pl (arm132.internetdsl.tpnet.pl [83.17.198.132]) by mx1.freebsd.org (Postfix) with ESMTP id 478E813C489; Sat, 7 Apr 2007 00:57:22 +0000 (UTC) (envelope-from pjd@garage.freebsd.pl) Received: by mail.garage.freebsd.pl (Postfix, from userid 65534) id AFE7948804; Sat, 7 Apr 2007 02:57:20 +0200 (CEST) Received: from localhost (cvl74.internetdsl.tpnet.pl [83.19.93.74]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by mail.garage.freebsd.pl (Postfix) with ESMTP id 6F94B487F3; Sat, 7 Apr 2007 02:57:10 +0200 (CEST) Date: Sat, 7 Apr 2007 02:57:05 +0200 From: Pawel Jakub Dawidek To: Bruno Damour Message-ID: <20070407005705.GA63050@garage.freebsd.pl> References: <20070406025700.GB98545@garage.freebsd.pl> <4616CC12.8040107@ruomad.net> MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="jRHKVT23PllUwdXP" Content-Disposition: inline In-Reply-To: <4616CC12.8040107@ruomad.net> X-PGP-Key-URL: http://people.freebsd.org/~pjd/pjd.asc X-OS: FreeBSD 7.0-CURRENT i386 User-Agent: mutt-ng/devel-r804 (FreeBSD) X-Spam-Checker-Version: SpamAssassin 3.0.4 (2005-06-05) on mail.garage.freebsd.pl X-Spam-Level: X-Spam-Status: No, score=-2.5 required=3.0 tests=BAYES_00,RCVD_IN_NJABL_DUL autolearn=no version=3.0.4 Cc: freebsd-fs@FreeBSD.org, zfs-discuss@opensolaris.org, freebsd-current@FreeBSD.org Subject: Re: ZFS committed to the FreeBSD base. X-BeenThere: freebsd-fs@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Filesystems List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 07 Apr 2007 00:57:23 -0000 --jRHKVT23PllUwdXP Content-Type: text/plain; charset=iso-8859-2 Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Sat, Apr 07, 2007 at 12:39:14AM +0200, Bruno Damour wrote: > Thanks, fantasticly interesting ! > > Currently ZFS is only compiled as kernel module and is only available > > for i386 architecture. Amd64 should be available very soon, the other > > archs will come later, as we implement needed atomic operations. > > =20 > I'm waiting eagerly to amd64 version.... >=20 > >Missing functionality. > > > > - There is no support for ACLs and extended attributes. > > =20 > Is this planned ? Does that means I cannot use it as a basis for a full-f= eatured samba share ? It is planned, but it's not trivial. Does samba support NFSv4-style ACLs? --=20 Pawel Jakub Dawidek http://www.wheel.pl pjd@FreeBSD.org http://www.FreeBSD.org FreeBSD committer Am I Evil? Yes, I Am! --jRHKVT23PllUwdXP Content-Type: application/pgp-signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.6 (FreeBSD) iD8DBQFGFuxhForvXbEpPzQRAjJ8AKCDd1niLSCrOSwQx5LZ+lMoqY5sJwCfde+y tDF1oZaEpNgj2AAyQHLzeE0= =+Mot -----END PGP SIGNATURE----- --jRHKVT23PllUwdXP-- From owner-freebsd-fs@FreeBSD.ORG Sat Apr 7 03:15:29 2007 Return-Path: X-Original-To: freebsd-fs@freebsd.org Delivered-To: freebsd-fs@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 35C0716A404 for ; Sat, 7 Apr 2007 03:15:29 +0000 (UTC) (envelope-from ticso@cicely12.cicely.de) Received: from raven.bwct.de (raven.bwct.de [85.159.14.73]) by mx1.freebsd.org (Postfix) with ESMTP id B98F813C44C for ; Sat, 7 Apr 2007 03:15:28 +0000 (UTC) (envelope-from ticso@cicely12.cicely.de) Received: from cicely5.cicely.de ([10.1.1.7]) by raven.bwct.de (8.13.4/8.13.4) with ESMTP id l372urS1098664; Sat, 7 Apr 2007 04:56:53 +0200 (CEST) (envelope-from ticso@cicely12.cicely.de) Received: from cicely12.cicely.de (cicely12.cicely.de [10.1.1.14]) by cicely5.cicely.de (8.13.4/8.13.4) with ESMTP id l372ujMZ086765 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO); Sat, 7 Apr 2007 04:56:46 +0200 (CEST) (envelope-from ticso@cicely12.cicely.de) Received: from cicely12.cicely.de (localhost [127.0.0.1]) by cicely12.cicely.de (8.13.4/8.13.3) with ESMTP id l372ujG3015401; Sat, 7 Apr 2007 04:56:45 +0200 (CEST) (envelope-from ticso@cicely12.cicely.de) Received: (from ticso@localhost) by cicely12.cicely.de (8.13.4/8.13.3/Submit) id l372ujBZ015400; Sat, 7 Apr 2007 04:56:45 +0200 (CEST) (envelope-from ticso) Date: Sat, 7 Apr 2007 04:56:45 +0200 From: Bernd Walter To: Pawel Jakub Dawidek Message-ID: <20070407025644.GC8831@cicely12.cicely.de> References: <20070406025700.GB98545@garage.freebsd.pl> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20070406025700.GB98545@garage.freebsd.pl> X-Operating-System: FreeBSD cicely12.cicely.de 5.4-STABLE alpha User-Agent: Mutt/1.5.9i X-Spam-Status: No, score=-4.4 required=5.0 tests=ALL_TRUSTED=-1.8, BAYES_00=-2.599 autolearn=ham version=3.1.7 X-Spam-Checker-Version: SpamAssassin 3.1.7 (2006-10-05) on cicely12.cicely.de Cc: freebsd-fs@freebsd.org, freebsd-current@freebsd.org Subject: Re: ZFS committed to the FreeBSD base. X-BeenThere: freebsd-fs@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: ticso@cicely.de List-Id: Filesystems List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 07 Apr 2007 03:15:29 -0000 On Fri, Apr 06, 2007 at 04:57:00AM +0200, Pawel Jakub Dawidek wrote: > Hi. > > I'm happy to inform that the ZFS file system is now part of the FreeBSD > operating system. ZFS is available in the HEAD branch and will be > available in FreeBSD 7.0-RELEASE as an experimental feature. I got a kmem panic just by copying a recent ports.tgz (36M) onto a ZFS. My sandbox just has 128MB RAM so kmem was set to ~40M. After raising kmem to 80M it survived copying the file, but paniced again while tar -xvzf the file into the same pool. vfs.zfs.vdev.cache.size is unchanged at 10M. -- B.Walter http://www.bwct.de http://www.fizon.de bernd@bwct.de info@bwct.de support@fizon.de From owner-freebsd-fs@FreeBSD.ORG Sat Apr 7 06:59:06 2007 Return-Path: X-Original-To: freebsd-fs@FreeBSD.org Delivered-To: freebsd-fs@FreeBSD.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 5B07D16A402 for ; Sat, 7 Apr 2007 06:59:06 +0000 (UTC) (envelope-from arne_woerner@yahoo.com) Received: from web30302.mail.mud.yahoo.com (web30302.mail.mud.yahoo.com [209.191.69.64]) by mx1.freebsd.org (Postfix) with SMTP id 0BC6C13C44B for ; Sat, 7 Apr 2007 06:59:05 +0000 (UTC) (envelope-from arne_woerner@yahoo.com) Received: (qmail 36243 invoked by uid 60001); 7 Apr 2007 06:32:24 -0000 DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=s1024; d=yahoo.com; h=X-YMail-OSG:Received:Date:From:Subject:To:In-Reply-To:MIME-Version:Content-Type:Content-Transfer-Encoding:Message-ID; b=ZBlG+fbf4BHN/zSBpPzZ5OvPFDt6LDpdy2SgaxarGcprui8Xlmj9DasUuuPulHpi04fkRxVaSOuRdbmmgxx/2ZE24wuXxI5uC7NUy1CuCmS/ambDe3mTBJ/yqC3g5/76jcWpkgKoIZG/UDM5v/cD8leQ32USDCp/VYF+TN9+enE=; X-YMail-OSG: pNSPDKMVM1kBpQ.dOWWgxL854ocNKOADXX2PuZwO3XpFtXkVtBNKSMP66FXLQT_9Rdk0Hm938WVsNNVJdhieyg8PbbJ6GscilMwnU0r_60k6S8YnbakgAjXJwQH5XA-- Received: from [213.54.189.69] by web30302.mail.mud.yahoo.com via HTTP; Fri, 06 Apr 2007 23:32:23 PDT Date: Fri, 6 Apr 2007 23:32:23 -0700 (PDT) From: "R. B. Riddick" To: Mike Wolman , freebsd-fs@FreeBSD.org, freebsd-questions@freebsd.org In-Reply-To: <20070407001555.G87655@nux.eros.office> MIME-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Transfer-Encoding: 8bit Message-ID: <219395.34786.qm@web30302.mail.mud.yahoo.com> Cc: Subject: Re: some thoughts about gmirror X-BeenThere: freebsd-fs@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Filesystems List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 07 Apr 2007 06:59:06 -0000 --- Mike Wolman wrote: > It could also be used for asynchronous mirrors over slow links, if the log > device was always written to first then the write latency for long distant > links could be removed. Im not sure if it would be possible to achieve > this using just a modified ggatec instead which has a local device used > as a write cache. > Sounds like rsync can already do that (I am not sure right now, if rsync can find updated areas within a large file, or if it just copies the while updated file even if it is a large one)... Furthermore the remote consumer of that gmirror couldnt be mounted RW, if it uses UFS, because UFS doesnt allow multiple RW mounts at the same time... -Arne ____________________________________________________________________________________ Food fight? Enjoy some healthy debate in the Yahoo! Answers Food & Drink Q&A. http://answers.yahoo.com/dir/?link=list&sid=396545367 From owner-freebsd-fs@FreeBSD.ORG Sat Apr 7 07:39:47 2007 Return-Path: X-Original-To: freebsd-fs@FreeBSD.org Delivered-To: freebsd-fs@FreeBSD.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 2B1B316A403 for ; Sat, 7 Apr 2007 07:39:47 +0000 (UTC) (envelope-from ale@FreeBSD.org) Received: from lab.alexdupre.com (lab.alexdupre.com [81.174.31.42]) by mx1.freebsd.org (Postfix) with ESMTP id 6D98613C465 for ; Sat, 7 Apr 2007 07:39:46 +0000 (UTC) (envelope-from ale@FreeBSD.org) Received: (qmail 84543 invoked from network); 7 Apr 2007 07:39:44 -0000 Received: from unknown (HELO ?192.168.178.2?) (192.168.178.2) by lab.alexdupre.com with SMTP; 7 Apr 2007 07:39:44 -0000 Message-ID: <46174AC0.2040603@FreeBSD.org> Date: Sat, 07 Apr 2007 09:39:44 +0200 From: Alex Dupre User-Agent: Thunderbird 1.5.0.10 (X11/20070310) MIME-Version: 1.0 To: Pawel Jakub Dawidek References: <20070406025700.GB98545@garage.freebsd.pl> <4615F62A.5090001@FreeBSD.org> <20070406214804.GC61039@garage.freebsd.pl> In-Reply-To: <20070406214804.GC61039@garage.freebsd.pl> Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Cc: freebsd-fs@FreeBSD.org, freebsd-current@FreeBSD.org Subject: Re: ZFS committed to the FreeBSD base. X-BeenThere: freebsd-fs@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Filesystems List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 07 Apr 2007 07:39:47 -0000 Pawel Jakub Dawidek wrote: > I just verified that this will be possible: > > # mount > tank on / (zfs, local) > devfs on /dev (devfs, local) > > but I need some time to implement it right. I waited months for current ZFS implementation, I can wait more for root support, now that I know it'll be possible :-) Thanks again. -- Alex Dupre From owner-freebsd-fs@FreeBSD.ORG Sat Apr 7 07:54:11 2007 Return-Path: X-Original-To: freebsd-fs@freebsd.org Delivered-To: freebsd-fs@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id C9E6B16A403 for ; Sat, 7 Apr 2007 07:54:11 +0000 (UTC) (envelope-from m.seaman@infracaninophile.co.uk) Received: from smtp.infracaninophile.co.uk (happy-idiot-talk.infracaninophile.co.uk [81.187.76.162]) by mx1.freebsd.org (Postfix) with ESMTP id 1EE7613C46E for ; Sat, 7 Apr 2007 07:54:10 +0000 (UTC) (envelope-from m.seaman@infracaninophile.co.uk) Received: from [IPv6:::1] (localhost.infracaninophile.co.uk [IPv6:::1]) by smtp.infracaninophile.co.uk (8.13.8/8.13.8) with ESMTP id l377YFme016492; Sat, 7 Apr 2007 08:34:15 +0100 (BST) (envelope-from m.seaman@infracaninophile.co.uk) Message-ID: <46174971.9080809@infracaninophile.co.uk> Date: Sat, 07 Apr 2007 08:34:09 +0100 From: Matthew Seaman Organization: Infracaninophile User-Agent: Thunderbird 1.5.0.10 (X11/20070320) MIME-Version: 1.0 To: "R. B. Riddick" References: <219395.34786.qm@web30302.mail.mud.yahoo.com> In-Reply-To: <219395.34786.qm@web30302.mail.mud.yahoo.com> X-Enigmail-Version: 0.94.0.0 Content-Type: multipart/signed; micalg=pgp-sha256; protocol="application/pgp-signature"; boundary="------------enigF8D3837A75C93AA178B7C53B" X-Greylist: Sender IP whitelisted, not delayed by milter-greylist-3.0 (smtp.infracaninophile.co.uk [IPv6:::1]); Sat, 07 Apr 2007 08:34:31 +0100 (BST) X-Virus-Scanned: ClamAV 0.90.1/3031/Sat Apr 7 01:53:25 2007 on happy-idiot-talk.infracaninophile.co.uk X-Virus-Status: Clean X-Spam-Status: No, score=-2.6 required=5.0 tests=BAYES_00, DKIM_POLICY_TESTING, DK_POLICY_SIGNSOME,NO_RELAYS autolearn=ham version=3.1.8 X-Spam-Checker-Version: SpamAssassin 3.1.8 (2007-02-13) on happy-idiot-talk.infracaninophile.co.uk Cc: freebsd-fs@freebsd.org, Mike Wolman , freebsd-questions@freebsd.org Subject: Re: some thoughts about gmirror X-BeenThere: freebsd-fs@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Filesystems List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 07 Apr 2007 07:54:11 -0000 This is an OpenPGP/MIME signed message (RFC 2440 and 3156) --------------enigF8D3837A75C93AA178B7C53B Content-Type: text/plain; charset=ISO-8859-15 Content-Transfer-Encoding: quoted-printable R. B. Riddick wrote: > Sounds like rsync can already do that (I am not sure right now, if rsyn= c can > find updated areas within a large file, or if it just copies the while = updated > file even if it is a large one)... rsync will find an updated area within a big file. The algorithm is to divide any such file into 100kB[*] chunks, calculate checksums of each of= those chunks and only transfer the chunks where the checksum differs between source and destination. More detail here: http://samba.org/rsync/how-rsync-works.html http://rsync.samba.org/tech_report/tech_report.html Cheers, Matthew [*] For some value of 100kB. --=20 Dr Matthew J Seaman MA, D.Phil. 7 Priory Courtyard Flat 3 PGP: http://www.infracaninophile.co.uk/pgpkey Ramsgate Kent, CT11 9PW --------------enigF8D3837A75C93AA178B7C53B Content-Type: application/pgp-signature; name="signature.asc" Content-Description: OpenPGP digital signature Content-Disposition: attachment; filename="signature.asc" -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.3 (FreeBSD) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org iD8DBQFGF0l38Mjk52CukIwRCCxEAJ4q/ZGzMlrQGWh9lfrwSvLmG6h1CgCgk9E/ MdnGSQcZinVp7yibvR3XO+c= =i3/L -----END PGP SIGNATURE----- --------------enigF8D3837A75C93AA178B7C53B-- From owner-freebsd-fs@FreeBSD.ORG Sat Apr 7 09:35:58 2007 Return-Path: X-Original-To: freebsd-fs@FreeBSD.org Delivered-To: freebsd-fs@FreeBSD.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 7823A16A406 for ; Sat, 7 Apr 2007 09:35:58 +0000 (UTC) (envelope-from mike@nux.co.uk) Received: from smtp.nildram.co.uk (smtp.nildram.co.uk [195.112.4.54]) by mx1.freebsd.org (Postfix) with ESMTP id 41E5313C45E for ; Sat, 7 Apr 2007 09:35:58 +0000 (UTC) (envelope-from mike@nux.co.uk) Received: from office.nux.co.uk (unknown [82.133.40.67]) by smtp.nildram.co.uk (Postfix) with ESMTP id F18AA2B84A4 for ; Sat, 7 Apr 2007 10:35:54 +0100 (BST) Received: (qmail 20780 invoked by uid 2223); 7 Apr 2007 09:35:56 -0000 Received: from localhost (sendmail-bs@127.0.0.1) by localhost with SMTP; 7 Apr 2007 09:35:56 -0000 Date: Sat, 7 Apr 2007 10:35:56 +0100 (BST) From: Mike Wolman X-X-Sender: mike@nux.eros.office To: "R. B. Riddick" In-Reply-To: <219395.34786.qm@web30302.mail.mud.yahoo.com> Message-ID: <20070407103057.P20396@nux.eros.office> References: <219395.34786.qm@web30302.mail.mud.yahoo.com> MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII; format=flowed Cc: freebsd-fs@FreeBSD.org, freebsd-questions@freebsd.org Subject: Re: some thoughts about gmirror X-BeenThere: freebsd-fs@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Filesystems List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 07 Apr 2007 09:35:58 -0000 Rsync is a great tool however if you try to rsync a filesystem with hundreds of thousand files in it the file list can use quite a large amount of bandwidth even if only a single file has changed - if you were keeping track of the blocks which had changed then you do not need to generate this list and simply send over the changed blocks. I was not thinking the remote side would mount the image unless the primary site was offline/unavailable. Mike. On Fri, 6 Apr 2007, R. B. Riddick wrote: > --- Mike Wolman wrote: >> It could also be used for asynchronous mirrors over slow links, if the log >> device was always written to first then the write latency for long distant >> links could be removed. Im not sure if it would be possible to achieve >> this using just a modified ggatec instead which has a local device used >> as a write cache. >> > Sounds like rsync can already do that (I am not sure right now, if rsync can > find updated areas within a large file, or if it just copies the while updated > file even if it is a large one)... > > Furthermore the remote consumer of that gmirror couldnt be mounted RW, if it > uses UFS, because UFS doesnt allow multiple RW mounts at the same time... > > -Arne > > > > ____________________________________________________________________________________ > Food fight? Enjoy some healthy debate > in the Yahoo! Answers Food & Drink Q&A. > http://answers.yahoo.com/dir/?link=list&sid=396545367 > > From owner-freebsd-fs@FreeBSD.ORG Sat Apr 7 11:05:03 2007 Return-Path: X-Original-To: freebsd-fs@freebsd.org Delivered-To: freebsd-fs@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id F133416A404; Sat, 7 Apr 2007 11:05:03 +0000 (UTC) (envelope-from rrs@cisco.com) Received: from sj-iport-6.cisco.com (sj-iport-6.cisco.com [171.71.176.117]) by mx1.freebsd.org (Postfix) with ESMTP id C7D9513C44B; Sat, 7 Apr 2007 11:05:03 +0000 (UTC) (envelope-from rrs@cisco.com) Received: from sj-dkim-4.cisco.com ([171.71.179.196]) by sj-iport-6.cisco.com with ESMTP; 07 Apr 2007 03:36:33 -0700 Received: from sj-core-1.cisco.com (sj-core-1.cisco.com [171.71.177.237]) by sj-dkim-4.cisco.com (8.12.11/8.12.11) with ESMTP id l37AaX3j006475; Sat, 7 Apr 2007 03:36:33 -0700 Received: from xbh-sjc-211.amer.cisco.com (xbh-sjc-211.cisco.com [171.70.151.144]) by sj-core-1.cisco.com (8.12.10/8.12.6) with ESMTP id l37AaXMF029645; Sat, 7 Apr 2007 10:36:33 GMT Received: from xfe-sjc-211.amer.cisco.com ([171.70.151.174]) by xbh-sjc-211.amer.cisco.com with Microsoft SMTPSVC(6.0.3790.1830); Sat, 7 Apr 2007 03:36:32 -0700 Received: from [127.0.0.1] ([171.68.225.134]) by xfe-sjc-211.amer.cisco.com with Microsoft SMTPSVC(6.0.3790.1830); Sat, 7 Apr 2007 03:36:32 -0700 Message-ID: <461774DA.2080200@cisco.com> Date: Sat, 07 Apr 2007 06:39:22 -0400 From: Randall Stewart User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.8.0.8) Gecko/20061029 FreeBSD/i386 SeaMonkey/1.0.6 MIME-Version: 1.0 To: Pawel Jakub Dawidek References: <20070406025700.GB98545@garage.freebsd.pl> In-Reply-To: <20070406025700.GB98545@garage.freebsd.pl> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-OriginalArrivalTime: 07 Apr 2007 10:36:32.0397 (UTC) FILETIME=[9BC94BD0:01C77900] DKIM-Signature: v=0.5; a=rsa-sha256; q=dns/txt; l=1645; t=1175942193; x=1176806193; c=relaxed/simple; s=sjdkim4002; h=Content-Type:From:Subject:Content-Transfer-Encoding:MIME-Version; d=cisco.com; i=rrs@cisco.com; z=From:=20Randall=20Stewart=20 |Subject:=20Re=3A=20ZFS=20committed=20to=20the=20FreeBSD=20base. |Sender:=20; bh=19aOC538v0T9mqP/lKDRAFjUdIHBnIxhK4cHgyEaLFQ=; b=b7FrIrp3vI6SK8LmXnblprv+A7Z8DEEGrpWqlQK1uRfEYQ3JM4fxvl7lWIrA9+hazaeJ4D/g Xv2BW6L8ngYlRyCawiDiGOs1aAyZUZOXdk/KoToTOqDhtidATX7TbdKw; Authentication-Results: sj-dkim-4; header.From=rrs@cisco.com; dkim=pass (sig from cisco.com/sjdkim4002 verified; ); Cc: freebsd-fs@freebsd.org, zfs-discuss@opensolaris.org, freebsd-current@freebsd.org Subject: Re: ZFS committed to the FreeBSD base. X-BeenThere: freebsd-fs@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Filesystems List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 07 Apr 2007 11:05:04 -0000 Great work Pawel... I see you posted a quick start ... I will have to move my laptop to use this as its non-root fs's :-D R Pawel Jakub Dawidek wrote: > Hi. > > I'm happy to inform that the ZFS file system is now part of the FreeBSD > operating system. ZFS is available in the HEAD branch and will be > available in FreeBSD 7.0-RELEASE as an experimental feature. > > Commit log: > > Please welcome ZFS - The last word in file systems. > > ZFS file system was ported from OpenSolaris operating system. The code > in under CDDL license. > > I'd like to thank all SUN developers that created this great piece of > software. > > Supported by: Wheel LTD (http://www.wheel.pl/) > Supported by: The FreeBSD Foundation (http://www.freebsdfoundation.org/) > Supported by: Sentex (http://www.sentex.net/) > > Limitations. > > Currently ZFS is only compiled as kernel module and is only available > for i386 architecture. Amd64 should be available very soon, the other > archs will come later, as we implement needed atomic operations. > > Missing functionality. > > - We don't have iSCSI target daemon in the tree, so sharing ZVOLs via > iSCSI is also not supported at this point. This should be fixed in > the future, we may also add support for sharing ZVOLs over ggate. > - There is no support for ACLs and extended attributes. > - There is no support for booting off of ZFS file system. > > Other than that, ZFS should be fully-functional. > > Enjoy! > -- Randall Stewart NSSTG - Cisco Systems Inc. 803-345-0369 803-317-4952 (cell) From owner-freebsd-fs@FreeBSD.ORG Sat Apr 7 11:26:17 2007 Return-Path: X-Original-To: freebsd-fs@FreeBSD.org Delivered-To: freebsd-fs@FreeBSD.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 4356416A401; Sat, 7 Apr 2007 11:26:17 +0000 (UTC) (envelope-from jorn@wcborstel.com) Received: from mail.wcborstel.com (www.wcborstel.com [82.93.93.17]) by mx1.freebsd.org (Postfix) with ESMTP id BACB313C43E; Sat, 7 Apr 2007 11:26:16 +0000 (UTC) (envelope-from jorn@wcborstel.com) Received: from mail.wcborstel.com (localhost [10.0.0.2]) by mail.wcborstel.com (Postfix) with ESMTP id 84119434379; Sat, 7 Apr 2007 12:55:09 +0200 (CEST) Received: by mail.wcborstel.com (Postfix, from userid 58) id E7CC0434374; Sat, 7 Apr 2007 12:55:08 +0200 (CEST) X-Spam-Checker-Version: SpamAssassin 3.1.8 (2007-02-13) on mail.wcborstel.com X-Spam-Level: X-Spam-Status: No, score=-1.3 required=5.0 tests=ALL_TRUSTED, DK_POLICY_SIGNSOME,HTML_MESSAGE,SARE_SUB_OBFU_OTHER autolearn=ham version=3.1.8 X-Spam-Report: * 0.1 SARE_SUB_OBFU_OTHER FVGT - subject contains odd letter combinations * 0.0 DK_POLICY_SIGNSOME Domain Keys: policy says domain signs some mails * -1.4 ALL_TRUSTED Passed through trusted hosts only via SMTP * 0.0 HTML_MESSAGE BODY: HTML included in message Received: from [192.168.1.6] (unknown [192.168.1.6]) by mail.wcborstel.com (Postfix) with ESMTP id 0843B434327; Sat, 7 Apr 2007 12:55:02 +0200 (CEST) Message-ID: <46177881.3090509@wcborstel.com> Date: Sat, 07 Apr 2007 12:54:57 +0200 From: Jorn Argelo User-Agent: Thunderbird 1.5.0.10 (Windows/20070221) MIME-Version: 1.0 To: Pawel Jakub Dawidek References: <20070406025700.GB98545@garage.freebsd.pl> In-Reply-To: X-Virus-Scanned: ClamAV using ClamSMTP Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-Content-Filtered-By: Mailman/MimeDel 2.1.5 Cc: freebsd-fs@FreeBSD.org, zfs-discuss@opensolaris.org, freebsd-current@FreeBSD.org Subject: Re: [zfs-discuss] ZFS committed to the FreeBSD base. X-BeenThere: freebsd-fs@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Filesystems List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 07 Apr 2007 11:26:17 -0000 Rich Teer wrote: >> I'm happy to inform that the ZFS file system is now part of the FreeBSD >> operating system. ZFS is available in the HEAD branch and will be >> available in FreeBSD 7.0-RELEASE as an experimental feature. >> > > This is fantastic news! At the risk of raking over ye olde arguments, > as the old saying goes: "Dual licensing? We don't need no stinkeen > dual licensing!". :-) > > First of all, thanks a lot for all the hard work of both the FreeBSD developers as the ZFS developers. I can't wait to give it a go. That leads me to one question though: Why is *BSD able to bring it into the OS as where Linux has licensing problems with the CDDL? AFAIK Linux users can only run it in userland mode and not in kernel mode because of the licenses. I don't really know the differences between all the licenses, so feel free to correct me if I'm saying something stupid. Thanks, Jorn From owner-freebsd-fs@FreeBSD.ORG Sat Apr 7 11:58:57 2007 Return-Path: X-Original-To: freebsd-fs@FreeBSD.org Delivered-To: freebsd-fs@FreeBSD.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id E2BB816A408 for ; Sat, 7 Apr 2007 11:58:57 +0000 (UTC) (envelope-from rees@citi.umich.edu) Received: from citi.umich.edu (citi.umich.edu [141.211.133.111]) by mx1.freebsd.org (Postfix) with ESMTP id C1D0813C469 for ; Sat, 7 Apr 2007 11:58:57 +0000 (UTC) (envelope-from rees@citi.umich.edu) Received: from citi.umich.edu (dsl093-001-248.det1.dsl.speakeasy.net [66.93.1.248]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by citi.umich.edu (Postfix) with ESMTP id 930033908B; Sat, 7 Apr 2007 07:58:56 -0400 (EDT) Date: Sat, 7 Apr 2007 06:58:55 -0500 From: Jim Rees To: Mike Wolman Message-ID: <20070407115854.GA14402@citi.umich.edu> References: <219395.34786.qm@web30302.mail.mud.yahoo.com> <20070407103057.P20396@nux.eros.office> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20070407103057.P20396@nux.eros.office> Cc: freebsd-fs@FreeBSD.org, freebsd-questions@freebsd.org Subject: Re: some thoughts about gmirror X-BeenThere: freebsd-fs@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Filesystems List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 07 Apr 2007 11:58:58 -0000 Mike Wolman wrote: if you were keeping track of the blocks which had changed then you do not need to generate this list and simply send over the changed blocks. Unison keeps a list of files at each end and only exchanges block lists for files that have changed. I use it to sync 40GB (10K files) over a 1Mbps link and it's very fast. It also will do two-way sync. From owner-freebsd-fs@FreeBSD.ORG Sat Apr 7 12:31:52 2007 Return-Path: X-Original-To: freebsd-fs@FreeBSD.org Delivered-To: freebsd-fs@FreeBSD.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id A6FC716A401; Sat, 7 Apr 2007 12:31:52 +0000 (UTC) (envelope-from flz@FreeBSD.org) Received: from postfix1-g20.free.fr (postfix1-g20.free.fr [212.27.60.42]) by mx1.freebsd.org (Postfix) with ESMTP id 64CF713C4C2; Sat, 7 Apr 2007 12:31:52 +0000 (UTC) (envelope-from flz@FreeBSD.org) Received: from smtp6-g19.free.fr (smtp6-g19.free.fr [212.27.42.36]) by postfix1-g20.free.fr (Postfix) with ESMTP id 173ACD3E944; Sat, 7 Apr 2007 14:14:37 +0200 (CEST) Received: from smtp.xbsd.org (unknown [82.233.2.192]) by smtp6-g19.free.fr (Postfix) with ESMTP id BC4236D49B; Sat, 7 Apr 2007 14:14:35 +0200 (CEST) Received: from localhost (localhost.xbsd.org [127.0.0.1]) by smtp.xbsd.org (Postfix) with ESMTP id 2B05E1185B; Sat, 7 Apr 2007 14:14:35 +0200 (CEST) X-Virus-Scanned: amavisd-new at xbsd.org Received: from smtp.xbsd.org ([127.0.0.1]) by localhost (srv1.xbsd.org [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id yAyZxSOuA5iM; Sat, 7 Apr 2007 14:14:30 +0200 (CEST) Received: from [193.120.13.130] (cream.xbsd.org [193.120.13.130]) by smtp.xbsd.org (Postfix) with ESMTP id 269A611843; Sat, 7 Apr 2007 14:14:28 +0200 (CEST) Message-ID: <46178B44.6060503@FreeBSD.org> Date: Sat, 07 Apr 2007 13:15:00 +0100 From: Florent Thoumie User-Agent: Thunderbird 1.5.0.9 (X11/20070122) MIME-Version: 1.0 To: Pawel Jakub Dawidek References: <20070406025700.GB98545@garage.freebsd.pl> In-Reply-To: <20070406025700.GB98545@garage.freebsd.pl> X-Enigmail-Version: 0.94.1.0 Content-Type: multipart/signed; micalg=pgp-sha512; protocol="application/pgp-signature"; boundary="------------enig50247EC9171212A3925FBDCB" Cc: freebsd-fs@FreeBSD.org, freebsd-current@FreeBSD.org Subject: Re: ZFS committed to the FreeBSD base. X-BeenThere: freebsd-fs@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Filesystems List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 07 Apr 2007 12:31:52 -0000 This is an OpenPGP/MIME signed message (RFC 2440 and 3156) --------------enig50247EC9171212A3925FBDCB Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable Pawel Jakub Dawidek wrote: > Hi. >=20 > I'm happy to inform that the ZFS file system is now part of the FreeBSD= > operating system. ZFS is available in the HEAD branch and will be > available in FreeBSD 7.0-RELEASE as an experimental feature. Thanks for working on it Pawel! We're now all waiting for 7.0-RELEASE :-) --=20 Florent Thoumie flz@FreeBSD.org FreeBSD Committer --------------enig50247EC9171212A3925FBDCB Content-Type: application/pgp-signature; name="signature.asc" Content-Description: OpenPGP digital signature Content-Disposition: attachment; filename="signature.asc" -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.7 (FreeBSD) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org iD8DBQFGF4tJMxEkbVFH3PQRCldJAJ0dkQAmZZ9fBB9SrgUmFGi+gmrH2wCffWOu UBRVKtdARyb4b74adC5VlE0= =0DSc -----END PGP SIGNATURE----- --------------enig50247EC9171212A3925FBDCB-- From owner-freebsd-fs@FreeBSD.ORG Sat Apr 7 13:14:19 2007 Return-Path: X-Original-To: freebsd-fs@freebsd.org Delivered-To: freebsd-fs@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id E190E16A403; Sat, 7 Apr 2007 13:14:19 +0000 (UTC) (envelope-from pjd@garage.freebsd.pl) Received: from mail.garage.freebsd.pl (arm132.internetdsl.tpnet.pl [83.17.198.132]) by mx1.freebsd.org (Postfix) with ESMTP id 4EA7413C45D; Sat, 7 Apr 2007 13:14:19 +0000 (UTC) (envelope-from pjd@garage.freebsd.pl) Received: by mail.garage.freebsd.pl (Postfix, from userid 65534) id A34AB487F5; Sat, 7 Apr 2007 15:14:16 +0200 (CEST) Received: from localhost (cvl74.internetdsl.tpnet.pl [83.19.93.74]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by mail.garage.freebsd.pl (Postfix) with ESMTP id 9608A487F3; Sat, 7 Apr 2007 15:14:03 +0200 (CEST) Date: Sat, 7 Apr 2007 15:13:53 +0200 From: Pawel Jakub Dawidek To: ticso@cicely.de Message-ID: <20070407131353.GE63916@garage.freebsd.pl> References: <20070406025700.GB98545@garage.freebsd.pl> <20070407025644.GC8831@cicely12.cicely.de> MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="wTWi5aaYRw9ix9vO" Content-Disposition: inline In-Reply-To: <20070407025644.GC8831@cicely12.cicely.de> X-PGP-Key-URL: http://people.freebsd.org/~pjd/pjd.asc X-OS: FreeBSD 7.0-CURRENT i386 User-Agent: mutt-ng/devel-r804 (FreeBSD) X-Spam-Checker-Version: SpamAssassin 3.0.4 (2005-06-05) on mail.garage.freebsd.pl X-Spam-Level: X-Spam-Status: No, score=-2.5 required=3.0 tests=BAYES_00,RCVD_IN_NJABL_DUL autolearn=no version=3.0.4 Cc: freebsd-fs@freebsd.org, freebsd-current@freebsd.org Subject: Re: ZFS committed to the FreeBSD base. X-BeenThere: freebsd-fs@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Filesystems List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 07 Apr 2007 13:14:20 -0000 --wTWi5aaYRw9ix9vO Content-Type: text/plain; charset=iso-8859-2 Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Sat, Apr 07, 2007 at 04:56:45AM +0200, Bernd Walter wrote: > On Fri, Apr 06, 2007 at 04:57:00AM +0200, Pawel Jakub Dawidek wrote: > > Hi. > >=20 > > I'm happy to inform that the ZFS file system is now part of the FreeBSD > > operating system. ZFS is available in the HEAD branch and will be > > available in FreeBSD 7.0-RELEASE as an experimental feature. >=20 > I got a kmem panic just by copying a recent ports.tgz (36M) onto a ZFS. > My sandbox just has 128MB RAM so kmem was set to ~40M. > After raising kmem to 80M it survived copying the file, but paniced > again while tar -xvzf the file into the same pool. > vfs.zfs.vdev.cache.size is unchanged at 10M. 128MB RAM of suggested minimum in ZFS requirements, but it may be not enough... Minimum of ARC is set to 1/8 of all memory or 64MB (whichever is more). Could you locate these lines in sys/contrib/opensolaris/uts/common/fs/zfs/arc.c file: /* set min cache to 1/32 of all memory, or 64MB, whichever is more */ arc_c_min =3D MAX(arc_c / 4, 64<<20); Change 64 to eg. 32, recompile and retest? --=20 Pawel Jakub Dawidek http://www.wheel.pl pjd@FreeBSD.org http://www.FreeBSD.org FreeBSD committer Am I Evil? Yes, I Am! --wTWi5aaYRw9ix9vO Content-Type: application/pgp-signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.6 (FreeBSD) iD8DBQFGF5kRForvXbEpPzQRApydAKDjoHlw/Of6g2l+Gk3ZW20E2kZ/8QCfWLTY +RnkqsCj8HSqGt356JEAHxA= =7zTq -----END PGP SIGNATURE----- --wTWi5aaYRw9ix9vO-- From owner-freebsd-fs@FreeBSD.ORG Sat Apr 7 14:26:16 2007 Return-Path: X-Original-To: freebsd-fs@freebsd.org Delivered-To: freebsd-fs@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id C382316A401 for ; Sat, 7 Apr 2007 14:26:16 +0000 (UTC) (envelope-from flo@kasimir.com) Received: from config.solomo.org (kasimir.com [85.214.51.166]) by mx1.freebsd.org (Postfix) with ESMTP id 1A65E13C465 for ; Sat, 7 Apr 2007 14:26:15 +0000 (UTC) (envelope-from flo@kasimir.com) Received: (qmail 14308 invoked from network); 7 Apr 2007 15:59:35 +0200 Received: from i53879c69.versanet.de (HELO nibbler-osx.local) (83.135.156.105) by pflegeteam-froendenberg.de with SMTP; 7 Apr 2007 15:59:34 +0200 Message-ID: <4617A3A6.60804@kasimir.com> Date: Sat, 07 Apr 2007 15:59:02 +0200 From: "Florian C. Smeets" User-Agent: Thunderbird 2.0.0.0pre (Macintosh/20070407) MIME-Version: 1.0 To: Pawel Jakub Dawidek References: <20070406025700.GB98545@garage.freebsd.pl> <20070407025644.GC8831@cicely12.cicely.de> <20070407131353.GE63916@garage.freebsd.pl> In-Reply-To: <20070407131353.GE63916@garage.freebsd.pl> X-Enigmail-Version: 0.94.2.0 X-Enigmail-Version: 0.94.2.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Cc: freebsd-fs@freebsd.org, freebsd-current@freebsd.org, ticso@cicely.de Subject: Re: ZFS committed to the FreeBSD base. X-BeenThere: freebsd-fs@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Filesystems List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 07 Apr 2007 14:26:16 -0000 -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 Pawel Jakub Dawidek wrote: > On Sat, Apr 07, 2007 at 04:56:45AM +0200, Bernd Walter wrote: >> My sandbox just has 128MB RAM so kmem was set to ~40M. >> After raising kmem to 80M it survived copying the file, but paniced >> again while tar -xvzf the file into the same pool. >> vfs.zfs.vdev.cache.size is unchanged at 10M. > > 128MB RAM of suggested minimum in ZFS requirements, but it may be not > enough... Minimum of ARC is set to 1/8 of all memory or 64MB (whichever > is more). Could you locate these lines in > sys/contrib/opensolaris/uts/common/fs/zfs/arc.c file: > > /* set min cache to 1/32 of all memory, or 64MB, whichever is more */ > arc_c_min = MAX(arc_c / 4, 64<<20); > > Change 64 to eg. 32, recompile and retest? > Hi Pawel, i had the same problems like Bernd while trying to copy the src tree to a ZFS volume. I have 384MB RAM but i got the same "kmem_map: too small" panic. I compiled my kernel like you proposed and now i am able to copy anything to the volume without panic :-) Regards, Florian P.S. Thanks for all the work on ZFS! -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.6 (Darwin) iD8DBQFGF6OmA+1tjUZ1YScRAnSMAJ4y27u0nGu9L4RgDBclxKh5q6Z/RgCgjbi7 1Ri2CZfH8YKqj8Bdmx7bedM= =PUsh -----END PGP SIGNATURE----- From owner-freebsd-fs@FreeBSD.ORG Sat Apr 7 14:30:06 2007 Return-Path: X-Original-To: freebsd-fs@freebsd.org Delivered-To: freebsd-fs@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 3F28516A46B; Sat, 7 Apr 2007 14:30:06 +0000 (UTC) (envelope-from wb@freebie.xs4all.nl) Received: from smtp-vbr17.xs4all.nl (smtp-vbr17.xs4all.nl [194.109.24.37]) by mx1.freebsd.org (Postfix) with ESMTP id CDF5913C455; Sat, 7 Apr 2007 14:30:05 +0000 (UTC) (envelope-from wb@freebie.xs4all.nl) Received: from freebie.xs4all.nl (obsolete.xs4all.nl [82.95.250.254]) by smtp-vbr17.xs4all.nl (8.13.8/8.13.8) with ESMTP id l37EIJ89092558; Sat, 7 Apr 2007 16:18:20 +0200 (CEST) (envelope-from wb@freebie.xs4all.nl) Received: from freebie.xs4all.nl (localhost [127.0.0.1]) by freebie.xs4all.nl (8.13.8/8.13.3) with ESMTP id l37EHbZH004153; Sat, 7 Apr 2007 16:17:37 +0200 (CEST) (envelope-from wb@freebie.xs4all.nl) Received: (from wb@localhost) by freebie.xs4all.nl (8.13.8/8.13.6/Submit) id l37EHboX004152; Sat, 7 Apr 2007 16:17:37 +0200 (CEST) (envelope-from wb) Date: Sat, 7 Apr 2007 16:17:37 +0200 From: Wilko Bulte To: Jorn Argelo Message-ID: <20070407141736.GC4058@freebie.xs4all.nl> References: <20070406025700.GB98545@garage.freebsd.pl> <46177881.3090509@wcborstel.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <46177881.3090509@wcborstel.com> User-Agent: Mutt/1.5.11 X-Virus-Scanned: by XS4ALL Virus Scanner Cc: freebsd-fs@freebsd.org, zfs-discuss@opensolaris.org, freebsd-current@freebsd.org, Pawel Jakub Dawidek Subject: Re: [zfs-discuss] ZFS committed to the FreeBSD base. X-BeenThere: freebsd-fs@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Filesystems List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 07 Apr 2007 14:30:06 -0000 On Sat, Apr 07, 2007 at 12:54:57PM +0200, Jorn Argelo wrote.. > Rich Teer wrote: > >>I'm happy to inform that the ZFS file system is now part of the FreeBSD > >>operating system. ZFS is available in the HEAD branch and will be > >>available in FreeBSD 7.0-RELEASE as an experimental feature. > >> > > > >This is fantastic news! At the risk of raking over ye olde arguments, > >as the old saying goes: "Dual licensing? We don't need no stinkeen > >dual licensing!". :-) > > > > > First of all, thanks a lot for all the hard work of both the FreeBSD > developers as the ZFS developers. I can't wait to give it a go. > > That leads me to one question though: Why is *BSD able to bring it into > the OS as where Linux has licensing problems with the CDDL? AFAIK Linux > users can only run it in userland mode and not in kernel mode because of > the licenses. My guess(!) is that they do not want non-GPL-ed code in the standard kernel. -- Wilko Bulte wilko@FreeBSD.org From owner-freebsd-fs@FreeBSD.ORG Sat Apr 7 14:39:37 2007 Return-Path: X-Original-To: freebsd-fs@freebsd.org Delivered-To: freebsd-fs@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 6560616A400 for ; Sat, 7 Apr 2007 14:39:37 +0000 (UTC) (envelope-from antik@bsd.ee) Received: from smtp-gw1.starman.ee (smtp-out5.starman.ee [85.253.0.7]) by mx1.freebsd.org (Postfix) with ESMTP id 25B7E13C487 for ; Sat, 7 Apr 2007 14:39:36 +0000 (UTC) (envelope-from antik@bsd.ee) Received: from mx2.starman.ee (mx2.starman.ee [62.65.192.9]) by smtp-gw1.starman.ee (Postfix) with ESMTP id 7EA25A216FB for ; Sat, 7 Apr 2007 17:39:34 +0300 (EEST) Received: from [192.168.2.100] (pc212.host2.ida.starman.ee [62.65.241.212]) by mx2.starman.ee (Postfix) with ESMTP id 99A8132C419 for ; Sat, 7 Apr 2007 17:39:34 +0300 (EEST) From: Andrei Kolu To: freebsd-fs@freebsd.org Date: Sat, 7 Apr 2007 17:39:34 +0300 User-Agent: KMail/1.9.5 References: <20070406025700.GB98545@garage.freebsd.pl> <20070407131353.GE63916@garage.freebsd.pl> <4617A3A6.60804@kasimir.com> In-Reply-To: <4617A3A6.60804@kasimir.com> MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit Content-Disposition: inline Message-Id: <200704071739.34275.antik@bsd.ee> X-Virus-Scanned: by Amavisd-New at mx2.starman.ee Subject: Re: ZFS committed to the FreeBSD base. X-BeenThere: freebsd-fs@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Filesystems List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 07 Apr 2007 14:39:37 -0000 On Saturday 07 April 2007 16:59, Florian C. Smeets wrote: > Pawel Jakub Dawidek wrote: > > On Sat, Apr 07, 2007 at 04:56:45AM +0200, Bernd Walter wrote: > >> My sandbox just has 128MB RAM so kmem was set to ~40M. > >> After raising kmem to 80M it survived copying the file, but paniced > >> again while tar -xvzf the file into the same pool. > >> vfs.zfs.vdev.cache.size is unchanged at 10M. > > > > 128MB RAM of suggested minimum in ZFS requirements, but it may be not > > enough... Minimum of ARC is set to 1/8 of all memory or 64MB (whichever > > is more). Could you locate these lines in > > sys/contrib/opensolaris/uts/common/fs/zfs/arc.c file: > > > > /* set min cache to 1/32 of all memory, or 64MB, whichever is more */ > > arc_c_min = MAX(arc_c / 4, 64<<20); > > > > Change 64 to eg. 32, recompile and retest? > > Hi Pawel, > > i had the same problems like Bernd while trying to copy the src tree to > a ZFS volume. I have 384MB RAM but i got the same "kmem_map: too small" > panic. I compiled my kernel like you proposed and now i am able to copy > anything to the volume without panic :-) > Why we can't use virtual memory? From owner-freebsd-fs@FreeBSD.ORG Sat Apr 7 16:00:10 2007 Return-Path: X-Original-To: freebsd-fs@freebsd.org Delivered-To: freebsd-fs@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id CF2E916A407 for ; Sat, 7 Apr 2007 16:00:10 +0000 (UTC) (envelope-from mike@nux.co.uk) Received: from smtp.nildram.co.uk (smtp.nildram.co.uk [195.112.4.54]) by mx1.freebsd.org (Postfix) with ESMTP id 4844813C480 for ; Sat, 7 Apr 2007 16:00:09 +0000 (UTC) (envelope-from mike@nux.co.uk) Received: from office.nux.co.uk (unknown [82.133.40.67]) by smtp.nildram.co.uk (Postfix) with ESMTP id 9D2A32B73C4 for ; Sat, 7 Apr 2007 17:00:05 +0100 (BST) Received: (qmail 34288 invoked by uid 2223); 7 Apr 2007 16:00:08 -0000 Received: from localhost (sendmail-bs@127.0.0.1) by localhost with SMTP; 7 Apr 2007 16:00:08 -0000 Date: Sat, 7 Apr 2007 17:00:08 +0100 (BST) From: Mike Wolman X-X-Sender: mike@nux.eros.office To: Jim Rees , freebsd-fs@freebsd.org, freebsd-questions@freebsd.org In-Reply-To: <20070407115854.GA14402@citi.umich.edu> Message-ID: <20070407164235.F33915@nux.eros.office> References: <219395.34786.qm@web30302.mail.mud.yahoo.com> <20070407103057.P20396@nux.eros.office> <20070407115854.GA14402@citi.umich.edu> MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII; format=flowed Cc: Subject: Re: some thoughts about gmirror X-BeenThere: freebsd-fs@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Filesystems List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 07 Apr 2007 16:00:10 -0000 > if you were keeping track of the blocks which had changed > then you do not need to generate this list and simply send over the > changed blocks. > > Unison keeps a list of files at each end and only exchanges block lists for > files that have changed. I use it to sync 40GB (10K files) over a 1Mbps > link and it's very fast. It also will do two-way sync. > Unison and rsync both work on the filesystem level and not with the blocks directly so would not be able to achieve the same result as the live network backup on netbsd - ie allowing a simple dd restore of a machine. As this would be filesystem independent and if you are running zfs or other snapshot capable filesystem i think rsync or unison would have a problem working with the snapshots. i do use rsync with close to about 1Tb of data and a lot hard links for - but if the remote file changes you have to store the entire copy of new file and not just the actual blocks which have changed. Mike. On Sat, 7 Apr 2007, Jim Rees wrote: > Mike Wolman wrote: > > From owner-freebsd-fs@FreeBSD.ORG Sat Apr 7 16:10:55 2007 Return-Path: X-Original-To: freebsd-fs@freebsd.org Delivered-To: freebsd-fs@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 8313E16A406 for ; Sat, 7 Apr 2007 16:10:55 +0000 (UTC) (envelope-from rees@citi.umich.edu) Received: from citi.umich.edu (citi.umich.edu [141.211.133.111]) by mx1.freebsd.org (Postfix) with ESMTP id 5E77513C44C for ; Sat, 7 Apr 2007 16:10:55 +0000 (UTC) (envelope-from rees@citi.umich.edu) Received: from citi.umich.edu (dsl093-001-248.det1.dsl.speakeasy.net [66.93.1.248]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by citi.umich.edu (Postfix) with ESMTP id 4466138DB9; Sat, 7 Apr 2007 12:10:46 -0400 (EDT) Date: Sat, 7 Apr 2007 11:10:45 -0500 From: Jim Rees To: Wilko Bulte Message-ID: <20070407161044.GA24875@citi.umich.edu> References: <20070406025700.GB98545@garage.freebsd.pl> <46177881.3090509@wcborstel.com> <20070407141736.GC4058@freebie.xs4all.nl> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20070407141736.GC4058@freebie.xs4all.nl> Cc: freebsd-fs@freebsd.org, zfs-discuss@opensolaris.org, Jorn Argelo , Pawel Jakub Dawidek , freebsd-current@freebsd.org Subject: Re: [zfs-discuss] ZFS committed to the FreeBSD base. X-BeenThere: freebsd-fs@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Filesystems List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 07 Apr 2007 16:10:55 -0000 Wilko Bulte wrote: My guess(!) is that they do not want non-GPL-ed code in the standard kernel. Actually there is non-GPL code in linux, NFSv4 for example. Some licenses are considered "incompatible." OpenAFS falls into this category, apparently because of some problem with patents. I don't know what the situation is with CDDL. From owner-freebsd-fs@FreeBSD.ORG Sat Apr 7 16:58:16 2007 Return-Path: X-Original-To: freebsd-fs@FreeBSD.org Delivered-To: freebsd-fs@FreeBSD.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 6802F16A401; Sat, 7 Apr 2007 16:58:16 +0000 (UTC) (envelope-from ticso@cicely12.cicely.de) Received: from raven.bwct.de (raven.bwct.de [85.159.14.73]) by mx1.freebsd.org (Postfix) with ESMTP id CEE0113C4B0; Sat, 7 Apr 2007 16:58:15 +0000 (UTC) (envelope-from ticso@cicely12.cicely.de) Received: from cicely5.cicely.de ([10.1.1.7]) by raven.bwct.de (8.13.4/8.13.4) with ESMTP id l37GwETj022109; Sat, 7 Apr 2007 18:58:14 +0200 (CEST) (envelope-from ticso@cicely12.cicely.de) Received: from cicely12.cicely.de (cicely12.cicely.de [10.1.1.14]) by cicely5.cicely.de (8.13.4/8.13.4) with ESMTP id l37Gw0OR091231 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO); Sat, 7 Apr 2007 18:58:01 +0200 (CEST) (envelope-from ticso@cicely12.cicely.de) Received: from cicely12.cicely.de (localhost [127.0.0.1]) by cicely12.cicely.de (8.13.4/8.13.3) with ESMTP id l37Gw0Dd017206; Sat, 7 Apr 2007 18:58:00 +0200 (CEST) (envelope-from ticso@cicely12.cicely.de) Received: (from ticso@localhost) by cicely12.cicely.de (8.13.4/8.13.3/Submit) id l37Gw08N017205; Sat, 7 Apr 2007 18:58:00 +0200 (CEST) (envelope-from ticso) Date: Sat, 7 Apr 2007 18:58:00 +0200 From: Bernd Walter To: "Florian C. Smeets" Message-ID: <20070407165759.GG8831@cicely12.cicely.de> References: <20070406025700.GB98545@garage.freebsd.pl> <20070407025644.GC8831@cicely12.cicely.de> <20070407131353.GE63916@garage.freebsd.pl> <4617A3A6.60804@kasimir.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <4617A3A6.60804@kasimir.com> X-Operating-System: FreeBSD cicely12.cicely.de 5.4-STABLE alpha User-Agent: Mutt/1.5.9i X-Spam-Status: No, score=-4.4 required=5.0 tests=ALL_TRUSTED=-1.8, BAYES_00=-2.599 autolearn=ham version=3.1.7 X-Spam-Checker-Version: SpamAssassin 3.1.7 (2006-10-05) on cicely12.cicely.de Cc: freebsd-fs@FreeBSD.org, freebsd-current@FreeBSD.org, Pawel Jakub Dawidek , ticso@cicely.de Subject: Re: ZFS committed to the FreeBSD base. X-BeenThere: freebsd-fs@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: ticso@cicely.de List-Id: Filesystems List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 07 Apr 2007 16:58:16 -0000 On Sat, Apr 07, 2007 at 03:59:02PM +0200, Florian C. Smeets wrote: > -----BEGIN PGP SIGNED MESSAGE----- > Hash: SHA1 > > Pawel Jakub Dawidek wrote: > > On Sat, Apr 07, 2007 at 04:56:45AM +0200, Bernd Walter wrote: > >> My sandbox just has 128MB RAM so kmem was set to ~40M. > >> After raising kmem to 80M it survived copying the file, but paniced > >> again while tar -xvzf the file into the same pool. > >> vfs.zfs.vdev.cache.size is unchanged at 10M. > > > > 128MB RAM of suggested minimum in ZFS requirements, but it may be not > > enough... Minimum of ARC is set to 1/8 of all memory or 64MB (whichever > > is more). Could you locate these lines in > > sys/contrib/opensolaris/uts/common/fs/zfs/arc.c file: > > > > /* set min cache to 1/32 of all memory, or 64MB, whichever is more */ > > arc_c_min = MAX(arc_c / 4, 64<<20); > > > > Change 64 to eg. 32, recompile and retest? > > > > Hi Pawel, > > i had the same problems like Bernd while trying to copy the src tree to > a ZFS volume. I have 384MB RAM but i got the same "kmem_map: too small" > panic. I compiled my kernel like you proposed and now i am able to copy > anything to the volume without panic :-) I had increased RAM to 384 and still had a panic with default kmem (IIRC around 100M) and even increasing kmem to 160M did help a long time, but still produced the panic after a while. I don't think 64M applies here as the real limit. -- B.Walter http://www.bwct.de http://www.fizon.de bernd@bwct.de info@bwct.de support@fizon.de From owner-freebsd-fs@FreeBSD.ORG Sat Apr 7 18:03:30 2007 Return-Path: X-Original-To: freebsd-fs@FreeBSD.org Delivered-To: freebsd-fs@FreeBSD.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id E210416A400; Sat, 7 Apr 2007 18:03:30 +0000 (UTC) (envelope-from ticso@cicely12.cicely.de) Received: from raven.bwct.de (raven.bwct.de [85.159.14.73]) by mx1.freebsd.org (Postfix) with ESMTP id 711D113C483; Sat, 7 Apr 2007 18:03:30 +0000 (UTC) (envelope-from ticso@cicely12.cicely.de) Received: from cicely5.cicely.de ([10.1.1.7]) by raven.bwct.de (8.13.4/8.13.4) with ESMTP id l37I3T2x025775; Sat, 7 Apr 2007 20:03:29 +0200 (CEST) (envelope-from ticso@cicely12.cicely.de) Received: from cicely12.cicely.de (cicely12.cicely.de [10.1.1.14]) by cicely5.cicely.de (8.13.4/8.13.4) with ESMTP id l37I3K96091603 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO); Sat, 7 Apr 2007 20:03:20 +0200 (CEST) (envelope-from ticso@cicely12.cicely.de) Received: from cicely12.cicely.de (localhost [127.0.0.1]) by cicely12.cicely.de (8.13.4/8.13.3) with ESMTP id l37I3JlT017380; Sat, 7 Apr 2007 20:03:19 +0200 (CEST) (envelope-from ticso@cicely12.cicely.de) Received: (from ticso@localhost) by cicely12.cicely.de (8.13.4/8.13.3/Submit) id l37I3J7r017379; Sat, 7 Apr 2007 20:03:19 +0200 (CEST) (envelope-from ticso) Date: Sat, 7 Apr 2007 20:03:19 +0200 From: Bernd Walter To: "Florian C. Smeets" Message-ID: <20070407180319.GH8831@cicely12.cicely.de> References: <20070406025700.GB98545@garage.freebsd.pl> <20070407025644.GC8831@cicely12.cicely.de> <20070407131353.GE63916@garage.freebsd.pl> <4617A3A6.60804@kasimir.com> <20070407165759.GG8831@cicely12.cicely.de> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20070407165759.GG8831@cicely12.cicely.de> X-Operating-System: FreeBSD cicely12.cicely.de 5.4-STABLE alpha User-Agent: Mutt/1.5.9i X-Spam-Status: No, score=-4.4 required=5.0 tests=ALL_TRUSTED=-1.8, BAYES_00=-2.599 autolearn=ham version=3.1.7 X-Spam-Checker-Version: SpamAssassin 3.1.7 (2006-10-05) on cicely12.cicely.de Cc: freebsd-fs@FreeBSD.org, freebsd-current@FreeBSD.org, Pawel Jakub Dawidek , ticso@cicely.de Subject: Re: ZFS committed to the FreeBSD base. X-BeenThere: freebsd-fs@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: ticso@cicely.de List-Id: Filesystems List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 07 Apr 2007 18:03:31 -0000 On Sat, Apr 07, 2007 at 06:58:00PM +0200, Bernd Walter wrote: > On Sat, Apr 07, 2007 at 03:59:02PM +0200, Florian C. Smeets wrote: > > -----BEGIN PGP SIGNED MESSAGE----- > > Hash: SHA1 > > > > Pawel Jakub Dawidek wrote: > > > On Sat, Apr 07, 2007 at 04:56:45AM +0200, Bernd Walter wrote: > > >> My sandbox just has 128MB RAM so kmem was set to ~40M. > > >> After raising kmem to 80M it survived copying the file, but paniced > > >> again while tar -xvzf the file into the same pool. > > >> vfs.zfs.vdev.cache.size is unchanged at 10M. > > > > > > 128MB RAM of suggested minimum in ZFS requirements, but it may be not > > > enough... Minimum of ARC is set to 1/8 of all memory or 64MB (whichever > > > is more). Could you locate these lines in > > > sys/contrib/opensolaris/uts/common/fs/zfs/arc.c file: > > > > > > /* set min cache to 1/32 of all memory, or 64MB, whichever is more */ > > > arc_c_min = MAX(arc_c / 4, 64<<20); > > > > > > Change 64 to eg. 32, recompile and retest? > > > > > > > Hi Pawel, > > > > i had the same problems like Bernd while trying to copy the src tree to > > a ZFS volume. I have 384MB RAM but i got the same "kmem_map: too small" > > panic. I compiled my kernel like you proposed and now i am able to copy > > anything to the volume without panic :-) > > I had increased RAM to 384 and still had a panic with default kmem > (IIRC around 100M) and even increasing kmem to 160M did help a long > time, but still produced the panic after a while. > I don't think 64M applies here as the real limit. Now with 240M kmem it looks good, but I'm still unshure: kstat.zfs.misc.arcstats.c_min: 67108864 kstat.zfs.misc.arcstats.c_max: 188743680 kstat.zfs.misc.arcstats.size: 87653376 c_max seemed to be increasing with kmem, but I did compare it with a remebered value. Should be good with: vm.kmem_size: 251658240 But top shows wired memory which is roughly twice the size of arcstats.size, so I'm still worried about kmem exhaustion if ARC runs up to c_max. Since the c_min/c_max values also influence the available RAM for other purposes as well, can we have it at least a loader.conf tuneable? Otherwise - the reboot after the panics where impressive. No long fsck times or noticed data corruption - even with NFS clients. All in all it is a great job. -- B.Walter http://www.bwct.de http://www.fizon.de bernd@bwct.de info@bwct.de support@fizon.de From owner-freebsd-fs@FreeBSD.ORG Sat Apr 7 19:15:41 2007 Return-Path: X-Original-To: freebsd-fs@FreeBSD.org Delivered-To: freebsd-fs@FreeBSD.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id B7B2816A403; Sat, 7 Apr 2007 19:15:41 +0000 (UTC) (envelope-from pjd@garage.freebsd.pl) Received: from mail.garage.freebsd.pl (arm132.internetdsl.tpnet.pl [83.17.198.132]) by mx1.freebsd.org (Postfix) with ESMTP id 55D9A13C465; Sat, 7 Apr 2007 19:15:39 +0000 (UTC) (envelope-from pjd@garage.freebsd.pl) Received: by mail.garage.freebsd.pl (Postfix, from userid 65534) id 3CE32487FB; Sat, 7 Apr 2007 21:15:38 +0200 (CEST) Received: from localhost (cvl74.internetdsl.tpnet.pl [83.19.93.74]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by mail.garage.freebsd.pl (Postfix) with ESMTP id 4009C487FA; Sat, 7 Apr 2007 21:15:27 +0200 (CEST) Date: Sat, 7 Apr 2007 21:15:17 +0200 From: Pawel Jakub Dawidek To: ticso@cicely.de Message-ID: <20070407191517.GN63916@garage.freebsd.pl> References: <20070406025700.GB98545@garage.freebsd.pl> <20070407025644.GC8831@cicely12.cicely.de> <20070407131353.GE63916@garage.freebsd.pl> <4617A3A6.60804@kasimir.com> <20070407165759.GG8831@cicely12.cicely.de> <20070407180319.GH8831@cicely12.cicely.de> MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="+mr2ctTDD1GjnQwB" Content-Disposition: inline In-Reply-To: <20070407180319.GH8831@cicely12.cicely.de> X-PGP-Key-URL: http://people.freebsd.org/~pjd/pjd.asc X-OS: FreeBSD 7.0-CURRENT i386 User-Agent: mutt-ng/devel-r804 (FreeBSD) X-Spam-Checker-Version: SpamAssassin 3.0.4 (2005-06-05) on mail.garage.freebsd.pl X-Spam-Level: X-Spam-Status: No, score=-2.5 required=3.0 tests=BAYES_00,RCVD_IN_NJABL_DUL autolearn=no version=3.0.4 Cc: freebsd-fs@FreeBSD.org, freebsd-current@FreeBSD.org, "Florian C. Smeets" Subject: Re: ZFS committed to the FreeBSD base. X-BeenThere: freebsd-fs@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Filesystems List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 07 Apr 2007 19:15:41 -0000 --+mr2ctTDD1GjnQwB Content-Type: text/plain; charset=iso-8859-2 Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Sat, Apr 07, 2007 at 08:03:19PM +0200, Bernd Walter wrote: > Now with 240M kmem it looks good, but I'm still unshure: > kstat.zfs.misc.arcstats.c_min: 67108864 > kstat.zfs.misc.arcstats.c_max: 188743680 > kstat.zfs.misc.arcstats.size: 87653376 > c_max seemed to be increasing with kmem, but I did compare it with a > remebered value. > Should be good with: > vm.kmem_size: 251658240 > But top shows wired memory which is roughly twice the size of > arcstats.size, so I'm still worried about kmem exhaustion if ARC runs > up to c_max. > Since the c_min/c_max values also influence the available RAM for other > purposes as well, can we have it at least a loader.conf tuneable? Just committed a change. You can tune max and min ARC size via vfs.zfs.arc_max and vfs.zfs.arc_min tunnables. --=20 Pawel Jakub Dawidek http://www.wheel.pl pjd@FreeBSD.org http://www.FreeBSD.org FreeBSD committer Am I Evil? Yes, I Am! --+mr2ctTDD1GjnQwB Content-Type: application/pgp-signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.6 (FreeBSD) iD8DBQFGF+3FForvXbEpPzQRAo+mAKDGkO29Uzx3IFYyw4WJm1qYt0k/ngCfRXGd XGFVMfBNn2yp0nCxRtTbGV4= =XtYK -----END PGP SIGNATURE----- --+mr2ctTDD1GjnQwB-- From owner-freebsd-fs@FreeBSD.ORG Sat Apr 7 19:20:35 2007 Return-Path: X-Original-To: freebsd-fs@FreeBSD.org Delivered-To: freebsd-fs@FreeBSD.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 43B7E16A400; Sat, 7 Apr 2007 19:20:35 +0000 (UTC) (envelope-from jorn@wcborstel.com) Received: from mail.wcborstel.com (www.wcborstel.com [82.93.93.17]) by mx1.freebsd.org (Postfix) with ESMTP id EE7E813C43E; Sat, 7 Apr 2007 19:20:34 +0000 (UTC) (envelope-from jorn@wcborstel.com) Received: from mail.wcborstel.com (localhost [10.0.0.2]) by mail.wcborstel.com (Postfix) with ESMTP id 86053434379; Sat, 7 Apr 2007 21:20:40 +0200 (CEST) Received: by mail.wcborstel.com (Postfix, from userid 58) id 3B041434374; Sat, 7 Apr 2007 21:20:40 +0200 (CEST) X-Spam-Checker-Version: SpamAssassin 3.1.8 (2007-02-13) on mail.wcborstel.com X-Spam-Level: X-Spam-Status: No, score=-1.3 required=5.0 tests=ALL_TRUSTED, DK_POLICY_SIGNSOME,SARE_SUB_OBFU_OTHER autolearn=ham version=3.1.8 X-Spam-Report: * 0.1 SARE_SUB_OBFU_OTHER FVGT - subject contains odd letter combinations * 0.0 DK_POLICY_SIGNSOME Domain Keys: policy says domain signs some mails * -1.4 ALL_TRUSTED Passed through trusted hosts only via SMTP Received: from [192.168.1.6] (unknown [192.168.1.6]) by mail.wcborstel.com (Postfix) with ESMTP id 96791434327; Sat, 7 Apr 2007 21:20:36 +0200 (CEST) Message-ID: <4617EF00.7010403@wcborstel.com> Date: Sat, 07 Apr 2007 21:20:32 +0200 From: Jorn Argelo User-Agent: Thunderbird 1.5.0.10 (Windows/20070221) MIME-Version: 1.0 To: Pawel Jakub Dawidek References: <20070406214325.GB61039@garage.freebsd.pl> In-Reply-To: <20070406214325.GB61039@garage.freebsd.pl> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-Virus-Scanned: ClamAV using ClamSMTP Cc: freebsd-fs@FreeBSD.org, freebsd-current@FreeBSD.org Subject: Re: ZFS - quick start. X-BeenThere: freebsd-fs@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Filesystems List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 07 Apr 2007 19:20:35 -0000 Pawel Jakub Dawidek wrote: > Ok, ZFS is now in the tree, what's now? Below you'll find some > instructions how to quickly make it up and running. > > Thanks for this Pawel. I have a machine with an external storage array running gvinum on 6.1-RELEASE. Do you think I can use ZFS to replace gvinum once 7.0 has been released? The box is fairly important, but ZFS has been out in the wild for a while so I have confidence in that. Or do you think I should not use it for production purposes yet? Thanks, Jorn From owner-freebsd-fs@FreeBSD.ORG Sat Apr 7 19:44:03 2007 Return-Path: X-Original-To: freebsd-fs@FreeBSD.org Delivered-To: freebsd-fs@FreeBSD.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id AC98016A404; Sat, 7 Apr 2007 19:44:03 +0000 (UTC) (envelope-from des@des.no) Received: from tim.des.no (tim.des.no [194.63.250.121]) by mx1.freebsd.org (Postfix) with ESMTP id 6824613C4BF; Sat, 7 Apr 2007 19:44:03 +0000 (UTC) (envelope-from des@des.no) Received: from tim.des.no (localhost [127.0.0.1]) by spam.des.no (Postfix) with ESMTP id C13F42091; Sat, 7 Apr 2007 21:43:59 +0200 (CEST) X-Spam-Tests: AWL X-Spam-Learn: disabled X-Spam-Score: 0.0/3.0 X-Spam-Checker-Version: SpamAssassin 3.1.7 (2006-10-05) on tim.des.no Received: from dwp.des.no (des.no [80.203.243.180]) by smtp.des.no (Postfix) with ESMTP id 46E7A2090; Sat, 7 Apr 2007 21:43:59 +0200 (CEST) Received: by dwp.des.no (Postfix, from userid 1001) id 37651A10A5; Sat, 7 Apr 2007 21:43:59 +0200 (CEST) From: des@des.no (Dag-Erling =?iso-8859-1?Q?Sm=F8rgrav?=) To: Pawel Jakub Dawidek References: <20070406025700.GB98545@garage.freebsd.pl> Date: Sat, 07 Apr 2007 21:43:59 +0200 In-Reply-To: <20070406025700.GB98545@garage.freebsd.pl> (Pawel Jakub Dawidek's message of "Fri, 6 Apr 2007 04:57:00 +0200") Message-ID: <86k5wo55s0.fsf@dwp.des.no> User-Agent: Gnus/5.110006 (No Gnus v0.6) Emacs/21.3 (berkeley-unix) MIME-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Transfer-Encoding: quoted-printable Cc: freebsd-fs@FreeBSD.org, zfs-discuss@opensolaris.org, freebsd-current@FreeBSD.org Subject: Re: ZFS committed to the FreeBSD base. X-BeenThere: freebsd-fs@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Filesystems List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 07 Apr 2007 19:44:03 -0000 Pawel Jakub Dawidek writes: > Limitations. > > Currently ZFS is only compiled as kernel module and is only available > for i386 architecture. Amd64 should be available very soon, the other > archs will come later, as we implement needed atomic operations. ZFS is now also available on pc98 and amd64. DES --=20 Dag-Erling Sm=F8rgrav - des@des.no From owner-freebsd-fs@FreeBSD.ORG Sat Apr 7 20:00:23 2007 Return-Path: X-Original-To: freebsd-fs@FreeBSD.org Delivered-To: freebsd-fs@FreeBSD.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id BD72416A407; Sat, 7 Apr 2007 20:00:23 +0000 (UTC) (envelope-from pjd@garage.freebsd.pl) Received: from mail.garage.freebsd.pl (arm132.internetdsl.tpnet.pl [83.17.198.132]) by mx1.freebsd.org (Postfix) with ESMTP id 5F32C13C48A; Sat, 7 Apr 2007 20:00:22 +0000 (UTC) (envelope-from pjd@garage.freebsd.pl) Received: by mail.garage.freebsd.pl (Postfix, from userid 65534) id ADFA4487F4; Sat, 7 Apr 2007 22:00:21 +0200 (CEST) Received: from localhost (cvl74.internetdsl.tpnet.pl [83.19.93.74]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by mail.garage.freebsd.pl (Postfix) with ESMTP id F197345685; Sat, 7 Apr 2007 22:00:11 +0200 (CEST) Date: Sat, 7 Apr 2007 22:00:00 +0200 From: Pawel Jakub Dawidek To: Jorn Argelo Message-ID: <20070407200000.GO63916@garage.freebsd.pl> References: <20070406214325.GB61039@garage.freebsd.pl> <4617EF00.7010403@wcborstel.com> MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="m46qSNjkc66Ye11q" Content-Disposition: inline In-Reply-To: <4617EF00.7010403@wcborstel.com> X-PGP-Key-URL: http://people.freebsd.org/~pjd/pjd.asc X-OS: FreeBSD 7.0-CURRENT i386 User-Agent: mutt-ng/devel-r804 (FreeBSD) X-Spam-Checker-Version: SpamAssassin 3.0.4 (2005-06-05) on mail.garage.freebsd.pl X-Spam-Level: X-Spam-Status: No, score=-2.5 required=3.0 tests=BAYES_00,RCVD_IN_NJABL_DUL autolearn=no version=3.0.4 Cc: freebsd-fs@FreeBSD.org, freebsd-current@FreeBSD.org Subject: Re: ZFS - quick start. X-BeenThere: freebsd-fs@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Filesystems List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 07 Apr 2007 20:00:23 -0000 --m46qSNjkc66Ye11q Content-Type: text/plain; charset=iso-8859-2 Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Sat, Apr 07, 2007 at 09:20:32PM +0200, Jorn Argelo wrote: > Pawel Jakub Dawidek wrote: > >Ok, ZFS is now in the tree, what's now? Below you'll find some > >instructions how to quickly make it up and running. > > > > =20 > Thanks for this Pawel. >=20 > I have a machine with an external storage array running gvinum on 6.1-REL= EASE. Do you think I can use ZFS to replace gvinum once 7.0 has been releas= ed? The box is fairly=20 > important, but ZFS has been out in the wild for a while so I have confide= nce in that. Or do you think I should not use it for production purposes ye= t? It is stable for me, which doesn't mean it is stable. As I said it will be marked as experimental feature for 7.0-RELEASE, so if something break all bets are off. The best you can do it to test it now for your workload and decide based on results. --=20 Pawel Jakub Dawidek http://www.wheel.pl pjd@FreeBSD.org http://www.FreeBSD.org FreeBSD committer Am I Evil? Yes, I Am! --m46qSNjkc66Ye11q Content-Type: application/pgp-signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.6 (FreeBSD) iD8DBQFGF/hAForvXbEpPzQRAlpKAJsHY0QXU0d1n1yGj4uwcEPG1WDUEACeNOdZ 9IA1iV/2g2AWwWXFjaUUwrw= =6a6Q -----END PGP SIGNATURE----- --m46qSNjkc66Ye11q-- From owner-freebsd-fs@FreeBSD.ORG Sat Apr 7 20:34:24 2007 Return-Path: X-Original-To: freebsd-fs@freebsd.org Delivered-To: freebsd-fs@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 109B316A401; Sat, 7 Apr 2007 20:34:24 +0000 (UTC) (envelope-from ticso@cicely12.cicely.de) Received: from raven.bwct.de (raven.bwct.de [85.159.14.73]) by mx1.freebsd.org (Postfix) with ESMTP id 928D213C44C; Sat, 7 Apr 2007 20:34:23 +0000 (UTC) (envelope-from ticso@cicely12.cicely.de) Received: from cicely5.cicely.de ([10.1.1.7]) by raven.bwct.de (8.13.4/8.13.4) with ESMTP id l37KYK7n032871; Sat, 7 Apr 2007 22:34:20 +0200 (CEST) (envelope-from ticso@cicely12.cicely.de) Received: from cicely12.cicely.de (cicely12.cicely.de [10.1.1.14]) by cicely5.cicely.de (8.13.4/8.13.4) with ESMTP id l37KYD1E092494 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO); Sat, 7 Apr 2007 22:34:13 +0200 (CEST) (envelope-from ticso@cicely12.cicely.de) Received: from cicely12.cicely.de (localhost [127.0.0.1]) by cicely12.cicely.de (8.13.4/8.13.3) with ESMTP id l37KYCJp017712; Sat, 7 Apr 2007 22:34:12 +0200 (CEST) (envelope-from ticso@cicely12.cicely.de) Received: (from ticso@localhost) by cicely12.cicely.de (8.13.4/8.13.3/Submit) id l37KYCDA017711; Sat, 7 Apr 2007 22:34:12 +0200 (CEST) (envelope-from ticso) Date: Sat, 7 Apr 2007 22:34:12 +0200 From: Bernd Walter To: Dag-Erling =?iso-8859-1?Q?Sm=F8rgrav?= Message-ID: <20070407203411.GJ8831@cicely12.cicely.de> References: <20070406025700.GB98545@garage.freebsd.pl> <86k5wo55s0.fsf@dwp.des.no> Mime-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Disposition: inline Content-Transfer-Encoding: 8bit In-Reply-To: <86k5wo55s0.fsf@dwp.des.no> X-Operating-System: FreeBSD cicely12.cicely.de 5.4-STABLE alpha User-Agent: Mutt/1.5.9i X-Spam-Status: No, score=-4.4 required=5.0 tests=ALL_TRUSTED=-1.8, BAYES_00=-2.599 autolearn=ham version=3.1.7 X-Spam-Checker-Version: SpamAssassin 3.1.7 (2006-10-05) on cicely12.cicely.de Cc: freebsd-fs@freebsd.org, zfs-discuss@opensolaris.org, freebsd-current@freebsd.org, Pawel Jakub Dawidek Subject: Re: ZFS committed to the FreeBSD base. X-BeenThere: freebsd-fs@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: ticso@cicely.de List-Id: Filesystems List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 07 Apr 2007 20:34:24 -0000 On Sat, Apr 07, 2007 at 09:43:59PM +0200, Dag-Erling Smørgrav wrote: > Pawel Jakub Dawidek writes: > > Limitations. > > > > Currently ZFS is only compiled as kernel module and is only available > > for i386 architecture. Amd64 should be available very soon, the other > > archs will come later, as we implement needed atomic operations. > > ZFS is now also available on pc98 and amd64. Great to read - is it just atomic.S missing for the remaining architectures? -- B.Walter http://www.bwct.de http://www.fizon.de bernd@bwct.de info@bwct.de support@fizon.de From owner-freebsd-fs@FreeBSD.ORG Sat Apr 7 21:16:17 2007 Return-Path: X-Original-To: freebsd-fs@freebsd.org Delivered-To: freebsd-fs@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id AEFAD16A403; Sat, 7 Apr 2007 21:16:17 +0000 (UTC) (envelope-from des@des.no) Received: from tim.des.no (tim.des.no [194.63.250.121]) by mx1.freebsd.org (Postfix) with ESMTP id 6C06013C457; Sat, 7 Apr 2007 21:16:17 +0000 (UTC) (envelope-from des@des.no) Received: from tim.des.no (localhost [127.0.0.1]) by spam.des.no (Postfix) with ESMTP id 8EEAD20C6; Sat, 7 Apr 2007 23:16:13 +0200 (CEST) X-Spam-Tests: AWL X-Spam-Learn: disabled X-Spam-Score: 0.0/3.0 X-Spam-Checker-Version: SpamAssassin 3.1.7 (2006-10-05) on tim.des.no Received: from dwp.des.no (des.no [80.203.243.180]) by smtp.des.no (Postfix) with ESMTP id 7AED320BE; Sat, 7 Apr 2007 23:16:13 +0200 (CEST) Received: by dwp.des.no (Postfix, from userid 1001) id 004F4A10A5; Sat, 7 Apr 2007 23:16:12 +0200 (CEST) From: des@des.no (Dag-Erling =?iso-8859-1?Q?Sm=F8rgrav?=) To: ticso@cicely.de References: <20070406025700.GB98545@garage.freebsd.pl> <86k5wo55s0.fsf@dwp.des.no> <20070407203411.GJ8831@cicely12.cicely.de> Date: Sat, 07 Apr 2007 23:16:12 +0200 In-Reply-To: <20070407203411.GJ8831@cicely12.cicely.de> (Bernd Walter's message of "Sat, 7 Apr 2007 22:34:12 +0200") Message-ID: <86wt0n3mxv.fsf@dwp.des.no> User-Agent: Gnus/5.110006 (No Gnus v0.6) Emacs/21.3 (berkeley-unix) MIME-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Transfer-Encoding: quoted-printable Cc: freebsd-fs@freebsd.org, zfs-discuss@opensolaris.org, freebsd-current@freebsd.org, Pawel Jakub Dawidek Subject: Re: ZFS committed to the FreeBSD base. X-BeenThere: freebsd-fs@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Filesystems List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 07 Apr 2007 21:16:17 -0000 Bernd Walter writes: > On Sat, Apr 07, 2007 at 09:43:59PM +0200, Dag-Erling Sm=F8rgrav wrote: > > ZFS is now also available on pc98 and amd64. > Great to read - is it just atomic.S missing for the remaining > architectures? Yes. Ideally, ZFS would use FreeBSD's atomic operations instead of its own. I believe that the reason it doesn't is (at least in part) that we don't have 64-bit atomic operations for i386. I have unfinished patches for cleaning up the atomic operations on all platforms; I'll dust them off and see what I can do. DES --=20 Dag-Erling Sm=F8rgrav - des@des.no From owner-freebsd-fs@FreeBSD.ORG Sat Apr 7 21:24:29 2007 Return-Path: X-Original-To: freebsd-fs@FreeBSD.org Delivered-To: freebsd-fs@FreeBSD.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id C621116A402; Sat, 7 Apr 2007 21:24:29 +0000 (UTC) (envelope-from ticso@cicely12.cicely.de) Received: from raven.bwct.de (raven.bwct.de [85.159.14.73]) by mx1.freebsd.org (Postfix) with ESMTP id 396EA13C4BB; Sat, 7 Apr 2007 21:24:28 +0000 (UTC) (envelope-from ticso@cicely12.cicely.de) Received: from cicely5.cicely.de ([10.1.1.7]) by raven.bwct.de (8.13.4/8.13.4) with ESMTP id l37LORZX034625; Sat, 7 Apr 2007 23:24:27 +0200 (CEST) (envelope-from ticso@cicely12.cicely.de) Received: from cicely12.cicely.de (cicely12.cicely.de [10.1.1.14]) by cicely5.cicely.de (8.13.4/8.13.4) with ESMTP id l37LOEgY092776 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO); Sat, 7 Apr 2007 23:24:15 +0200 (CEST) (envelope-from ticso@cicely12.cicely.de) Received: from cicely12.cicely.de (localhost [127.0.0.1]) by cicely12.cicely.de (8.13.4/8.13.3) with ESMTP id l37LOE1P017826; Sat, 7 Apr 2007 23:24:14 +0200 (CEST) (envelope-from ticso@cicely12.cicely.de) Received: (from ticso@localhost) by cicely12.cicely.de (8.13.4/8.13.3/Submit) id l37LOE4U017825; Sat, 7 Apr 2007 23:24:14 +0200 (CEST) (envelope-from ticso) Date: Sat, 7 Apr 2007 23:24:14 +0200 From: Bernd Walter To: Pawel Jakub Dawidek Message-ID: <20070407212413.GK8831@cicely12.cicely.de> References: <20070406025700.GB98545@garage.freebsd.pl> <20070407025644.GC8831@cicely12.cicely.de> <20070407131353.GE63916@garage.freebsd.pl> <4617A3A6.60804@kasimir.com> <20070407165759.GG8831@cicely12.cicely.de> <20070407180319.GH8831@cicely12.cicely.de> <20070407191517.GN63916@garage.freebsd.pl> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20070407191517.GN63916@garage.freebsd.pl> X-Operating-System: FreeBSD cicely12.cicely.de 5.4-STABLE alpha User-Agent: Mutt/1.5.9i X-Spam-Status: No, score=-4.4 required=5.0 tests=ALL_TRUSTED=-1.8, BAYES_00=-2.599 autolearn=ham version=3.1.7 X-Spam-Checker-Version: SpamAssassin 3.1.7 (2006-10-05) on cicely12.cicely.de Cc: freebsd-fs@FreeBSD.org, freebsd-current@FreeBSD.org, "Florian C. Smeets" , ticso@cicely.de Subject: Re: ZFS committed to the FreeBSD base. X-BeenThere: freebsd-fs@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: ticso@cicely.de List-Id: Filesystems List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 07 Apr 2007 21:24:29 -0000 On Sat, Apr 07, 2007 at 09:15:17PM +0200, Pawel Jakub Dawidek wrote: > On Sat, Apr 07, 2007 at 08:03:19PM +0200, Bernd Walter wrote: > > Now with 240M kmem it looks good, but I'm still unshure: > > kstat.zfs.misc.arcstats.c_min: 67108864 > > kstat.zfs.misc.arcstats.c_max: 188743680 > > kstat.zfs.misc.arcstats.size: 87653376 > > c_max seemed to be increasing with kmem, but I did compare it with a > > remebered value. > > Should be good with: > > vm.kmem_size: 251658240 > > But top shows wired memory which is roughly twice the size of > > arcstats.size, so I'm still worried about kmem exhaustion if ARC runs > > up to c_max. > > Since the c_min/c_max values also influence the available RAM for other > > purposes as well, can we have it at least a loader.conf tuneable? > > Just committed a change. You can tune max and min ARC size via > vfs.zfs.arc_max and vfs.zfs.arc_min tunnables. Thanks - I'd set c_max to 80M now and will see what happens, since I had such a panic again with 240M kmem. I'm a bit confused about the calculation as such. Lets asume a 4G i386 system. arg_c = 512M c_min = 512M c_max = 3G But isn't this KVA space, of which we usually can't have 3G on i386 without limiting userland to 1G? Even 512M KVA sounds very much on a i386, since 4G systems usually have more use for limited KVA. -- B.Walter http://www.bwct.de http://www.fizon.de bernd@bwct.de info@bwct.de support@fizon.de