tech-kern archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

NetBSD LVM GSOC project




Hi, folks

This I have applied to Google Summer of Code with Write and improve NetBSD LVM driver application.

Linux LVM is done with two parts userland and kernel.

Userland part is lvm2tools + libdevmapper
Kernel part is kernel driver called device-mapper I keep device-mapper sources available at [2].

Actual status of NetBSD device-mapper driver is this:

I have working linear target. It is possible to create ffs filesystem on linear device-mapper device and mount it. With help from reinoud@ I have rewritten big part of device-mapper so now
we can write other targets like strip, mirror, crypt etc.. .

After discussion with my mentor I think that my task list is this:

Mandatory (must-have) components:

        • design NetBSD kernel interface for LVM
        • implement the kernel interface
        • modify libdevmapper, dmsetup to use new interface
Optional (would-be-nice) components:

        • demonstrate original Linux tools working with new libdevmapper
        • configure linear LVM partition

I have created design file for new device-mapper->libdevmapper protocol.
This file is available at [3]. Any comments ?

[1]http://mail-index.netbsd.org/tech-kern/2008/03/27/msg000748.html
[2]http://netbsd-soc.cvs.sourceforge.net/netbsd-soc/lvm/org.netbsd.haad.dm.dmlkm/
[3]http://netbsd-soc.sourceforge.net/projects/lvm/design.txt

Regards

Adam.



Home | Main Index | Thread Index | Old Index