From owner-freebsd-fs@FreeBSD.ORG Mon Sep 30 21:16:49 2013 Return-Path: Delivered-To: freebsd-fs@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTP id D7CE2607 for ; Mon, 30 Sep 2013 21:16:49 +0000 (UTC) (envelope-from prvs=198501a29f=killing@multiplay.co.uk) Received: from mail1.multiplay.co.uk (mail1.multiplay.co.uk [85.236.96.23]) (using TLSv1 with cipher RC4-MD5 (128/128 bits)) (No client certificate requested) by mx1.freebsd.org (Postfix) with ESMTPS id 776312633 for ; Mon, 30 Sep 2013 21:16:49 +0000 (UTC) Received: from r2d2 ([82.69.141.170]) by mail1.multiplay.co.uk (mail1.multiplay.co.uk [85.236.96.23]) (MDaemon PRO v10.0.4) with ESMTP id md50006213507.msg for ; Mon, 30 Sep 2013 22:16:46 +0100 X-Spam-Processed: mail1.multiplay.co.uk, Mon, 30 Sep 2013 22:16:46 +0100 (not processed: message from valid local sender) X-MDDKIM-Result: neutral (mail1.multiplay.co.uk) X-MDRemoteIP: 82.69.141.170 X-Return-Path: prvs=198501a29f=killing@multiplay.co.uk X-Envelope-From: killing@multiplay.co.uk X-MDaemon-Deliver-To: freebsd-fs@freebsd.org Message-ID: From: "Steven Hartland" To: "Zeus Panchenko" , References: <20130930234802.55451@relay.ibs.dn.ua> Subject: Re: ZFS Permanent errors on fresh installation on VMware ESX Date: Mon, 30 Sep 2013 22:16:40 +0100 MIME-Version: 1.0 Content-Type: text/plain; format=flowed; charset="iso-8859-1"; reply-type=original Content-Transfer-Encoding: 7bit X-Priority: 3 X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook Express 6.00.2900.5931 X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2900.6157 X-BeenThere: freebsd-fs@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: Filesystems List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 30 Sep 2013 21:16:50 -0000 Whats the backing disk? I'm wondering if its LSI Megraid? If so ensure you're running the latest FW as older FW have known issue with TRIM requests, as in they delete the wrong data from the disk. This will only be relavent if the disk is reporting TRIM support through VMware. One thing you might want to try is setting the following in /boot/loader.conf: vfs.zfs.trim.enabled="0" Regards Steve ----- Original Message ----- From: "Zeus Panchenko" To: Sent: Monday, September 30, 2013 9:48 PM Subject: ZFS Permanent errors on fresh installation on VMware ESX > hi, > > may somebody advise, please? > > FreeBSD 9.2R just installed on VM under VMware ESX 4.1.2 > CPU: 2x1.5GHz > MEM: 1G > HDD: 16Gb > >> uname -a > FreeBSD 9.2-RELEASE #0 r255898: amd64 > > vfs.zfs.arc_max=536870912 > > open-vm-tools-nox11-425873_3,1 port is intsalled > > after portinstall of several ports, reboot and scrub, status shows this: > > 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://illumos.org/msg/ZFS-8000-8A > scan: scrub repaired 0 in 0h2m with 2 errors on Mon Sep 30 20:00:01 2013 > config: > > NAME STATE READ WRITE CKSUM > zroot ONLINE 0 0 2 > gpt/disk0 ONLINE 0 0 4 > > errors: Permanent errors have been detected in the following files: > > /usr/ports/distfiles/gnome2/glib-2.36.3.tar.xz > /usr/src/contrib/gcc/ChangeLog-2005 > > > how is it possible on just installed system? > > what can be the cause? > > other OSes (MSWin, Centos,Debian) works fine, but FreeBSD on ZFS (and even UFS) > exposes disk damages :( > > is there some "secret" knowledge to manage fs on VM installations? > > -- > Zeus V. Panchenko jid:zeus@im.ibs.dn.ua > IT Dpt., I.B.S. LLC GMT+2 (EET) > _______________________________________________ > freebsd-fs@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-fs > To unsubscribe, send any mail to "freebsd-fs-unsubscribe@freebsd.org" > ================================================ This e.mail is private and confidential between Multiplay (UK) Ltd. and the person or entity to whom it is addressed. In the event of misdirection, the recipient is prohibited from using, copying, printing or otherwise disseminating it or any information contained in it. In the event of misdirection, illegible or incomplete transmission please telephone +44 845 868 1337 or return the E.mail to postmaster@multiplay.co.uk.