Date: Sat, 10 Jan 2009 21:58:10 +0100 From: Raphael Becker <rabe@uugrn.org> To: freebsd-geom@freebsd.org Subject: fsck order/parallel on /dev/ufs/* Message-ID: <20090110205810.GA11441@ma.sigsys.de>
next in thread | raw e-mail | index | archive | help
--liOOAslEiF7prFVr
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline
Content-Transfer-Encoding: quoted-printable
Hi *,
fsck(8) tell me about how to fsck filesystems parallel on a "per drive"
basis:
In preen mode, after pass 1 completes, all remaining file systems are
checked, in pass number order running one process per disk drive in pa=
r-
allel for each pass number in increasing order.
In other words: In preen mode all pass 1 partitions are checked sequen-
tially. Next all pass 2 partitions are checked in parallel, one proce=
ss
per disk drive. Next all pass 3 partitions are checked in parallel, o=
ne
process per disk drive. etc.
The disk drive containing each file system is inferred from the shorte=
st
prefix of the device name that ends in a digit; the remaining characte=
rs
are assumed to be the partition and slice designators.
my /etc/fstab looks like this:
/dev/ufs/ROOT / ufs rw 1 1
/dev/ufs/VAR /var ufs rw 2 2
/dev/ufs/USR /usr ufs rw 2 2
/dev/ufs/DATA2 /data ufs rw 2 2
/dev/ufs/SPACE /space ufs rw 2 2
/dev/ufs/MULTIMEDIA /data/multimedia ufs rw 2 2
/dev/ufs/HOME2 /home ufs rw 0 0
/dev/ufs/PRIVATE /private ufs rw 0 0
Some of the filesystems are on top of a partition/label, others are on=20
top of a geli device, others may be md-devices etc.=20
Is fsck able to find out the "real hardware"? Is fsck "geom-aware"?
Regards
Raphael
PS:
$ uname -srm
FreeBSD 7.1-RELEASE i386
--=20
Raphael Becker <rabe@uugrn.org> http://rabe.uugrn.org/
GnuPG: E7B2 1D66 3AF2 EDC7 9828 6D7A 9CDA 3E7B 10CA 9F2D
=2E........|.........|.........|.........|.........|.........|.........|..
--liOOAslEiF7prFVr
Content-Type: application/pgp-signature
Content-Disposition: inline
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.2 (FreeBSD)
iD8DBQFJaQvinNo+exDKny0RAiO0AJ9e7NwfjeAurZMc7V2Frgl+2vbiVACgnXQu
iveesC63mnUyzbuITgEi/68=
=zhr3
-----END PGP SIGNATURE-----
--liOOAslEiF7prFVr--
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20090110205810.GA11441>
