Re: Question about forcing fsck at boottime

2009-04-07 Thread Doug Hardie
On Apr 7, 2009, at 02:34, Chris Rees wrote: \ So, the answer is NO, it does NOT cause data CORRUPTION. A simple reboot solved it? Really, you're advocating guaranteed extended downtime every time there's a power outage, compared with a slight chance of a slightly longer downtime while every oth

Re: Question about forcing fsck at boottime

2009-04-07 Thread Chris Rees
> > On Apr 6, 2009, at 11:12, Chris Rees wrote: > >> Can >> no-one can come up with a reply either quoting a mailing list or >> giving the circumstances when: >> >> a) Background fsck caused data CORRUPTION >> >> _and_ >> >> b) A foreground fsck would not have done the same >> >> ? 2009/4/6 Doug Ha

Re: Question about forcing fsck at boottime

2009-04-06 Thread Doug Hardie
On Apr 6, 2009, at 11:12, Chris Rees wrote: Can no-one can come up with a reply either quoting a mailing list or giving the circumstances when: a) Background fsck caused data CORRUPTION _and_ b) A foreground fsck would not have done the same ? Yes. When background FSCK first became stand

Re: Question about forcing fsck at boottime

2009-04-06 Thread Chris Rees
2009/4/6 Bruce Cran : > On Sun, 5 Apr 2009 21:40:52 +0100 > Chris Rees wrote: > >> 2009/3/31 Oliver Fromme : >> > Chris Rees wrote: >> >  > 2009/3/31 Wojciech Puchar : >> >  > > >> >  > > IMHO this background fsck isn't good idea at all >> >  > >> >  > Why? >> > >> > Google "background fsck damag

Re: Question about forcing fsck at boottime

2009-04-05 Thread Bruce Cran
On Sun, 5 Apr 2009 21:40:52 +0100 Chris Rees wrote: > 2009/3/31 Oliver Fromme : > > Chris Rees wrote: > >  > 2009/3/31 Wojciech Puchar : > >  > > > >  > > IMHO this background fsck isn't good idea at all > >  > > >  > Why? > > > > Google "background fsck damage". > > > > I was bitten by it mysel

Re: Question about forcing fsck at boottime

2009-04-05 Thread ill...@gmail.com
2009/4/5 Chris Rees : > 2009/3/31 Oliver Fromme : >> Chris Rees wrote: >>  > 2009/3/31 Wojciech Puchar : >>  > > >>  > > IMHO this background fsck isn't good idea at all >>  > >>  > Why? >> >> Google "background fsck damage". >> >> I was bitten by it myself, and I also recommend to turn >> backgro

Re: Question about forcing fsck at boottime

2009-04-05 Thread Chris Rees
2009/3/31 Oliver Fromme : > Chris Rees wrote: >  > 2009/3/31 Wojciech Puchar : >  > > >  > > IMHO this background fsck isn't good idea at all >  > >  > Why? > > Google "background fsck damage". > > I was bitten by it myself, and I also recommend to turn > background fsck off.  If your disks are la

Re: Question about forcing fsck at boottime

