Problem with writing an UFS2 to iStore Storage System / can't find block in cyl 0 / bad magic number

Miroslav Lachman 000.fbsd at quip.cz
Wed Feb 24 15:56:55 UTC 2010


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


More information about the freebsd-fs mailing list