From owner-freebsd-fs@FreeBSD.ORG Sat Jun 4 10:24:07 2011 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 4CCF5106564A for ; Sat, 4 Jun 2011 10:24:07 +0000 (UTC) (envelope-from kostikbel@gmail.com) Received: from mail.zoral.com.ua (mx0.zoral.com.ua [91.193.166.200]) by mx1.freebsd.org (Postfix) with ESMTP id BCEB88FC0C for ; Sat, 4 Jun 2011 10:24:06 +0000 (UTC) Received: from deviant.kiev.zoral.com.ua (root@deviant.kiev.zoral.com.ua [10.1.1.148]) by mail.zoral.com.ua (8.14.2/8.14.2) with ESMTP id p54AO2Do079366 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO); Sat, 4 Jun 2011 13:24:02 +0300 (EEST) (envelope-from kostikbel@gmail.com) Received: from deviant.kiev.zoral.com.ua (kostik@localhost [127.0.0.1]) by deviant.kiev.zoral.com.ua (8.14.4/8.14.4) with ESMTP id p54AO2CY029128; Sat, 4 Jun 2011 13:24:02 +0300 (EEST) (envelope-from kostikbel@gmail.com) Received: (from kostik@localhost) by deviant.kiev.zoral.com.ua (8.14.4/8.14.4/Submit) id p54AO2vb029127; Sat, 4 Jun 2011 13:24:02 +0300 (EEST) (envelope-from kostikbel@gmail.com) X-Authentication-Warning: deviant.kiev.zoral.com.ua: kostik set sender to kostikbel@gmail.com using -f Date: Sat, 4 Jun 2011 13:24:02 +0300 From: Kostik Belousov To: David Evans Message-ID: <20110604102402.GN48734@deviant.kiev.zoral.com.ua> References: <4DE9FFEC.7070206@googlemail.com> Mime-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="hMqxZgAHHKe5m0zX" Content-Disposition: inline In-Reply-To: <4DE9FFEC.7070206@googlemail.com> User-Agent: Mutt/1.4.2.3i X-Virus-Scanned: clamav-milter 0.95.2 at skuns.kiev.zoral.com.ua X-Virus-Status: Clean X-Spam-Status: No, score=-3.3 required=5.0 tests=ALL_TRUSTED,AWL,BAYES_00, DNS_FROM_OPENWHOIS autolearn=no version=3.2.5 X-Spam-Checker-Version: SpamAssassin 3.2.5 (2008-06-10) on skuns.kiev.zoral.com.ua Cc: freebsd-fs@freebsd.org Subject: Re: fsck does not work on ZFS ZVOL formatted as UFS2 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: Sat, 04 Jun 2011 10:24:07 -0000 --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--