From owner-freebsd-fs@FreeBSD.ORG Sat Jan 21 15:11:42 2012 Return-Path: Delivered-To: fs@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 1665F1065672 for ; Sat, 21 Jan 2012 15:11:42 +0000 (UTC) (envelope-from bfriesen@simple.dallas.tx.us) Received: from blade.simplesystems.org (blade.simplesystems.org [65.66.246.74]) by mx1.freebsd.org (Postfix) with ESMTP id D53858FC1C for ; Sat, 21 Jan 2012 15:11:41 +0000 (UTC) Received: from freddy.simplesystems.org (freddy.simplesystems.org [65.66.246.65]) by blade.simplesystems.org (8.14.4+Sun/8.14.4) with ESMTP id q0LFBesF017387; Sat, 21 Jan 2012 09:11:40 -0600 (CST) Date: Sat, 21 Jan 2012 09:11:40 -0600 (CST) From: Bob Friesenhahn X-X-Sender: bfriesen@freddy.simplesystems.org To: "Vladislav V. Prodan" In-Reply-To: <4F1AC88A.2070603@ukr.net> Message-ID: References: <4F1AC88A.2070603@ukr.net> User-Agent: Alpine 2.01 (GSO 1266 2009-07-14) MIME-Version: 1.0 Content-Type: MULTIPART/MIXED; BOUNDARY="-559023410-107008870-1327158700=:15666" X-Greylist: Sender IP whitelisted, not delayed by milter-greylist-4.2.2 (blade.simplesystems.org [65.66.246.90]); Sat, 21 Jan 2012 09:11:40 -0600 (CST) Cc: fs@freebsd.org Subject: Re: Unrecognized error on zfs v28 X-BeenThere: freebsd-fs@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Filesystems List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 21 Jan 2012 15:11:42 -0000 This message is in MIME format. The first part should be readable text, while the remaining parts are likely unreadable without MIME-aware tools. ---559023410-107008870-1327158700=:15666 Content-Type: TEXT/PLAIN; charset=UTF-8; format=flowed Content-Transfer-Encoding: 8BIT On Sat, 21 Jan 2012, Vladislav V. Prodan wrote: > zpool scrub zroot did not help. > How to deal with such errors? A recommendation for how to deal with the problem was provided in the zpool status "action" text. If you don't have a backup for the file, then an alternative is to just delete it and hope that you did not really need it. Your pool/filessytem does not include any data redundancy so it is not able to repair bad data. If you had set the zfs filesystem attribute 'copies=2' then zfs would likely have been able to recover this data, even though you only have one disk, but more disk space would have been consumed. Bob > > # zpool upgrade zroot > This system is currently running ZFS pool version 28. > > > # zpool status -v zroot > pool: zroot > state: ONLINE > status: One or more devices has experienced an error resulting in data > corruption. Applications may be affected. > action: Restore the file in question if possible. Otherwise restore the > entire pool from backup. > see: http://www.sun.com/msg/ZFS-8000-8A > scan: scrub repaired 0 in 1h54m with 0 errors on Sat Jan 21 00:37:16 2012 > config: > > NAME STATE READ WRITE CKSUM > zroot ONLINE 0 0 0 > gpt/disk-system ONLINE 0 0 0 > > errors: Permanent errors have been detected in the following files: > > /var/imap/vlad11/&BBEEOwQ+BDM-@&BB4EQgRABDAENAQw- > > # uname -a > FreeBSD mary-teresa.XXX 8.2-STABLE FreeBSD 8.2-STABLE #0: Wed Jul 13 > 02:01:02 EEST 2011 root@mary-teresa.XXX:/usr/obj/usr/src/sys/XXX.4 > amd64 > > # zfs get all zroot/var/imap > NAME PROPERTY VALUE SOURCE > zroot/var/imap type filesystem - > zroot/var/imap creation вс май 1 2:40 2011 - > zroot/var/imap used 272M - > zroot/var/imap available 400G - > zroot/var/imap referenced 206M - > zroot/var/imap compressratio 2.23x - > zroot/var/imap mounted yes - > zroot/var/imap quota none default > zroot/var/imap reservation none default > zroot/var/imap recordsize 128K default > zroot/var/imap mountpoint /var/imap inherited > from zroot/var > zroot/var/imap sharenfs off default > zroot/var/imap checksum fletcher4 inherited > from zroot > zroot/var/imap compression gzip local > zroot/var/imap atime on default > zroot/var/imap devices on default > zroot/var/imap exec off local > zroot/var/imap setuid off local > zroot/var/imap readonly off default > zroot/var/imap jailed off default > zroot/var/imap snapdir hidden default > zroot/var/imap aclinherit restricted default > zroot/var/imap canmount on default > zroot/var/imap xattr off temporary > zroot/var/imap copies 1 default > zroot/var/imap version 5 - > zroot/var/imap utf8only off - > zroot/var/imap normalization none - > zroot/var/imap casesensitivity sensitive - > zroot/var/imap vscan off default > zroot/var/imap nbmand off default > zroot/var/imap sharesmb off default > zroot/var/imap refquota none default > zroot/var/imap refreservation none default > zroot/var/imap primarycache all default > zroot/var/imap secondarycache all default > zroot/var/imap usedbysnapshots 66,2M - > zroot/var/imap usedbydataset 206M - > zroot/var/imap usedbychildren 0 - > zroot/var/imap usedbyrefreservation 0 - > zroot/var/imap logbias latency default > zroot/var/imap dedup off inherited > from zroot > zroot/var/imap mlslabel - > zroot/var/imap sync standard default > zroot/var/imap refcompressratio 2.21x - > > -- Bob Friesenhahn bfriesen@simple.dallas.tx.us, http://www.simplesystems.org/users/bfriesen/ GraphicsMagick Maintainer, http://www.GraphicsMagick.org/ ---559023410-107008870-1327158700=:15666--