From owner-freebsd-questions@FreeBSD.ORG Tue Dec 9 11:13:29 2003 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 9968016A4D1 for ; Tue, 9 Dec 2003 11:13:29 -0800 (PST) Received: from rootlabs.com (root.org [67.118.192.226]) by mx1.FreeBSD.org (Postfix) with SMTP id 6025B43D2C for ; Tue, 9 Dec 2003 11:13:28 -0800 (PST) (envelope-from nate@rootlabs.com) Received: (qmail 43054 invoked by uid 1000); 9 Dec 2003 19:13:29 -0000 Date: Tue, 9 Dec 2003 11:13:29 -0800 (PST) From: Nate Lawson To: DAVID THOMPSON In-Reply-To: Message-ID: <20031209110831.D43006@root.org> References: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII cc: freebsd-questions@FreeBSD.ORG Subject: Re: fsck not recognizing vinum filesystem type X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 09 Dec 2003 19:13:29 -0000 On Tue, 9 Dec 2003, DAVID THOMPSON wrote: > I am a relatively new FreeBSD user and I have never posted a request > for help before so I hope I am doing this right and not plugging up the > board with irrelevant and out of context questions. My apologies if I > am. Here is my problem: Welcome to the club! > I have vinum installed on my FreeBSD 5.1-Release box. Vinum starts and > runs fine, but I can't fsck any of the volumes because it says... > > "fsck: Could not determine filesystem type." > > If I do a fsck -T ufs /dev/vinum/??? it will work fine, but it's when I > don't explicity tell fsck what the filesystem type is that I get this > error. You probably didn't disklabel the disk. Do a "man disklabel". In particular, you should do: disklabel -w /dev/vinum/??? auto Edit the disklabel: disklabel -e /dev/vinum/??? Then newfs: newfs /dev/vinum/??? Note that you can potentially trash the system with all this, so please read the section in the handbook on setting up vinum and/or disklabels before doing this on a production system. In fact, test on a scratch disk first. http://www.freebsd.org/doc/en_US.ISO8859-1/books/handbook/vinum-vinum.html http://www.freebsd.org/doc/en_US.ISO8859-1/books/handbook/index.html -Nate