[rhelv6-list] How can I create sparse block devices as a logical volumes with lvm

carlopmart carlopmart at gmail.com
Fri Feb 4 11:45:29 UTC 2011


On 02/04/2011 12:37 PM, John Haxby wrote:
>
>
> On 4 February 2011 08:50, carlopmart <carlopmart at gmail.com
> <mailto:carlopmart at gmail.com>> wrote:
>
>     Hi all,
>
>       Is it possible to create sparse block devices with LVM (logical volumes not
>     volume groups) on RHEL6 like ZFS does??
>
>
> Do you mean something like this (from the lvcreate man page):
>
> "lvcreate --virtualsize 1T --size 100M --snapshot --name sparse vg1"
>         creates a sparse device named /dev/vg1/sparse of size  1TB  with  space
>         for just under 100MB of actual data on it.
>
>
> jch
>
>

Yes, but If I understand good, these options are only valid for snapshots ... I am 
trying to do a sparse logical volume without using snapshots ...


-- 
CL Martinez
carlopmart {at} gmail {d0t} com




More information about the rhelv6-list mailing list