Linux LVM users
 help / color / mirror / Atom feed
From: Joe Thornber <thornber@redhat.com>
To: LVM general discussion and development <linux-lvm@redhat.com>
Subject: Re: [linux-lvm] using DM/LVM to provide "chunked" view of devic
Date: Thu, 18 Mar 2004 13:57:36 +0000	[thread overview]
Message-ID: <20040318135736.GB628@reti> (raw)
In-Reply-To: <4059A7FA.6060603@mchsi.com>

On Thu, Mar 18, 2004 at 07:45:30AM -0600, Pete Flugstad wrote:
> Hello!
> 
> I'm wondering if I can use LVM (or rather Device Mapper) to provide a
> "chunked" or "split" view of a device (such as a block device or partition).
> 
> Specifically if I have a block device (i.e. /dev/hde1) that is 60GB, and
> I want to view it in 1GB chunks, say /dev/hde1.000 to /dev/hde1.059 or
> something like that.  That way I could, for example, setup a FTP or HTTP
> server to view these and download them over the network (of course I'd
> need to modify the server to be able to read from a block device),
> rather than having to download the entire 60 GB block device.
> 
> Is it possible to use DM/LVM to provide a view of the device like this?
> I am using Linux 2.6.X.

Yep, you can do this with either LVM (taking care not to put a label
on the PV) or just with dm by setting up simple tables with a single
linear mapping in them (see the dmsetup man page).

- Joe

      reply	other threads:[~2004-03-18 13:57 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2004-03-18 13:45 [linux-lvm] using DM/LVM to provide "chunked" view of devic Pete Flugstad
2004-03-18 13:57 ` Joe Thornber [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=20040318135736.GB628@reti \
    --to=thornber@redhat.com \
    --cc=linux-lvm@redhat.com \
    /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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox