Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 11 Dec 2010 17:40:19 +0200
From:      Andrei Kolu <antik@bsd.ee>
Cc:        freebsd-fs@freebsd.org
Subject:   zfs scrub error- vdev.too_small
Message-ID:  <AANLkTin-rAjbCoNOg-0pwH_N7fu671%2B1OmMdDJr78ENd@mail.gmail.com>

next in thread | raw e-mail | index | archive | help
Stresstesting ZFS:

# cd /home/antik/

Create files:
# mkfile 128m disk1
# mkfile 128m disk2

Create mirror from virtual devices:
# zpool create peegel mirror /home/antik/disk1 /home/antik/disk2

# zpool list
NAME     SIZE   USED  AVAIL    CAP  HEALTH  ALTROOT
peegel   123M  73.5K   123M     0%  ONLINE  -

# zpool status peegel
 pool: peegel
state: ONLINE
scrub: none requested
config:

       NAME                           STATE         READ WRITE CKSUM
       peegel                         ONLINE       0     0     0
         mirror                       ONLINE       0     0     0
           /home/antik/disk1      ONLINE       0     0     0
           /home/antik/disk2      ONLINE       0     0     0

errors: No known data errors

Break one virtual disk:
# dd if=/dev/random of=/home/antik/disk1 bs=512 count=1

# zpool scrub peegel

Last thing I saw on screen was this:

ZFS: vdev failure, zpool=peegel type=vdev.too_small <<this message
does not appear in logs

Dec 11 17:29:09 freenas kernel: Fatal trap 12: page fault while in kernel mode
Dec 11 17:29:09 freenas kernel: cpuid = 0; apic id = 00
Dec 11 17:29:09 freenas kernel: fault virtual address   = 0x0
Dec 11 17:29:09 freenas kernel: fault code              = supervisor
read data, page not present
Dec 11 17:29:09 freenas kernel: instruction pointer     =
0x20:0xffffffff81073b4d
Dec 11 17:29:09 freenas kernel: stack pointer           =
0x28:0xffffff801766c800
Dec 11 17:29:09 freenas kernel: frame pointer           =
0x28:0xffffff801766c8c0
Dec 11 17:29:09 freenas kernel: code segment            = base 0x0,
limit 0xfffff, type 0x1b
Dec 11 17:29:09 freenas kernel: = DPL 0, pres 1, long 1, def32 0, gran 1
Dec 11 17:29:09 freenas kernel: processor eflags        = interrupt
enabled, resume, IOPL = 0
Dec 11 17:29:09 freenas kernel: current process         = 1171
(txg_thread_enter)
Dec 11 17:29:09 freenas kernel: trap number             = 12
Dec 11 17:29:09 freenas kernel: panic: page fault
Dec 11 17:29:09 freenas kernel: cpuid = 0
Dec 11 17:29:09 freenas kernel: Uptime: 55s
Dec 11 17:29:09 freenas kernel: Cannot dump. Device not defined or unavailable.
Dec 11 17:29:09 freenas kernel: Automatic reboot in 15 seconds - press
a key on the console to abort
Dec 11 17:29:09 freenas kernel: --> Press a key on the console to reboot,
Dec 11 17:29:09 freenas kernel: --> or switch off the system now.
Dec 11 17:29:09 freenas kernel: Rebooting...
Dec 11 17:29:09 freenas kernel: cpu_reset: Stopping other CPUs
Dec 11 17:29:09 freenas kernel: Copyright (c) 1992-2010 The FreeBSD Project.
Dec 11 17:29:09 freenas kernel: Copyright (c) 1979, 1980, 1983, 1986,
1988, 1989, 1991, 1992, 1993, 1994
Dec 11 17:29:09 freenas kernel: The Regents of the University of
California. All rights reserved.
Dec 11 17:29:09 freenas kernel: FreeBSD is a registered trademark of
The FreeBSD Foundation.
Dec 11 17:29:09 freenas kernel: FreeBSD 8.1-RELEASE-p2 #3: Thu Dec  2
01:50:54 EET 2010


Not a sign about ZFS volumes on my system

# mount
/dev/da0s1a on / (ufs, local)
devfs on /dev (devfs, local, multilabel)
/dev/da0s1e on /tmp (ufs, local, soft-updates)
/dev/da0s1f on /usr (ufs, local, soft-updates)
/dev/da0s1d on /var (ufs, local, soft-updates)

Any attempt to scrub pool fails with kernel panic.



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?AANLkTin-rAjbCoNOg-0pwH_N7fu671%2B1OmMdDJr78ENd>