Date: Sun, 18 Mar 2007 17:34:55 +1100 (EST) From: Ian Smith <smithi@nimnet.asn.au> To: Garrett Cooper <youshi10@u.washington.edu> Cc: Drew Jenkins <drewjenkinsjr@yahoo.com>, freebsd-questions@freebsd.org Subject: Re: Corrupted OS Message-ID: <Pine.BSF.3.96.1070318170831.22356B-100000@gaia.nimnet.asn.au> In-Reply-To: <20070318032510.1E55016A51F@hub.freebsd.org>
next in thread | previous in thread | raw e-mail | index | archive | help
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 <youshi10@u.washington.edu> 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 <device> | 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
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?Pine.BSF.3.96.1070318170831.22356B-100000>