Home | History | Annotate | Download | only in doc
History log of /src/sys/dev/dm/doc/design.txt
RevisionDateAuthorComments
 1.6  07-Nov-2021  andvar fix various typos, mainly s/prefered/preferred/
 1.5  21-Aug-2021  andvar fix typos in sys/dev/dm code comments and documentation.
also remove some trailing space in documentation.
 1.4  04-Jun-2017  mbalmer more dependiences -> dependencies
 1.3  09-Dec-2013  wiz branches: 1.3.6;
Fix typo ("then" instead of "than")
 1.2  19-Dec-2008  haad branches: 1.2.2; 1.2.4; 1.2.8; 1.2.20; 1.2.30; 1.2.34;
Merge the haad-dm branch to -current. This branch adds LVM functionality to
the base NetBSD system. It uses Linux LVM2 tools and our BSD licensed
device-mapper driver.

The device-mapper driver can be used to create virtual block devices which
maps virtual blocks to real with target mapping called target. Currently
these targets are available a linear, zero, error and a snapshot (this is
work in progress and doesn't work yet).

The lvm2tools adds lvm and dmsetup binary to based system, where the lvm
tool is used to manage and administer whole LVM and the dmestup is used to
communicate iwith device-mapper kernel driver. With these tools also
a libdevmapper library is instaled to the base system.

Building of tools and driver is currently disable and can be enabled with
MKLVM=yes in mk.conf. I will add sets lists and rc.d script soon.

Oked by agc@ and cube@.
 1.1  07-Jul-2008  haad branches: 1.1.2;
Add dmgetdefaultdisklabel to get virtual disklabel for Logical Volume device. Add snapshot targets (snapshot, snapshot-origin), add dm_type to dm_dev structure to identify type of device. e.g. we can have mirrored disk device with snapshot on them and spare disk on them. When driver want to work with snapshot devices, it looks to upcalls list and finds all DM_SNAPSHOT devices.
 1.1.2.1  07-Jul-2008  haad Import of device-mapper driver. This driver is BSD rewrite of linux dm driver.
For now only error, linear and zero targets are supported. This driver uses NetBSD
specific ioctl protocola based on proplib.

I was able to create logical volume (with lvm2tools lvcreate utility) with this
version of driver, newfs it and mount it.
 1.2.34.1  18-May-2014  rmind sync with head
 1.2.30.2  03-Dec-2017  jdolecek update from HEAD
 1.2.30.1  20-Aug-2014  tls Rebase to HEAD as of a few days ago.
 1.2.20.1  22-May-2014  yamt sync with head.

for a reference, the tree before this commit was tagged
as yamt-pagecache-tag8.

this commit was splitted into small chunks to avoid
a limitation of cvs. ("Protocol error: too many arguments")
 1.2.8.2  04-May-2009  yamt sync with head.
 1.2.8.1  19-Dec-2008  yamt file design.txt was added on branch yamt-nfs-mp on 2009-05-04 08:12:37 +0000
 1.2.4.2  19-Jan-2009  skrll Sync with HEAD.
 1.2.4.1  19-Dec-2008  skrll file design.txt was added on branch nick-hppapmap on 2009-01-19 13:17:53 +0000
 1.2.2.2  17-Jan-2009  mjf Sync with HEAD.
 1.2.2.1  19-Dec-2008  mjf file design.txt was added on branch mjf-devfs2 on 2009-01-17 13:28:53 +0000
 1.3.6.1  28-Aug-2017  skrll Sync with HEAD

RSS XML Feed