ZFS-Pool is lost after reboot ( amd64 )

Norman Maurer norman at apache.org
Thu Apr 10 19:22:51 UTC 2008

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

	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 

# cat /boot/loader.conf 

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 at 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: <Volume> on aac0
aacd0: 139890MB (286494720 sectors)
aacd1: <Volume> on aac0
aacd1: 139890MB (286494720 sectors)
aacd2: <Volume> on aac0
aacd2: 139890MB (286494720 sectors)
aacd3: <Volume> on aac0
aacd3: 139890MB (286494720 sectors)
aacd4: <Volume> on aac0
aacd4: 139890MB (286494720 sectors)
aacd5: <Volume> on aac0
aacd5: 139890MB (286494720 sectors)
aacd6: <Volume> on aac0
aacd6: 139890MB (286494720 sectors)
aacd7: <Volume> 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!


More information about the freebsd-questions mailing list