Date: Sat, 8 May 2010 22:33:53 -0500 From: Bobby Walker <bobbyjwalker@live.com> To: freebsd-questions@freebsd.org Subject: Re: File system Message-ID: <BLU0-SMTP86AAA98C02A66BACE44432BBF80@phx.gbl> In-Reply-To: <m2k768631271005082018r83839cc5wdc5531906234afa3@mail.gmail.com> References: <u2z768631271005081836k26590481qcaab03601799448d@mail.gmail.com> <BLU0-SMTP88023B888DBB974F2A7FE6BBF80@phx.gbl> <m2k768631271005082018r83839cc5wdc5531906234afa3@mail.gmail.com>
next in thread | previous in thread | raw e-mail | index | archive | help
On May 8, 2010, at 10:18 PM, Ansar Mohammed wrote: > Hello Bobby, >=20 > The VM is in my lab environemnt. I have many flavours of Windows, = Linux and > FreeBSD. FreeBSD is my firewall running PF. >=20 > I have rebooted my entire environment hundreds of times, and non of my > Windows or Linux VMs will complain or boot into a repair/single user = mode. >=20 > The background to this problem is because the FreeBSD root filesystem = (UFS) > is not journaled and for some reason I cannot set my root partition to = be > UFS+SoftUpdates. >=20 > At any rate, we are in the year 2010, most modern operating systems = and > databases and able to survive an unclean shutdown without booting into > single user mode and file system/data corruption. >=20 > I love FreeBSD, and have been a user since 2.x but its a bit = frustrating > that whenever power fails I have to do this.. >=20 >=20 > On Sat, May 8, 2010 at 10:57 PM, Bobby Walker <bobbyjwalker@live.com> = wrote: >=20 >> On May 8, 2010, at 8:36 PM, Ansar Mohammed wrote: >>=20 >>> 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. >>>=20 >>> When I run fsck, the file system clearly has issues. >>>=20 >>> 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@freebsd.org mailing list >>> http://lists.freebsd.org/mailman/listinfo/freebsd-questions >>> To unsubscribe, send any mail to " >> freebsd-questions-unsubscribe@freebsd.org" >>>=20 >>=20 >> 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? >>=20 >> 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. >>=20 >> 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. >>=20 >> 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. >>=20 >> -- Bobby_______________________________________________ Okay, I just took my VM down abruptly, and I had no problems coming back = up automatically.=20 That makes me wonder exactly how your fstab is set, would you mind = posting yours if it deviates too much from what mine looks like? # Device Mountpoint FStype Options = Dump Pass# /dev/ad0s1b none swap sw = 0 0 /dev/ad0s1a / ufs = rw 1 1 /dev/ad0s1e /tmp ufs = rw 2 2 /dev/ad0s1f /usr ufs = rw 2 2 /dev/ad0s1d /var ufs = rw 2 2 /dev/acd0 /cdrom cd9660 = ro,noauto 0 0 >> freebsd-questions@freebsd.org mailing list >> http://lists.freebsd.org/mailman/listinfo/freebsd-questions >> To unsubscribe, send any mail to " >> freebsd-questions-unsubscribe@freebsd.org" >>=20 > _______________________________________________ > freebsd-questions@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-questions > To unsubscribe, send any mail to = "freebsd-questions-unsubscribe@freebsd.org" >=20
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?BLU0-SMTP86AAA98C02A66BACE44432BBF80>