View Single Post

   
  #28 (permalink)  
Old 01-06-2008, 07:46 AM
cbigam@somewhereelse.nucleus.com
 
Posts: n/a
Default Re: -o logging": important? Why defaulted OFF by Sun?

ultrasparc3@hotmail.com wrote:
> In <40174373@news.nucleus.com> cbigam@somewhereelse.nucleus.com writes:
>>> Fourth -- if you do use it, do you turn it on for *all*
>>> file-systems, or only some of them? (And why some and not others?)

>>
>>Every filesystem on every server, INCLUDING / and /var. Some have avoided
>>putting it on /, but I have found no reason to do so whatsoever.

>
> are you aware that the boot code only understands plain (non-logging)
> UFS? if any files necessary early in the boot process have their metadata
> in the log then you will have problems.


Indeed I am, and ran into this problem about a week before posting my
blanket recommendation.

The problem was that someone had plugged a keyboard into a headless
(and very very remote) server, in the middle of many changes being written
to / and /var. The result was a box that couldn't boot in single user
mode.

So I booted from CD, turned off logging, manually unmirrored the disks
(not bad with SDS--just remember to comment out the lines in /etc/system!),
fscked the drive with an alternate superblock, and booted without a problem.

Reenabling logging was a bit annoying, but that was a minor issue since
the box was alive and healthy by that point.

So I stick by my statement, even in the worst case scenario.

Colin
Reply With Quote