From owner-freebsd-questions@FreeBSD.ORG Sat Mar 17 22:27:58 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 D357C16A400 for ; Sat, 17 Mar 2007 22:27:58 +0000 (UTC) (envelope-from youshi10@u.washington.edu) Received: from mxout1.cac.washington.edu (mxout1.cac.washington.edu [140.142.32.134]) by mx1.freebsd.org (Postfix) with ESMTP id AF22E13C45E for ; Sat, 17 Mar 2007 22:27:58 +0000 (UTC) (envelope-from youshi10@u.washington.edu) Received: from smtp.washington.edu (smtp.washington.edu [140.142.32.139]) by mxout1.cac.washington.edu (8.13.7+UW06.06/8.13.7+UW07.03) with ESMTP id l2HMRwl3012463 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=OK) for ; Sat, 17 Mar 2007 15:27:58 -0700 X-Auth-Received: from [192.168.10.41] (c-67-187-172-183.hsd1.ca.comcast.net [67.187.172.183]) (authenticated authid=youshi10) by smtp.washington.edu (8.13.7+UW06.06/8.13.7+UW07.03) with ESMTP id l2HMRvGV004019 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NOT) for ; Sat, 17 Mar 2007 15:27:57 -0700 Message-ID: <45FC6B6D.5080603@u.washington.edu> Date: Sat, 17 Mar 2007 15:27:57 -0700 From: Garrett Cooper User-Agent: Thunderbird 1.5.0.10 (X11/20070316) MIME-Version: 1.0 To: freebsd-questions@freebsd.org References: <163348.60379.qm@web62203.mail.re1.yahoo.com> In-Reply-To: <163348.60379.qm@web62203.mail.re1.yahoo.com> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-PMX-Version: 5.3.0.289146, Antispam-Engine: 2.5.0.283055, Antispam-Data: 2007.3.17.151434 X-Uwash-Spam: Gauge=IIIIIII, Probability=7%, Report='__CP_URI_IN_BODY 0, __CT 0, __CTE 0, __CT_TEXT_PLAIN 0, __HAS_MSGID 0, __MIME_TEXT_ONLY 0, __MIME_VERSION 0, __PHISH_PHRASE11 0, __SANE_MSGID 0, __USER_AGENT 0' 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: Sat, 17 Mar 2007 22:27:58 -0000 Drew Jenkins wrote: > I go to run /usr/sbin/sysinstall. It brings up a little GUI and asks > me to select. I selected post-installation configuration, and it sent > me back to a prompt! So I tried again, selecting the recommended > configuration to start over again, and it again sent me back to a > prompt! Besides, this is kinda dangerous. Got another, perhaps more > complex but *safer* way to determine if it's ufs1 or 2? > > 2Also, what are softupdates and why do I need them? > TIA, > Drew > > 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). > > If it's ufs1, it should definitely be converted to ufs2. There were some > serious limitations in ufs1, in particular dealing with file size (2GB > limit I believe) and features. Someone else on the list might be able to > advise you or point you in the right direction if you want more details.. > > Also, you should be running softupdates. If not you're playing a risky > game of russian roulette with your data, where if corrupted things can > disappear between reboots if you didn't power down the machine properly > (power down via ATX dead man power switch, power loss, etc). > > If all else fails and you're not running ufs1 on the disk, try upgrade > your bios or firmware controller that the disk is operating on, and get > back to us with more details. > > Cheers, > -Garrett In order to get to disk label without installing from scratch, go to Configure -> Label. Then select your Disk, press Ok. Once the next window comes up, press "M" and select a mount point for the slice. Then look off to the right and see what version of UFS the slice is using. Another (maybe safer?) way to do this is to run /sbin/tunefs -p /dev/{disk+slicename}. See if something like... tunefs: soft updates: (-n) disabled ... pops up. I used my / slice as an example, so soft updates are automatically disabled for it (I think this has to deal with single user mode and fsck?). A short description of softupdates is available here: , and you should read the 2nd reference if you want more detailed info about them. Also, could you please bottom post. Top posting is hard to read and bottom-posting is the defacto standard on the FreeBSD lists. Thanks, -Garrett