Re: ZFS - quick start.

From: Scott Sipe <cscotts_at_mindspring.com>
Date: Sun, 8 Apr 2007 17:58:59 -0400
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) _at_ /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) _at_ /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) _at_ /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) _at_ /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
Received on Sun Apr 08 2007 - 20:25:42 UTC

This archive was generated by hypermail 2.4.0 : Wed May 19 2021 - 11:39:08 UTC