Re: recovering from a power outage

2009-02-16 Thread Mel
On Thursday 12 February 2009 16:24:25 A. Wright wrote: > Can anyone corroborate that? If so, does anyone know when > ed started wanting to make a temp file even before any edits > are made? I am sure that ed has gotten me out of similar jams > in the past, when I wanted to see part of a file in

Re: recovering from a power outage

2009-02-13 Thread David Newman
On 2/13/09 7:22 AM, Robert Huff wrote: > >>IMHO, if you are running a system where 'power outages' cannot >>be tolerated, why not install a UPS, they are really quite >>cheap, and be done with it? I cannot imagine any high end, >>mission critical system not employing one. > >

Re: recovering from a power outage

2009-02-13 Thread Polytropon
On Fri, 13 Feb 2009 10:22:55 -0500, Robert Huff wrote: > Power outages are not the only thing which can cause (directly > or indirectly) file system corruption. Oh yes, that's so true - I experienced it in July 2008, and I still think it was a software problem... -- Polytropon >From Magd

Re: recovering from a power outage

2009-02-13 Thread Jerry
On Fri, 13 Feb 2009 10:22:55 -0500 Robert Huff wrote: >> IMHO, if you are running a system where 'power outages' cannot >> be tolerated, why not install a UPS, they are really quite >> cheap, and be done with it? I cannot imagine any high end, >> mission critical system not employing one. > > P

Re: recovering from a power outage

2009-02-13 Thread Robert Huff
>IMHO, if you are running a system where 'power outages' cannot >be tolerated, why not install a UPS, they are really quite >cheap, and be done with it? I cannot imagine any high end, >mission critical system not employing one. Power outages are not the only thing which c

Re: recovering from a power outage

2009-02-13 Thread Wojciech Puchar
One of my machines has a pair of 50gb SCSI disks; running two full passes takes about 7 minutes. I have no idea how long it might take to check a multi-terabyte RAID- set-up. depends of how filesystem was created. multiterabyte arrays are usually used for large files, and filesys

Re: recovering from a power outage

2009-02-13 Thread Jerry
On Fri, 13 Feb 2009 14:16:13 +0100 Polytropon wrote: > On Fri, 13 Feb 2009 08:11:56 -0500, Robert Huff > wrote: >> One of my machines has a pair of 50gb SCSI disks; running two >> full passes takes about 7 minutes. >> I have no idea how long it might take to check a >> multi-terabyte RAID- set-u

Re: recovering from a power outage

2009-02-13 Thread Polytropon
On Fri, 13 Feb 2009 08:11:56 -0500, Robert Huff wrote: > One of my machines has a pair of 50gb SCSI disks; running two > full passes takes about 7 minutes. > I have no idea how long it might take to check a multi-terabyte > RAID- set-up. It's not *that* hard to wait for an fsck. I hav

Re: recovering from a power outage

2009-02-13 Thread Robert Huff
Wojciech Puchar writes: > background_fsck="NO" > > in rc.conf > > unix doesn't crash every few hours so it's really not a problem > to wait a bit more Cases and personal tolerance may vary. One of my machines has a pair of 50gb SCSI disks; running two full passes takes ab

Re: recovering from a power outage

2009-02-13 Thread Wojciech Puchar
seeing fsck checking partitions after unclean shutdown, but when everything's okay, there's no problem running into MUM *afterwards*. exactly like me i have background_fsck="NO" in rc.conf unix doesn't crash every few hours so it's really not a problem to wait a bit more

Re: recovering from a power outage

2009-02-13 Thread Polytropon
On Thu, 12 Feb 2009 23:00:16 -0500, Robert Huff wrote: > 1) It was my understanding one has to force-mount a dirty > filesuystem. IF this sounds like a practice best left to senior > Jedi Masters ... it porbably is. Mounting possibly defective file systems is not a good idea. If it's possi

Re: recovering from a power outage

2009-02-12 Thread Bill Moran
David Newman wrote: > > What's the canonical method for checking ufs file systems on a FreeBSD > 7.1/amd64 system after an unscheduled power outage? Wait. The system will automatically detect a dirty shutdown and check the disks during the boot process. If the disks are only mildly scrambled by

Re: recovering from a power outage

2009-02-12 Thread Robert Huff
Jerry McAllister writes: > > > do I need to > > > boot into single-user mode, what filesystem(s) do I mount and how, > > > what switches if any do I use with fsck and so on. > > > > > i thought it happens in the background anyway. i don't recall having to > > do anything other than listen t

Re: recovering from a power outage

2009-02-12 Thread Jerry McAllister
On Thu, Feb 12, 2009 at 05:16:53PM -0800, prad wrote: > On Thu, 12 Feb 2009 16:45:18 -0800 > David Newman wrote: > > > do I need to > > boot into single-user mode, what filesystem(s) do I mount and how, > > what switches if any do I use with fsck and so on. > > > i thought it happens in the back

Re: recovering from a power outage

2009-02-12 Thread Jamie
On Thu, 12 Feb 2009, David Newman wrote: On 2/12/09 4:41 PM, Jerry McAllister wrote: On Thu, Feb 12, 2009 at 04:06:49PM -0800, David Newman wrote: What's the canonical method for checking ufs file systems on a FreeBSD 7.1/amd64 system after an unscheduled power outage? How about fsck

Re: recovering from a power outage

2009-02-12 Thread A. Wright
[ deletia introducing discussion of fsck ] On Thu, 12 Feb 2009, Tim Judd wrote: It's part of the bootup scripts now. It runs in the background 60 seconds after the login prompt shows up (not exactly, but close to 60 secs) it's the background_fsck option that defaults to YES in /etc

Re: recovering from a power outage

2009-02-12 Thread prad
On Thu, 12 Feb 2009 16:45:18 -0800 David Newman wrote: > do I need to > boot into single-user mode, what filesystem(s) do I mount and how, > what switches if any do I use with fsck and so on. > i thought it happens in the background anyway. i don't recall having to do anything other than listen t

Re: recovering from a power outage

2009-02-12 Thread Tim Judd
David Newman wrote: On 2/12/09 4:41 PM, Jerry McAllister wrote: On Thu, Feb 12, 2009 at 04:06:49PM -0800, David Newman wrote: What's the canonical method for checking ufs file systems on a FreeBSD 7.1/amd64 system after an unscheduled power outage? How about fsck Right.

Re: recovering from a power outage

2009-02-12 Thread David Newman
On 2/12/09 4:41 PM, Jerry McAllister wrote: > On Thu, Feb 12, 2009 at 04:06:49PM -0800, David Newman wrote: > >> What's the canonical method for checking ufs file systems on a FreeBSD >> 7.1/amd64 system after an unscheduled power outage? > > How about fsck Right. I'm asking procedurally how th

Re: recovering from a power outage

2009-02-12 Thread Jerry McAllister
On Thu, Feb 12, 2009 at 04:06:49PM -0800, David Newman wrote: > What's the canonical method for checking ufs file systems on a FreeBSD > 7.1/amd64 system after an unscheduled power outage? How about fsck jerry > > thanks > > dn > > > ___ > f