From owner-freebsd-fs@FreeBSD.ORG Wed Feb 24 15:56:55 2010 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 D018F106564A for ; Wed, 24 Feb 2010 15:56:55 +0000 (UTC) (envelope-from 000.fbsd@quip.cz) Received: from elsa.codelab.cz (elsa.codelab.cz [94.124.105.4]) by mx1.freebsd.org (Postfix) with ESMTP id 8DCD98FC0A for ; Wed, 24 Feb 2010 15:56:55 +0000 (UTC) Received: from elsa.codelab.cz (localhost.codelab.cz [127.0.0.1]) by elsa.codelab.cz (Postfix) with ESMTP id 2E7F619E02D; Wed, 24 Feb 2010 16:56:54 +0100 (CET) Received: from [192.168.1.2] (r5bb235.net.upc.cz [86.49.61.235]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by elsa.codelab.cz (Postfix) with ESMTPSA id EDD8319E02A; Wed, 24 Feb 2010 16:56:51 +0100 (CET) Message-ID: <4B854C43.7000508@quip.cz> Date: Wed, 24 Feb 2010 16:56:51 +0100 From: Miroslav Lachman <000.fbsd@quip.cz> User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.0; en-US; rv:1.9.1.8) Gecko/20100205 SeaMonkey/2.0.3 MIME-Version: 1.0 To: "Erik Scholtz, ArgonSoft GmbH" References: <4B84EB1C.1080700@argonsoft.de> <4B84F92E.8040305@quip.cz> <4B851EAF.40200@argonsoft.de> <4B852A8B.9070505@quip.cz> <4B8540A8.7010007@argonsoft.de> In-Reply-To: <4B8540A8.7010007@argonsoft.de> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Cc: freebsd-fs@freebsd.org Subject: Re: Problem with writing an UFS2 to iStore Storage System / can't find block in cyl 0 / bad magic number 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: Wed, 24 Feb 2010 15:56:55 -0000 Erik Scholtz, ArgonSoft GmbH wrote: > Miroslav, > > works perfectly! Many thanks. One last question. After creating the > filesystem successfully, I tried to run a fsck on the new partition. > unfortunatly, this does not seem to be possible: > > ********************************************************************************** > > |# fsck /dev/da0p1 > |fsck: Could not determine filesystem type > ********************************************************************************** > > > Do you have a hint for me, how to repair the filesystem if it gets > broken? fsck_ufs and fsck_ffs repair the filesystem to dead. fsck determines FS type from /etc/fstab so until you put info in to fstab, you must set the type manually: fsck -t ufs /dev/da0p1 Miroslav Lachman