From: Alasdair G Kergon <agk@uk.sistina.com>
To: linux-kernel@vger.kernel.org
Subject: Re: A possible direction for the next LVM driver
Date: Fri, 14 Dec 2001 19:11:50 +0000 [thread overview]
Message-ID: <20011214191150.C22147@uk.sistina.com> (raw)
In-Reply-To: <20010830164547.A807@btconnect.com>
In-Reply-To: <20010830164547.A807@btconnect.com>; from thornber@btconnect.com on Thu, Aug 30, 2001 at 04:45:47PM +0100
On Thu, Aug 30, 2001 at 04:45:47PM +0100, Joe Thornber wrote:
> I'm working on the next iteration of the LVM driver
...which is now known as the "device-mapper" because it lets you define
new block devices that map I/O onto sections of other block devices.
> The main goal of this driver is to support volume management in
> general, not just for LVM. The kernel should provide general
> services, not support specific applications. eg, The driver has no
> concept of volume groups.
The latest version being tested is at:
ftp://ftp.sistina.com/pub/LVM2/device-mapper/device-mapper-0.90.02.tgz
The tgz file contains a CVS snapshot which includes patches against 2.4.16
and some documentation (and details for the CVS repository).
Currently there's a choice between an ioctl interface and a filesystem
interface (dmfs).
Example
=======
To create a "logical volume" that concatenates /dev/sdc1 with /dev/sdd2:
[units used below are 512-byte sectors]
# cat > /tmp/lv1_table
0 1028160 linear /dev/sdc1 0
1028160 3903762 linear /dev/sdd2 0
^D
# dmsetup lv1 /tmp/lv1_table
With the filesystem interface and devfs, you could also create
/devfs/device-mapper/lv1 by hand as follows:
# mkdir /tmp/dmfs; mount -t dmfs dmfs /tmp/dmfs
# mkdir /tmp/dmfs/lv1
# cp /tmp/lv1_table /tmp/dmfs/lv1/table
Striping is also already supported (see documentation).
Alasdair
--
agk@uk.sistina.com
prev parent reply other threads:[~2001-12-14 19:12 UTC|newest]
Thread overview: 6+ messages / expand[flat|nested] mbox.gz Atom feed top
2001-08-30 15:45 A possible direction for the next LVM driver Joe Thornber
2001-08-30 15:55 ` Alan Cox
2001-08-31 9:20 ` Jens Axboe
2001-08-31 9:35 ` Joe Thornber
2001-08-31 9:37 ` Jens Axboe
2001-12-14 19:11 ` Alasdair G Kergon [this message]
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20011214191150.C22147@uk.sistina.com \
--to=agk@uk.sistina.com \
--cc=linux-kernel@vger.kernel.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.