<html>
<head>
<meta content="text/html; charset=ISO-8859-1"
http-equiv="Content-Type">
</head>
<body bgcolor="#FFFFFF" text="#000000">
<div class="moz-cite-prefix">Hi Alex,<br>
<br>
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.<br>
<br>
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.<br>
<br>
I think it is much better to decide for one of these (zfs-volumes
XOR lvm-Volumes) depending on your needs. <br>
<br>
Just my 2ct<br>
<br>
Regards<br>
Oliver<br>
<br>
<br>
Am 10.06.2014 20:44, schrieb alessandro macuz:<br>
</div>
<blockquote
cite="mid:CAFrGbuXWhQaPBGhc60oaE-WP__vrnJ32to-uWkcVZOrX2yBmzA@mail.gmail.com"
type="cite">
<div dir="ltr">Hi all,
<div><br>
</div>
<div>the goal is to mount a LVM volume that is contained in a 8e
partition of a zvol device.</div>
<div><br>
</div>
<div>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.</div>
<div><br>
</div>
<div>
<div>root@server02:/mnt# pvs -a /dev/zd1168p2</div>
<div> Failed to read physical volume "/dev/zd1168p2"</div>
</div>
<div><br>
</div>
<div>but on the other way on the same system I get </div>
<div>
<br>
</div>
<div>
<div>root@server02:/mnt# pvs -a /dev/sdb2</div>
<div> PV VG Fmt Attr PSize PFree</div>
<div> /dev/sdb2 vgserver01 lvm2 a- 464.83g 432.82g</div>
</div>
<div><br>
</div>
<div>The only difference I can see between the 2 is the major
number</div>
<div><br>
</div>
<div>
<div>root@server02:/mnt# ls -la /dev/zd1168p2</div>
<div>brw-rw---- 1 root disk 230, 1170 Jun 10 19:56
/dev/zd1168p2</div>
</div>
<div><br>
</div>
<div>and </div>
<div><br>
</div>
<div>
<div>root@server02:/mnt# ls -la /dev/sdb2</div>
<div>brw-rw---- 1 root disk 8, 18 Feb 11 10:43 /dev/sdb2</div>
</div>
<div><br>
</div>
<div>Is it an expected behaviour that I pvs doesn't recognize
"physical device" within ZFS block devices?</div>
<div><br>
</div>
<div>Thanks, Alex</div>
</div>
<br>
<fieldset class="mimeAttachmentHeader"></fieldset>
<br>
<pre wrap="">_______________________________________________
linux-lvm mailing list
<a class="moz-txt-link-abbreviated" href="mailto:linux-lvm@redhat.com">linux-lvm@redhat.com</a>
<a class="moz-txt-link-freetext" href="https://www.redhat.com/mailman/listinfo/linux-lvm">https://www.redhat.com/mailman/listinfo/linux-lvm</a>
read the LVM HOW-TO at <a class="moz-txt-link-freetext" href="http://tldp.org/HOWTO/LVM-HOWTO/">http://tldp.org/HOWTO/LVM-HOWTO/</a></pre>
</blockquote>
<br>
</body>
</html>