All of lore.kernel.org
 help / color / mirror / Atom feed
From: Zdenek Kabelac <zkabelac@redhat.com>
To: LVM general discussion and development <linux-lvm@redhat.com>,
	alessandro.macuz@gmail.com
Subject: Re: [linux-lvm] pvs -a on a partition of ZFS block device
Date: Wed, 11 Jun 2014 11:33:22 +0200	[thread overview]
Message-ID: <53982262.3010205@redhat.com> (raw)
In-Reply-To: <CAFrGbuUYwj9xasnQZ8DYkFoj2qoZxjE7ui6Tf4Uj7bxzR2P2jA@mail.gmail.com>

Dne 11.6.2014 10:43, alessandro macuz napsal(a):
>
>
> 2014-06-11 9:53 GMT+02:00 Oliver Rath <rath@mglug.de <mailto:rath@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 ]

Zdenek

  reply	other threads:[~2014-06-11  9:33 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2014-06-10 18:44 [linux-lvm] pvs -a on a partition of ZFS block device alessandro macuz
2014-06-11  7:53 ` Oliver Rath
2014-06-11  8:43   ` alessandro macuz
2014-06-11  9:33     ` Zdenek Kabelac [this message]
2014-06-11 10:11       ` alessandro macuz

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=53982262.3010205@redhat.com \
    --to=zkabelac@redhat.com \
    --cc=alessandro.macuz@gmail.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 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.