[linux-lvm] pvs -a on a partition of ZFS block device

alessandro macuz alessandro.macuz at gmail.com
Wed Jun 11 10:11:35 UTC 2014


2014-06-11 11:33 GMT+02:00 Zdenek Kabelac <zkabelac at redhat.com>:

> Dne 11.6.2014 10:43, alessandro macuz napsal(a):
>
>>
>>
>> 2014-06-11 9:53 GMT+02:00 Oliver Rath <rath at mglug.de <mailto:
>> rath at mglug.de>>:
>>
>>
>>     Hi Alex,
>>
>>     Im not sure if I understand right: You take a zfv-Volume to create a
>> lvm
>>     volume inside? Make it sense to mix two similar concepts in this way?
>> Imho
>>     zfs and lvm are focussed to different goals, so if you combine it,
>> you get
>>     the worse of both.
>>
>>     What is your goal mixing these concepts? If you have created a
>> zfs-volume,
>>     you can mount it directly without detouring over lvm and vice versa.
>>
>>     I think it is much better to decide for one of these (zfs-volumes XOR
>>     lvm-Volumes) depending on your needs.
>>
>>     Just my 2ct
>>
>>     Regards
>>     Oliver
>>
>>
>> Hi Oliver,
>>
>> I see and back your point since the flexibility given by LVM can be
>> obtained
>> with ZFS as well.
>> In this case I'm not trying to achieve anything but rather dealing with
>> something already existing and without making too many changes I'd like to
>> access that volume. I think my reasoning is correct but somehow I see
>> something non-expected. I thought I could use pvs, and lvs later on, on
>> any
>> block device as for any physical disks.
>>
>> Maybe pvs is coded to work only with some devices on purpose, I haven't
>> looked
>> at the source. I don't think what I'm doing is wrong in theory and I would
>> like to know if instead, from the theoretically point of view, it is.
>>
>> Thanks, Alex
>>
>
> Support for  ZFS partitions has been embedded into 2.02.106 lvm2 version.
> You may as well add it to older version of lvm2 by updating your lvm.conf
>
> https://bugzilla.redhat.com/show_bug.cgi?id=913597
>
>
> You can add the following to your /etc/lvm.conf devices section to solve
> the issue:
>
> types = [ "zvol", 16 ]



Thanks Zdenek,

it works !

Alessandro
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://listman.redhat.com/archives/linux-lvm/attachments/20140611/e0c8217d/attachment.htm>


More information about the linux-lvm mailing list