2009-03-31 Thread RW
On Tue, 31 Mar 2009 17:36:32 +0200 Mel Flynn wrote: > On Tuesday 31 March 2009 14:24:11 RW wrote: > > On Tue, 31 Mar 2009 08:15:54 +0200 > > > > Mel Flynn wrote: somebody please point me in the right direction ? > > > > > > fsck -p is done by default (meaning, filesystems are not fully > > > sca

Re: Question about forcing fsck at boottime

2009-03-31 Thread Polytropon
On Tue, 31 Mar 2009 18:57:21 +0200 (CEST), Oliver Fromme wrote: > Google "background fsck damage". > > I was bitten by it myself, and I also recommend to turn > background fsck off. If your disks are large and you > can't afford the fsck time, consider using ZFS, which > has a lot of benefits b

Re: Question about forcing fsck at boottime

2009-03-31 Thread Oliver Fromme
Chris Rees wrote: > 2009/3/31 Wojciech Puchar : > > > > IMHO this background fsck isn't good idea at all > > Why? Google "background fsck damage". I was bitten by it myself, and I also recommend to turn background fsck off. If your disks are large and you can't afford the fsck time, cons

Re: Question about forcing fsck at boottime

2009-03-31 Thread Mel Flynn
On Tuesday 31 March 2009 14:24:11 RW wrote: > On Tue, 31 Mar 2009 08:15:54 +0200 > > Mel Flynn wrote: > > On Tuesday 31 March 2009 08:05:11 manish jain wrote: > > > I am migrating from Linux and am still learning the basics of > > > FreeBSD. One thing that I would to carry over from my Linux days

Re: Question about forcing fsck at boottime

2009-03-31 Thread Erik Trulsson
On Tue, Mar 31, 2009 at 04:04:53PM +0100, Chris Rees wrote: > On Tue, 31 Mar 2009 16:00:18 +0530 > manish jain wrote: > > Having bgfsck enabled is like > > inviting a dragon to dinner when this happens. > > 2009/3/31 RW : > > If you've done a normal install, soft-updates aren't enabled on /, > >

Re: Question about forcing fsck at boottime

2009-03-31 Thread Chris Rees
On Tue, 31 Mar 2009 16:00:18 +0530 manish jain wrote: > Having bgfsck enabled is like > inviting a dragon to dinner when this happens. 2009/3/31 RW : > If you've done a normal install, soft-updates aren't enabled on /, > so it will get foreground checked by default. > > If I were you I'd reboot i

Re: Question about forcing fsck at boottime

2009-03-31 Thread RW
On Tue, 31 Mar 2009 16:00:18 +0530 manish jain wrote: > As for the reason why I want to force fsck is that it has now > happened 3 timed that, after a clean and proper shutdown - with no > foreign filesystems mounted, FreeBSD has complained on system restart > (twice on a 5.x distribution I had b

Re: Question about forcing fsck at boottime

2009-03-31 Thread RW
On Tue, 31 Mar 2009 08:15:54 +0200 Mel Flynn wrote: > On Tuesday 31 March 2009 08:05:11 manish jain wrote: > > > I am migrating from Linux and am still learning the basics of > > FreeBSD. One thing that I would to carry over from my Linux days is > > to force an fsck on all filesystems at system

Re: Question about forcing fsck at boottime

2009-03-31 Thread Chris Rees
2009/3/31 manish jain : > BTW, a lot of people who posted replies thought I was not aware that a preen > is always executed at startup. When I said I wanted to force an fsck, I > meant 'fsck -fy'. As for background checks, they are - in my opinion - a > real nightmare. Even though I am just a lear

Re: Question about forcing fsck at boottime

2009-03-31 Thread manish jain
Bruce Cran wrote: On Tue, 31 Mar 2009 11:35:11 +0530 manish jain wrote: Hi, I am migrating from Linux and am still learning the basics of FreeBSD. One thing that I would to carry over from my Linux days is to force an fsck on all filesystems at system startup. On Linux, this was simply a matt

Re: Question about forcing fsck at boottime

2009-03-31 Thread Chris Rees
2009/3/31 Wojciech Puchar : > > IMHO this background fsck isn't good idea at all Why? Chris -- A: Because it messes up the order in which people normally read text. Q: Why is top-posting such a bad thing? A: Top-posting. Q: What is the most annoying thing in e-mail?

Re: Question about forcing fsck at boottime

2009-03-31 Thread Daniel Marsh
On Tue, 31 Mar 2009 15:01:37 +0800, Bruce Cran wrote: On Tue, 31 Mar 2009 11:35:11 +0530 manish jain wrote: Hi, I am migrating from Linux and am still learning the basics of FreeBSD. One thing that I would to carry over from my Linux days is to force an fsck on all filesystems at system st

Re: Question about forcing fsck at boottime

2009-03-31 Thread Wojciech Puchar
i don't know why you do want to FORCE it every boot. in FreeBSD it's not needed. but you may add background_fsck="NO" to check filesystems at boot when needed, not delayed. IMHO this background fsck isn't good idea at all ___ freebsd-questions@freebs

Re: Question about forcing fsck at boottime

2009-03-31 Thread Bruce Cran
On Tue, 31 Mar 2009 11:35:11 +0530 manish jain wrote: > > Hi, > > I am migrating from Linux and am still learning the basics of > FreeBSD. One thing that I would to carry over from my Linux days is > to force an fsck on all filesystems at system startup. On Linux, this > was simply a matter of

Re: Question about forcing fsck at boottime

2009-03-30 Thread Rudy
manish jain wrote: > > Hi, > > I am migrating from Linux and am still learning the basics of FreeBSD. > One thing that I would to carry over from my Linux days is to force an > fsck on all filesystems at system startup. On Linux, this was simply a > matter of editing /etc/rc.sysinit. Things seem a

Re: Question about forcing fsck at boottime

2009-03-30 Thread Mel Flynn
On Tuesday 31 March 2009 08:05:11 manish jain wrote: > I am migrating from Linux and am still learning the basics of FreeBSD. > One thing that I would to carry over from my Linux days is to force an > fsck on all filesystems at system startup. On Linux, this was simply a > matter of editing /etc/r

Question about forcing fsck at boottime

2009-03-30 Thread manish jain
Hi, I am migrating from Linux and am still learning the basics of FreeBSD. One thing that I would to carry over from my Linux days is to force an fsck on all filesystems at system startup. On Linux, this was simply a matter of editing /etc/rc.sysinit. Things seem a bit more complicated in th