From: Oliver Rath <rath@mglug.de>
To: linux-lvm@redhat.com
Subject: Re: [linux-lvm] pvs -a on a partition of ZFS block device
Date: Wed, 11 Jun 2014 09:53:28 +0200 [thread overview]
Message-ID: <53980AF8.6060303@mglug.de> (raw)
In-Reply-To: <CAFrGbuXWhQaPBGhc60oaE-WP__vrnJ32to-uWkcVZOrX2yBmzA@mail.gmail.com>
[-- Attachment #1: Type: text/plain, Size: 1732 bytes --]
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
Am 10.06.2014 20:44, schrieb alessandro macuz:
> Hi all,
>
> the goal is to mount a LVM volume that is contained in a 8e partition
> of a zvol device.
>
> Since we speak about a production system I stated from the basic and I
> wanted to see if pvs would recognize the partition. No luck.
>
> root@server02:/mnt# pvs -a /dev/zd1168p2
> Failed to read physical volume "/dev/zd1168p2"
>
> but on the other way on the same system I get
>
> root@server02:/mnt# pvs -a /dev/sdb2
> PV VG Fmt Attr PSize PFree
> /dev/sdb2 vgserver01 lvm2 a- 464.83g 432.82g
>
> The only difference I can see between the 2 is the major number
>
> root@server02:/mnt# ls -la /dev/zd1168p2
> brw-rw---- 1 root disk 230, 1170 Jun 10 19:56 /dev/zd1168p2
>
> and
>
> root@server02:/mnt# ls -la /dev/sdb2
> brw-rw---- 1 root disk 8, 18 Feb 11 10:43 /dev/sdb2
>
> Is it an expected behaviour that I pvs doesn't recognize "physical
> device" within ZFS block devices?
>
> Thanks, Alex
>
>
> _______________________________________________
> linux-lvm mailing list
> linux-lvm@redhat.com
> https://www.redhat.com/mailman/listinfo/linux-lvm
> read the LVM HOW-TO at http://tldp.org/HOWTO/LVM-HOWTO/
[-- Attachment #2: Type: text/html, Size: 3532 bytes --]
next prev parent reply other threads:[~2014-06-11 7:53 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 [this message]
2014-06-11 8:43 ` alessandro macuz
2014-06-11 9:33 ` Zdenek Kabelac
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=53980AF8.6060303@mglug.de \
--to=rath@mglug.de \
--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.