File system

Bobby Walker bobbyjwalker at live.com
Sun May 9 02:57:39 UTC 2010


On May 8, 2010, at 8:36 PM, Ansar Mohammed wrote:

> Hello All,
> I have a FreeBSD VM running. Whenever I reboot the VM without a clean
> shutdown it boots into single user mode and I have to run fsck.
> 
> When I run fsck, the file system clearly has issues.
> 
> Is there any way to have FreeBSD run on a better file system that wont crap
> out on me everytime I do and unclean shutdown?
> _______________________________________________
> 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"
> 

I am far from an expert on this topic, but under what situation is it good to take any OS down suddenly?  Is this an unavoidable event of some sort?

If this is a timed event, that happens on a regular basis, then you should be able to issue a timed shutdown prior to that so that the operating system goes down cleanly.

Any file system that is taken down abruptly, repeatedly will see degradation.  Databases and open files, not to mention any data that is being written from/to the hard disk are all meant to be taken down and cleared out properly.

I'm not certain that a different file system is the solution, it might just be a band-aid on the greater problem, which is eliminating the sudden power loss that's simulated by shutting off a VM.

-- Bobby


More information about the freebsd-questions mailing list