Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 24 Feb 2010 16:56:51 +0100
From:      Miroslav Lachman <000.fbsd@quip.cz>
To:        "Erik Scholtz, ArgonSoft GmbH" <escholtz@argonsoft.de>
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
Message-ID:  <4B854C43.7000508@quip.cz>
In-Reply-To: <4B8540A8.7010007@argonsoft.de>
References:  <4B84EB1C.1080700@argonsoft.de> <4B84F92E.8040305@quip.cz> <4B851EAF.40200@argonsoft.de> <4B852A8B.9070505@quip.cz> <4B8540A8.7010007@argonsoft.de>

next in thread | previous in thread | raw e-mail | index | archive | help
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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?4B854C43.7000508>