From owner-freebsd-questions@FreeBSD.ORG Thu Apr 10 19:22:51 2008 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 691B1106566B for ; Thu, 10 Apr 2008 19:22:51 +0000 (UTC) (envelope-from norman@apache.org) Received: from vs159071.vserver.de (hiphopcorner.de [62.75.159.71]) by mx1.freebsd.org (Postfix) with ESMTP id 085BC8FC0A for ; Thu, 10 Apr 2008 19:22:50 +0000 (UTC) (envelope-from norman@apache.org) Received: from [10.43.1.190] (unknown [62.12.12.3]) by vs159071.vserver.de (Postfix) with ESMTP id 8F427BE8578 for ; Thu, 10 Apr 2008 19:22:49 +0000 (UTC) From: Norman Maurer To: freebsd-questions Content-Type: text/plain Date: Thu, 10 Apr 2008 21:22:42 +0200 Message-Id: <1207855362.7675.10.camel@norman-laptop> Mime-Version: 1.0 X-Mailer: Evolution 2.22.1 Content-Transfer-Encoding: 7bit Subject: ZFS-Pool is lost after reboot ( amd64 ) X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 10 Apr 2008 19:22:51 -0000 Hi all, we want to use ZFS ( raidz2 without spares ) for store big amount of data on it. It's just a mirror so we don't give at damn if zfs is experimental ;-) I created some pool with the command: # zpool create x1 raidz2 aacd0 aacd1 aacd2 aacd3 aacd4 aacd5 It shows up correctly: # zpool status pool: x1 state: ONLINE scrub: none requested config: NAME STATE READ WRITE CKSUM x1 ONLINE 0 0 0 raidz2 ONLINE 0 0 0 aacd0 ONLINE 0 0 0 aacd1 ONLINE 0 0 0 aacd2 ONLINE 0 0 0 aacd3 ONLINE 0 0 0 aacd4 ONLINE 0 0 0 aacd5 ONLINE 0 0 0 errors: No known data errors ]# zpool list NAME SIZE USED AVAIL CAP HEALTH ALTROOT x1 816G 230K 816G 0% ONLINE - All is fine till I reboot. The pool is just disappearing :-/ Here are the relevant config stuff: # grep "zfs" /etc/rc.conf zfs_enable="YES" # cat /boot/loader.conf geom_mirror_load="YES" zfs_load="YES" vm.kmem_size_max="512M" vm.kmem_size="512M" vfs.zfs.zil_disable=1 After reboot the module is loaded: # kldstat | grep zfs 2 1 0xffffffff80bc7000 f5a40 zfs.ko But the pool is loast: # zpool list no pools available Some more infos about the system: # uname -v FreeBSD 7.0-RELEASE #0: Sun Feb 24 10:35:36 UTC 2008 root@my.host:/usr/obj/usr/src/sys/GENERIC Some parts of dmesg: WARNING: ZFS is considered to be an experimental feature in FreeBSD. Timecounters tick every 1.000 msec hptrr: no controller detected. aacd0: on aac0 aacd0: 139890MB (286494720 sectors) aacd1: on aac0 aacd1: 139890MB (286494720 sectors) aacd2: on aac0 aacd2: 139890MB (286494720 sectors) aacd3: on aac0 aacd3: 139890MB (286494720 sectors) aacd4: on aac0 aacd4: 139890MB (286494720 sectors) aacd5: on aac0 aacd5: 139890MB (286494720 sectors) aacd6: on aac0 aacd6: 139890MB (286494720 sectors) aacd7: on aac0 aacd7: 139890MB (286494720 sectors) ZFS filesystem version 6 ZFS storage pool version 6 GEOM_MIRROR: Device mirror/gm0 launched (2/2). SMP: AP CPU #3 Launched! SMP: AP CPU #2 Launched! SMP: AP CPU #1 Launched! SMP: AP CPU #4 Launched! SMP: AP CPU #6 Launched! SMP: AP CPU #7 Launched! Cheers, Norman