Corrupted OS

Ray ray at stilltech.net
Sat Mar 17 22:23:56 UTC 2007


On Saturday 17 March 2007 4:14 pm, 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?

Soft updates
Soft updates change the way the file system performs I/O. They enable metadata 
to be
written less frequently. This can give rise to dramatic performance 
improvements under
certain circumstances, such as file deletion. Specify soft updates with the -U 
option when
creating the file system.
(pg 191 The complete FreeBSD)


> TIA,
> Drew
>
> Garrett Cooper <youshi10 at u.washington.edu> 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
> _______________________________________________
> freebsd-questions at freebsd.org mailing list
> http://lists.freebsd.org/mailman/listinfo/freebsd-questions
> To unsubscribe, send any mail to
> "freebsd-questions-unsubscribe at freebsd.org"
>
>
>
> ---------------------------------
> Expecting? Get great news right away with email Auto-Check.
> Try the Yahoo! Mail Beta.
> _______________________________________________
> freebsd-questions at freebsd.org mailing list
> http://lists.freebsd.org/mailman/listinfo/freebsd-questions
> To unsubscribe, send any mail to
> "freebsd-questions-unsubscribe at freebsd.org"



More information about the freebsd-questions mailing list