fsck does not work on ZFS ZVOL formatted as UFS2

Kostik Belousov kostikbel at gmail.com
Sat Jun 4 10:24:07 UTC 2011

On Sat, Jun 04, 2011 at 10:50:36AM +0100, David Evans wrote:
> This does not work
> zroot2 is a ZFS pool
> zfs create -V 10g zroot2/volume
> newfs /dev/zvol/zroot2/volume
> fsck /dev/zvol/zroot2/volume
> returns error- fsck: Could not determine filesystem type
> dumpfs and tunefs work on the volume.
> Perhaps I am doing something wrong, otherwise I
> would submit this as a bug report.
> 9-CURRENT as of a few days ago, amd64

fsck needs an entry in fstab to determine the filesystem type.
Either add the line to fstab, or use -t ufs.

This has nothing to do with zvols.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 196 bytes
Desc: not available
Url : http://lists.freebsd.org/pipermail/freebsd-fs/attachments/20110604/86407966/attachment.pgp

More information about the freebsd-fs mailing list