4.x device failure?
Poul-Henning Kamp
phk at phk.freebsd.dk
Mon Sep 13 12:35:54 PDT 2004
In message <Pine.LNX.4.60.0409131505220.6275 at athena>, Sam writes:
>Ah. Well that answers it. I'll fail unloading of the
>module if devices are open.
>
>This leads to a curiosity as to how the RAID
>failover modules work at all. I guess if you abstract
>the real disk(s) under a logical disk you can change
>the bottom layer without affecting the top. I'll have
>to look at that code a little closer.
You should really start to study GEOM in 5.x which gives a nice
clean framework for all this sort of stuff.
You can start here for instance:
http://phk.freebsd.dk/pubs/bsdcan-04.slides.geomtut.pdf
--
Poul-Henning Kamp | UNIX since Zilog Zeus 3.20
phk at FreeBSD.ORG | TCP/IP since RFC 956
FreeBSD committer | BSD since 4.3-tahoe
Never attribute to malice what can adequately be explained by incompetence.
More information about the freebsd-arch
mailing list