From owner-freebsd-fs@FreeBSD.ORG Tue Jul 28 06:43:09 2009 Return-Path: Delivered-To: freebsd-fs@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 82D75106564A for ; Tue, 28 Jul 2009 06:43:09 +0000 (UTC) (envelope-from bo.coopci@gmail.com) Received: from mail-px0-f196.google.com (mail-px0-f196.google.com [209.85.216.196]) by mx1.freebsd.org (Postfix) with ESMTP id 5847D8FC16 for ; Tue, 28 Jul 2009 06:43:09 +0000 (UTC) (envelope-from bo.coopci@gmail.com) Received: by pxi34 with SMTP id 34so1148469pxi.3 for ; Mon, 27 Jul 2009 23:43:09 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:message-id:date:from :user-agent:mime-version:to:subject:content-type :content-transfer-encoding; bh=BuVNZbEbJL5XscPYqpU/giJa0AE6zI1qwxZnvVVUqDQ=; b=VK6LBfNemcnm6xEdCb3bj01TTIVLTC1SFsOWiluDEeqRbel3KTS1NYgCMKh+bVcxdj tZuc8F4WpsKAGQzD5s4QB+5kcZEvq6ooVQV3iw6Igi7b+E8Crx8OjbHmhF22Z+V7c0YE h8to4KtSAvwYieiYeGv78UWhiimoiNQhnQtXg= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=message-id:date:from:user-agent:mime-version:to:subject :content-type:content-transfer-encoding; b=ZV4PMvHauOp8e2+fNzr+Nmja7V+0bk+5fDg5jw8b3I161p5UFkfG4FIkQvhdJKh9Cy OaAAWO+gvSusy3oBhlgq1uhxxqMR/Wn9QGN+BAzSk6y9LQG4ENY2ve097na0YjbdIKxO 0MUZUzb5x+3wU877vKPD7JfqoULdO54iXPdc8= Received: by 10.114.180.20 with SMTP id c20mr11256026waf.160.1248761616166; Mon, 27 Jul 2009 23:13:36 -0700 (PDT) Received: from ?10.217.15.161? ([61.135.152.194]) by mx.google.com with ESMTPS id m25sm15319555waf.9.2009.07.27.23.13.34 (version=SSLv3 cipher=RC4-MD5); Mon, 27 Jul 2009 23:13:35 -0700 (PDT) Message-ID: <4A6E970A.1060503@gmail.com> Date: Tue, 28 Jul 2009 14:13:30 +0800 From: cooper User-Agent: Thunderbird 2.0.0.22 (Windows/20090605) MIME-Version: 1.0 To: freebsd-fs@freebsd.org Content-Type: text/plain; charset=GB2312 Content-Transfer-Encoding: 7bit Subject: About RAIDZ geometry 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, 28 Jul 2009 06:43:09 -0000 Hi folks, Now that ZFS has been ported to FreeBSD, I think it's proper to ask these questions in this mailing list. Is there any detailed documentation about RAIDZ geometry? I has been wandering how zfs remembers which disk sectors are for data and which ones are for parity. They claimed "Every block is its own RAID-Z stripe" does that mean zfs writes exactly one block in every vdev_raidz_io_start if the io type of the zio is write? And also claimed "You have to traverse the filesystem metadata to determine the RAID-Z geometry" where is this metadata stored?