Re: Corrupted OS



Drew Jenkins wrote:
/etc/fstab says ufs. Is there a better way to check if its ufs2?
Drew2

Garrett Cooper <youshi10@xxxxxxxxxxxxxxxx> 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@xxxxxxxxxxx mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "freebsd-questions-unsubscribe@xxxxxxxxxxx"



Relevant Pages

  • Re: Corrupted OS
    ... what are softupdates and why do I need them? ... If it's ufs1, it should definitely be converted to ufs2. ... (power down via ATX dead man power switch, power loss, etc). ... If all else fails and you're not running ufs1 on the disk, ...
    (freebsd-questions)
  • Re: Ext4 and the "30 second window of death"
    ... A - Writing data to disk immediately and lose no work at all, ... application uses fsync, right?). ... The problem comes when you have lots of applications open on the ... in order to save power. ...
    (Linux-Kernel)
  • Re: Future Linux on Bistable Storage
    ... One major difference between disk and RAM is the tradeoffs between size, ... resume the system -- except perhaps for I/O initialisation. ... Writing all of RAM to disk burns more power than powering RAM for several ...
    (Linux-Kernel)
  • Re: Corrupted OS
    ... I selected post-installation configuration, and it sent me back to ... and it again sent me back to a prompt! ... If it's ufs1, it should definitely be converted to ufs2. ... (power down via ATX dead man power switch, power loss, etc). ...
    (freebsd-questions)
  • Re: Spinning down an old disk array
    ... the RD53 started to spin up, but never accelereated to normal speed. ... But for a newer generation SCSI disk, it had come off an old ... Motor and bearing failures are noticable, ... In the case of a disk array, my concern would be with regards to power. ...
    (comp.os.vms)