From owner-freebsd-fs@FreeBSD.ORG Mon Dec 12 19:38:59 2011 Return-Path: Delivered-To: freebsd-fs@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 017E9106564A for ; Mon, 12 Dec 2011 19:38:59 +0000 (UTC) (envelope-from numisemis@gmail.com) Received: from mail-bw0-f54.google.com (mail-bw0-f54.google.com [209.85.214.54]) by mx1.freebsd.org (Postfix) with ESMTP id 85C458FC08 for ; Mon, 12 Dec 2011 19:38:58 +0000 (UTC) Received: by bkbzv15 with SMTP id zv15so7546895bkb.13 for ; Mon, 12 Dec 2011 11:38:57 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=references:from:in-reply-to:mime-version:date:message-id:subject:to :content-type; bh=YFeqmqagAfmbho4hOttn/fDNK7g+kvzv450GyGvm0bE=; b=ILrYZOSOH3j+JLltLt7AFfc44ZxlKmMV4SGkSKPvau0ejM4cEUqxoL/OBK+NVMLS1a LJcO/PDCyapGluLA43p44GVohKJNX3DMMYbTZbIzxC2lj2V/cdwarrfpyA8rCB1Ysw+B hpYkFbadaY65Wbu6Cr8gnVsK4K8q177PZPdGk= Received: by 10.204.7.77 with SMTP id c13mr10628304bkc.32.1323717340040; Mon, 12 Dec 2011 11:15:40 -0800 (PST) References: From: =?UTF-8?Q?=C5=A0imun_Mikecin?= In-Reply-To: Mime-Version: 1.0 (1.0) Date: Mon, 12 Dec 2011 20:15:36 +0100 Message-ID: <4996422587176353892@unknownmsgid> To: "freebsd-fs@freebsd.org" Content-Type: text/plain; charset=ISO-8859-1 Subject: Re: epic UFS crash 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: Mon, 12 Dec 2011 19:38:59 -0000 12. 12. 2011., u 20:04, siur napisao: > Some days ago I had situation with server running under FreeBSD 7.3. > Power supply unit suddenly broke down so server switched off > incorrectly. After that hardware raid controller marked one disk in > RAID1 as degrated. We've boot system from other disk and found out, > that almost all data was gone. To be exactly, it's looks like > everything created during last uptime had just dissappeared. I mean, > literally, server looked like from the past -- there was no data newer > than summer 2010. All databases, websites, user's files -- everything > was created/modified a year ago. > Fsck created much staff in lost+found directories, but, for example, > directories looks like empty for 'ls -la', but hex dump shows > information (that's, actually more like file, not a directory). > > So, could anybody help me find out how it possibly could happen? (my > creepy story contains very few details, I understand). Does anybody > saw something like that? > I appreciate any ideas, all that shit just blowing my mind. That is what could happen if you are using RAID controller in write-back mode without battery-backed RAM for write-back. What kind of UFS is it? UFS1 or UFS2? UFS+SU? GEOM Journaling?