From owner-freebsd-stable@FreeBSD.ORG Mon May 19 19:59:01 2008 Return-Path: Delivered-To: stable@FreeBSD.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 3CEBD1065676 for ; Mon, 19 May 2008 19:59:01 +0000 (UTC) (envelope-from lev@FreeBSD.org) Received: from ftp.translate.ru (ftp.translate.ru [195.131.4.140]) by mx1.freebsd.org (Postfix) with ESMTP id F027C8FC0C for ; Mon, 19 May 2008 19:59:00 +0000 (UTC) (envelope-from lev@FreeBSD.org) Received: from desktop.home.serebryakov.spb.ru (unknown [89.163.10.141]) (Authenticated sender: lev@serebryakov.spb.ru) by ftp.translate.ru (Postfix) with ESMTPA id 7C4B613DF90; Mon, 19 May 2008 23:42:20 +0400 (MSD) Date: Mon, 19 May 2008 23:42:20 +0400 From: Lev Serebryakov X-Mailer: The Bat! (v3.99.3) Professional Organization: FreeBSD Project X-Priority: 3 (Normal) Message-ID: <461480861.20080519234220@serebryakov.spb.ru> To: Arne Worner MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Cc: stable@FreeBSD.org Subject: geom_raid5 + FreeBSD 7.0-STABLE + 5x500Gb (1.8T UFS volume) -- crashes :( X-BeenThere: freebsd-stable@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: lev@FreeBSD.org List-Id: Production branch of FreeBSD source code List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 19 May 2008 19:59:01 -0000 Hello, Arne. I try to build storage server for my home (I have a LOT of media files) with FreeBSD 7, 5xHDD (WD 500Gb) and geom_raid5 ("simple" version from perforce, beacuse http://home.tiscali.de/cmdr_faako/geom_raid5.tbz is not patched for FreeBSD7). Array & FS were created with default arguments: # graid5 label storage ad6 ad8 ad10 ad12 ad14 # newfs -O2 -U /dev/raid5/storage # mount /dev/raid5/storage /usr/home/storage I use additional (sixth) HDD for system, labeled ins tandard way. So, raid is used only for data, not for swap or booting. I've started from simple tests: building world with /usr/src on system disk and obj (MAKEOBJDIRPREFIX) on RAID5. After first build I've run `rm -rf ${MAKEOBJDIRPREFIX}'. It returns to shell pretty quickly, and to be sure, that FS is synced I've tried `umount /usr/home/storage'. I've got DEVICE BUSY! I've called `df -h' and it shows, that I have NEGATIVE amount of space on /usr/home/storage (about -14Mb of 1.8Tb). After calling "sync && sync && sycn", umount finished without errors, but second later system CRASHED with "ffs freed free frag". After reboot, RAID5 becomes REBUILDING HOT and system crashed again when fsck start to checks filesystem on RAID :( And again :( So, I boot to single-user and remove auto-mount of RAID volume... Manual run of fsck fails with "fsck_ufs: bad inode number 32360448 to nextinode"... Is it problem of UFS or graid5 or what? -- // Black Lion AKA Lev Serebryakov