From owner-freebsd-questions@FreeBSD.ORG Sun Nov 18 17:47:06 2012 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 2694EDCB for ; Sun, 18 Nov 2012 17:47:06 +0000 (UTC) (envelope-from pulley@dabus.com) Received: from aegir.dabus.com (aegir.dabus.com [173.14.229.218]) by mx1.freebsd.org (Postfix) with ESMTP id EC19B8FC12 for ; Sun, 18 Nov 2012 17:47:05 +0000 (UTC) Received: from aegir.dabus.com (localhost [127.0.0.1]) by aegir.dabus.com (Processor) with ESMTP id C6F865F322 for ; Sun, 18 Nov 2012 10:47:04 -0700 (MST) DomainKey-Signature: a=rsa-sha1; b=lm5GuM2j+ZhgJVjQg3ot2GmW7ob3T0mpgUtQGYUnJZrDuTaM+qroyDQ4qIgJo/X5YRGpWXYsTXcYetM+BqHh/PjQnXMXksyG8ZtcLh1a8B07GUSVojVf65NRxGfIAKFIMr5EynkMEJJjJpW2F+S6aaPuXuphau3Oh24vZoN3GzU=; c=nofws; d=dabus.com; q=dns; s=aegir1 Received: from [192.168.10.10] (unknown [192.168.10.10]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by aegir.dabus.com (Dabus) with ESMTPSA id D67155F318 for ; Sun, 18 Nov 2012 10:47:03 -0700 (MST) Date: Sun, 18 Nov 2012 10:47:01 -0700 From: Eric S Pulley To: FreeBSD Subject: Re: How is zfs file system known in fsck? Message-ID: <40E60258708D6FF63A5EDF6B@morbius.dabus.com> In-Reply-To: References: X-Mailer: Mulberry/4.0.8 (Mac OS X) MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit Content-Disposition: inline X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 18 Nov 2012 17:47:06 -0000 --On November 18, 2012 10:38:43 AM -0500 Lynn Steven Killingsworth wrote: > Hi FreeBSD - > > On my PC-BSD 9.1 RC3 I need to run fsck on my internal storage drive. > > I would like to use I think: > > fsck -y -F -t ufs /dev.... > > The question is what should I place for 'ufs' since I have zfs. My > guesses just generate similar to 'directories unknown' My disk is also > gpt. If I leave out the file system type after -t my machine apparently > accepts a command to do something, but it of course does not do what is > needed. > > Thanks If you're going to run "advanced" filesystems you really should try to understand how they work. There is no fsck tool and no need for one on zfs. If you have managed to loose data while running zfs you'd better have a backup. Read zpool(8) zfs(8) and possibly