Re: Defer Checking on USB Drive

2008-04-14 Thread RW
On Mon, 14 Apr 2008 22:12:52 +0200
Mel <[EMAIL PROTECTED]> wrote:

> On Monday 14 April 2008 21:45:32 Andy Christianson wrote:
> 
> > Is there a way to have the file system
> > check for the partition that resides on the USB drive follow this
> > same behavior?
> 
> man tunefs, specifically, it needs to be ufs2 partitioned. Good
> telltale if it is ufs2 is the precense of a .snap directory in the
> root of the partition. fsck uses this to make a snapshot of the
> partition so that it can defer the fsck.

It's not just a matter of its being ufs2, you also need to have
soft-updates enabled for background file-checking.
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: Defer Checking on USB Drive

2008-04-14 Thread Mel
On Monday 14 April 2008 21:45:32 Andy Christianson wrote:

> Is there a way to have the file system
> check for the partition that resides on the USB drive follow this same
> behavior?

man tunefs, specifically, it needs to be ufs2 partitioned. Good telltale if it 
is ufs2 is the precense of a .snap directory in the root of the partition.
fsck uses this to make a snapshot of the partition so that it can defer the 
fsck.
And yes, could be your pass flag in fstab is set to 1, rather then 2.
-- 
Mel

Problem with today's modular software: they start with the modules
and never get to the software part.
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: Defer Checking on USB Drive

2008-04-14 Thread Dominic Fandrey

Andy Christianson wrote:

I have a production server running FreeBSD 7.0-RELEASE, and it has
stability issues. The problem is that after a crash, it takes quite a
while to get back up and running. Most of the time is spent doing a file
system check on a 500GB USB drive with a single UFS partition. I noticed
that my var, root, an dtmp partitions all have their checks deferred,
which is the desirable behavior as it gets the server back up and
running as soon as possible. Is there a way to have the file system
check for the partition that resides on the USB drive follow this same
behavior?

Thanks in advance for any advice.



This sounds like the pass column in your /etc/fstab file is wrong.
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"