From owner-freebsd-questions@FreeBSD.ORG Sun Mar 18 06:35:10 2007 Return-Path: X-Original-To: freebsd-questions@freebsd.org 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 EE78D16A400 for ; Sun, 18 Mar 2007 06:35:10 +0000 (UTC) (envelope-from smithi@nimnet.asn.au) Received: from gaia.nimnet.asn.au (nimbin.lnk.telstra.net [139.130.45.143]) by mx1.freebsd.org (Postfix) with ESMTP id 73E4A13C4C1 for ; Sun, 18 Mar 2007 06:35:08 +0000 (UTC) (envelope-from smithi@nimnet.asn.au) Received: from localhost (smithi@localhost) by gaia.nimnet.asn.au (8.8.8/8.8.8R1.5) with SMTP id RAA24228; Sun, 18 Mar 2007 17:34:56 +1100 (EST) (envelope-from smithi@nimnet.asn.au) Date: Sun, 18 Mar 2007 17:34:55 +1100 (EST) From: Ian Smith To: Garrett Cooper In-Reply-To: <20070318032510.1E55016A51F@hub.freebsd.org> Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Cc: Drew Jenkins , freebsd-questions@freebsd.org Subject: Re: Corrupted OS X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 18 Mar 2007 06:35:11 -0000 On Sat, 17 Mar 2007 13:09:12 -0700 Garrett Cooper wrote: > Drew Jenkins wrote: > > /etc/fstab says ufs. Is there a better way to check if its ufs2? > > Drew2 > > > > Garrett Cooper wrote: On Mar 16, 2007, at 7:34 PM, Drew Jenkins wrote: > > > >> How large is "large"? Why filesystem are you using with what > >> options?The MySQL database was just under a gigabyte, and the Zope > >> Data.fs file/database was somewhere under 2 gigabytes. Options? No > >> options. I had symlinks from where these dbases were supposed to > >> live on the SCSI drives to the 500 GB drive. Then suddenly, poof! > >> They were gone. > >> Drew > > > > Well, I was curious because I thought it could be something to deal > > with the 2GB file limit. You still haven't answered my question about > > the filesystem though: are you using UFS2 or something else? > > > > Thanks, > > -Garrett > > The easiest way to figure out if you're running UFS2 is to go to the > disk label feature within sysinstall, and define a mount point for the > slice. Make sure _not_ to make any changes though as you'll be thrusting > yourself in the middle of a system upgrade (CTRL-C is your friend). Perhaps even a bit easier: paqi% dumpfs /dev/ad0s2a | head -1 magic 19540119 (UFS2) time Sun Mar 18 15:48:35 2007 Also, 'dumpfs | head -20' provides far more than anyone wants to know but including maxfilesize, flags (eg none or soft-updates) and fsmnt (last mounted on). Works on unmounted or mounted drives. Cheers, Ian