* [linux-lvm] using DM/LVM to provide "chunked" view of devic
@ 2004-03-18 13:45 Pete Flugstad
2004-03-18 13:57 ` Joe Thornber
0 siblings, 1 reply; 2+ messages in thread
From: Pete Flugstad @ 2004-03-18 13:45 UTC (permalink / raw)
To: linux-lvm
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.
Thanks,
Pete
^ permalink raw reply [flat|nested] 2+ messages in thread
* Re: [linux-lvm] using DM/LVM to provide "chunked" view of devic
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
0 siblings, 0 replies; 2+ messages in thread
From: Joe Thornber @ 2004-03-18 13:57 UTC (permalink / raw)
To: LVM general discussion and development
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
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2004-03-18 13:57 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
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 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.