Can GEOM be used to intercept the I/o calls to an existing mounted device?

Ivan Voras ivoras at freebsd.org
Thu Jul 10 19:19:54 UTC 2008


Tapan Chaudhari wrote:

> Can't I do it on the fly while the device is already mounted? I just want
> that all the calls going to the device "/dev/md0s1" first come to me and
> then it goes to the original device. In short intercepting the i/o calls. Is
> there some way I can achieve this?

It would be very nice if GEOM could do this, since it would then 
trivially allow things like data replication, log/rollback, etc. but it 
doesn't work like that. In short, no, you cannot listen to IO between 
providers.

(not that it isn't possible to do at all, it just isn't implemented).

-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 250 bytes
Desc: OpenPGP digital signature
Url : http://lists.freebsd.org/pipermail/freebsd-geom/attachments/20080710/b5581458/signature.pgp


More information about the freebsd-geom mailing list