Re: HEADS UP: New ZFS in the tree.

From: Goran Lowkrantz <glz_at_hidden-powers.com>
Date: Sat, 27 Dec 2008 21:30:37 +0100
--On Monday, November 17, 2008 21:55 +0100 Pawel Jakub Dawidek 
<pjd_at_FreeBSD.org> wrote:

> Hi.
>
> So ZFS was updated from version 6 to 13. Be very careful when updating
> your system if you use ZFS. The number of changes is huge and my
> regression tests and manual tests I did only cover part of the entire
> functionality.
>
> More info here:
>
> 	http://svn.freebsd.org/viewvc/base?view=revision&revision=185029
>
> Enjoy.
>
Running zfs send -R result in core:
# zfs send -R system_at_test > /tmp/x
Segmentation fault (core dumped)

# uname -a
FreeBSD skade.glz.hidden-powers.com 8.0-CURRENT FreeBSD 8.0-CURRENT #2: Wed 
Dec 24 13:07:11 CET 2008 
root_at_skade.glz.hidden-powers.com:/usr/obj/usr/src/sys/STD  amd64

Kernel is GENRIC - firewire and USB.

# zfs list -t filesystem
NAME                     USED  AVAIL  REFER  MOUNTPOINT
system                  37.2G  36.1G    18K  none
system/boot             21.6M  36.1G  21.5M  legacy
system/dbbackup          311K  36.1G    19K  /var/db/backup
system/dbbackup/pgsql    292K  36.1G   292K  /var/db/backup/pgsql
system/usr              23.8G  36.1G  1007M  /usr
system/usr/local        14.6G  36.1G  11.4G  /usr/local
system/usr/local/jails  1.12G  36.1G  1.11G  /usr/local/jails
system/usr/local/pgsql  1.99G  36.1G  1.99G  /usr/local/pgsql
system/usr/obj          2.46G  36.1G  2.46G  /usr/obj
system/usr/ports         245M  36.1G   245M  /usr/ports
system/usr/src           507M  36.1G   507M  /usr/src
system/usr/tmp          1.11G  8.89G  1.11G  /usr/tmp
system/var              7.40G  36.1G  3.34G  /var
system/var/log          2.55M  4.00G  1.88M  /var/log
system/var/tmp          29.8M  3.97G  29.8M  /var/tmp

# zfs list -t snapshot system_at_test
NAME          USED  AVAIL  REFER  MOUNTPOINT
system_at_test      0      -    18K  -

# gdb -c /var/cores/0/zfs-36364  /sbin/zfs
GNU gdb 6.1.1 [FreeBSD]
Copyright 2004 Free Software Foundation, Inc.
GDB is free software, covered by the GNU General Public License, and you are
welcome to change it and/or distribute copies of it under certain 
conditions.
Type "show copying" to see the conditions.
There is absolutely no warranty for GDB.  Type "show warranty" for details.
This GDB was configured as "amd64-marcel-freebsd"...(no debugging symbols 
found)...
Core was generated by `zfs'.
Program terminated with signal 11, Segmentation fault.
Reading symbols from /lib/libzfs.so.1...(no debugging symbols found)...done.
Loaded symbols for /lib/libzfs.so.1
Reading symbols from /lib/libgeom.so.4...(no debugging symbols 
found)...done.
Loaded symbols for /lib/libgeom.so.4
Reading symbols from /lib/libbsdxml.so.3...(no debugging symbols 
found)...done.
Loaded symbols for /lib/libbsdxml.so.3
Reading symbols from /lib/libsbuf.so.4...(no debugging symbols 
found)...done.
Loaded symbols for /lib/libsbuf.so.4
Reading symbols from /lib/libm.so.5...(no debugging symbols found)...done.
Loaded symbols for /lib/libm.so.5
Reading symbols from /lib/libnvpair.so.1...(no debugging symbols 
found)...done.
Loaded symbols for /lib/libnvpair.so.1
Reading symbols from /lib/libuutil.so.1...(no debugging symbols 
found)...done.
Loaded symbols for /lib/libuutil.so.1
Reading symbols from /lib/libutil.so.7...(no debugging symbols 
found)...done.
Loaded symbols for /lib/libutil.so.7
Reading symbols from /lib/libc.so.7...(no debugging symbols found)...done.
Loaded symbols for /lib/libc.so.7
Reading symbols from /libexec/ld-elf.so.1...(no debugging symbols 
found)...done.
Loaded symbols for /libexec/ld-elf.so.1
#0  0x0000000800671a2d in zfs_prop_readonly () from /lib/libzfs.so.1
(gdb) bt
#0  0x0000000800671a2d in zfs_prop_readonly () from /lib/libzfs.so.1
#1  0x0000000800655ea8 in fletcher_4_incremental_byteswap () from 
/lib/libzfs.so.1
#2  0x0000000800656135 in fletcher_4_incremental_byteswap () from 
/lib/libzfs.so.1
#3  0x0000000800656a53 in fletcher_4_incremental_byteswap () from 
/lib/libzfs.so.1
#4  0x000000080065a49f in zfs_send () from /lib/libzfs.so.1

Will keep core if more info is needed. The system is a test system, so if I 
need to rebuild with more debugging, no problem.

/glz

---
"There is hopeful symbolism in the fact that flags do not wave in a vacuum."
                -- Arthur C. Clarke
Received on Sat Dec 27 2008 - 19:30:41 UTC

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