Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 4 Jun 2011 13:24:02 +0300
From:      Kostik Belousov <kostikbel@gmail.com>
To:        David Evans <dave.evans55@googlemail.com>
Cc:        freebsd-fs@freebsd.org
Subject:   Re: fsck does not work on ZFS ZVOL formatted as UFS2
Message-ID:  <20110604102402.GN48734@deviant.kiev.zoral.com.ua>
In-Reply-To: <4DE9FFEC.7070206@googlemail.com>
References:  <4DE9FFEC.7070206@googlemail.com>

next in thread | previous in thread | raw e-mail | index | archive | help

--hMqxZgAHHKe5m0zX
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline
Content-Transfer-Encoding: quoted-printable

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

--hMqxZgAHHKe5m0zX
Content-Type: application/pgp-signature
Content-Disposition: inline

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.11 (FreeBSD)

iEYEARECAAYFAk3qB8EACgkQC3+MBN1Mb4ho3QCfT/w6gN2qBk+BZXcKj/xXieG5
V+kAoMt8ZmPcxBzFFSGXRb66cZqk/gIn
=Ogze
-----END PGP SIGNATURE-----

--hMqxZgAHHKe5m0zX--



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