Date: Thu, 05 Feb 1998 07:32:23 -0600 (CST) From: Chris Dillon <cdillon@inter-linc.net> To: Bruce Evans <bde@zeta.org.au> Cc: freebsd-fs@FreeBSD.ORG, asami@cs.berkeley.edu Subject: Re: May have pounced on something weird with ccd and newfs (rat Message-ID: <XFMail.980205074804.cdillon@inter-linc.net> In-Reply-To: <199802041658.DAA19913@godzilla.zeta.org.au>
index | next in thread | previous in thread | raw e-mail
On 04-Feb-98 Bruce Evans wrote:
>>On an unrelated note, i've tried twiddling the Pass# layout in fstab since it
>>seems like fsck is trying to check two filesystems on the same drive at the
>same
>>time (lots of head movement, and it moves pretty fast checking clean
>>filesystems, but not dirty ones), but putting them in what seemed to be an
>order
>>that would prevent fsck from doing that didn't speed anything up, nor slow it
>>down. I guess fsck is already smart enough to know what drives a ccd uses
>and
>>not to check two things on them at the same time?
>
>It probably doesn't understand that sd0 and ccd0 may be (partly for ccd)
>on the same drive. It certainly doesn't understand that different slices
>on the same drive are on the same drive. The latter is usually not a
>problem because multiple real FreeBSD slices are not normally used (don't
>use both the compatibility slice and the corresponding real slice except
>possibly for using the former for the root file system and the latter for
>everything else).
Hmm.. according to the fsck manual page, it first checks anything marked with a
pass number of 1 first, but then checks everything else doing what it thinks is
"one process per disk drive", based on the definition of a drive being "the
longest prefix of the device name that ends in a digit; the remaining
characters are assumed to be the partition designator." So apparently, no
matter wether I set little numbered "groups" in fstab (assuming each group was
checked sequentially), if any pass number is >1, fsck decides who and what gets
checked in what order. While I was just now contemplating hacking fsck to do
the numbered-group thing, i just realized I could give the ccd's a pass number
of 1 so that they get checked by themselves, one at a time, and then give
everything else a pass number of 2. :-)
--- Chris Dillon
--- cdillon@inter-linc.net
--- Powered by FreeBSD, the best operating system on the planet
for Intel x86 based computers (and soon Sparcs).
---- (http://www.freebsd.org)
home |
help
Want to link to this message? Use this
URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?XFMail.980205074804.cdillon>
