From owner-freebsd-current@FreeBSD.ORG Sun Apr 8 22:25:42 2007 Return-Path: X-Original-To: freebsd-current@FreeBSD.org Delivered-To: freebsd-current@FreeBSD.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id D4CA016A403 for ; Sun, 8 Apr 2007 22:25:42 +0000 (UTC) (envelope-from cscotts@mindspring.com) Received: from relay03.pair.com (relay03.pair.com [209.68.5.17]) by mx1.freebsd.org (Postfix) with SMTP id 9E52113C455 for ; Sun, 8 Apr 2007 22:25:42 +0000 (UTC) (envelope-from cscotts@mindspring.com) Received: (qmail 387 invoked from network); 8 Apr 2007 21:59:00 -0000 Received: from 68.100.248.90 (HELO ?192.168.1.95?) (68.100.248.90) by relay03.pair.com with SMTP; 8 Apr 2007 21:59:00 -0000 X-pair-Authenticated: 68.100.248.90 In-Reply-To: <20070406214325.GB61039@garage.freebsd.pl> References: <20070406214325.GB61039@garage.freebsd.pl> Mime-Version: 1.0 (Apple Message framework v752.2) Content-Type: text/plain; charset=US-ASCII; delsp=yes; format=flowed Message-Id: Content-Transfer-Encoding: 7bit From: Scott Sipe Date: Sun, 8 Apr 2007 17:58:59 -0400 To: Pawel Jakub Dawidek X-Mailer: Apple Mail (2.752.2) Cc: freebsd-current@FreeBSD.org Subject: Re: ZFS - quick start. X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 08 Apr 2007 22:25:42 -0000 On Apr 6, 2007, at 5:43 PM, 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. > > First of all you need some disks. Let's assume you have three spare > SCSI > disks: da0, da1, da2. Running under VMWare I got these two LOR's--the first one seems the same as Richard's, the second one looks different. (and thanks much for doing this work!! it looks very, very impressive!!) These are experienced after running: zpool create tank raidz ad1 ad3 zpool create tank/usr ad1 and ad3 are 30GB VMware virtual disks. #1) Apr 8 17:35:28 vmbsd kernel: lock order reversal: Apr 8 17:35:28 vmbsd kernel: 1st 0xffffff0018be9e38 zfs:&dr- >dt.di.dr_mtx (zfs:&dr->dt.di.dr_mtx) @ /usr/src/sys/modules/ zfs/../../contrib/opensol aris/uts/common/fs/zfs/dbuf.c:1865 Apr 8 17:35:28 vmbsd kernel: 2nd 0xffffff00168b1508 zfs:&db->db_mtx (zfs:&db->db_mtx) @ /usr/src/sys/modules/zfs/../../contrib/ opensolaris/uts/com mon/fs/zfs/dbuf.c:1836 Apr 8 17:35:28 vmbsd kernel: KDB: stack backtrace: Apr 8 17:35:28 vmbsd kernel: db_trace_self_wrapper() at db_trace_self_wrapper+0x3a Apr 8 17:35:28 vmbsd kernel: witness_checkorder() at witness_checkorder+0x508 Apr 8 17:35:28 vmbsd kernel: _sx_xlock() at _sx_xlock+0x3a Apr 8 17:35:28 vmbsd kernel: dbuf_sync_list() at dbuf_sync_list+0x7e Apr 8 17:35:28 vmbsd kernel: dbuf_sync_list() at dbuf_sync_list+0x114 Apr 8 17:35:28 vmbsd kernel: dnode_sync() at dnode_sync+0x1e8 Apr 8 17:35:28 vmbsd kernel: dmu_objset_sync() at dmu_objset_sync+0xec Apr 8 17:35:28 vmbsd kernel: dsl_pool_sync() at dsl_pool_sync+0x65 Apr 8 17:35:28 vmbsd kernel: spa_sync() at spa_sync+0x302 Apr 8 17:35:28 vmbsd kernel: txg_sync_thread() at txg_sync_thread+0x164 Apr 8 17:35:28 vmbsd kernel: fork_exit() at fork_exit+0xaa Apr 8 17:35:28 vmbsd kernel: fork_trampoline() at fork_trampoline+0xe Apr 8 17:35:28 vmbsd kernel: --- trap 0, rip = 0, rsp = 0xffffffff93492d30, rbp = 0 --- #2) Apr 8 17:36:49 vmbsd kernel: lock order reversal: Apr 8 17:36:49 vmbsd kernel: 1st 0xffffff001638c7d8 zfs:&db->db_mtx (zfs:&db->db_mtx) @ /usr/src/sys/modules/zfs/../../contrib/ opensolaris/uts/com mon/fs/zfs/dbuf.c:1680 Apr 8 17:36:49 vmbsd kernel: 2nd 0xffffff001644e5a8 zfs:&dn- >dn_dbufs_mtx (zfs:&dn->dn_dbufs_mtx) @ /usr/src/sys/modules/ zfs/../../contrib/opensol aris/uts/common/fs/zfs/dnode_sync.c:364 Apr 8 17:36:49 vmbsd kernel: KDB: stack backtrace: Apr 8 17:36:49 vmbsd kernel: db_trace_self_wrapper() at db_trace_self_wrapper+0x3a Apr 8 17:36:49 vmbsd kernel: witness_checkorder() at witness_checkorder+0x508 Apr 8 17:36:49 vmbsd kernel: _sx_xlock() at _sx_xlock+0x3a Apr 8 17:36:49 vmbsd kernel: dnode_evict_dbufs() at dnode_evict_dbufs +0x62 Apr 8 17:36:49 vmbsd kernel: dmu_objset_evict_dbufs() at dmu_objset_evict_dbufs+0x106 Apr 8 17:36:49 vmbsd kernel: dmu_objset_evict() at dmu_objset_evict +0x30 Apr 8 17:36:49 vmbsd kernel: dsl_dataset_evict() at dsl_dataset_evict +0xa1 Apr 8 17:36:49 vmbsd kernel: dbuf_evict_user() at dbuf_evict_user+0x44 Apr 8 17:36:49 vmbsd kernel: dbuf_rele() at dbuf_rele+0x101 Apr 8 17:36:49 vmbsd kernel: dsl_pool_zil_clean() at dsl_pool_zil_clean+0x37 Apr 8 17:36:49 vmbsd kernel: spa_sync() at spa_sync+0x43f Apr 8 17:36:49 vmbsd kernel: txg_sync_thread() at txg_sync_thread+0x164 Apr 8 17:36:49 vmbsd kernel: fork_exit() at fork_exit+0xaa Apr 8 17:36:49 vmbsd kernel: fork_trampoline() at fork_trampoline+0xe Apr 8 17:36:49 vmbsd kernel: --- trap 0, rip = 0, rsp = 0xffffffff93492d30, rbp = 0 --- thanks, Scott