All of lore.kernel.org
 help / color / mirror / Atom feed
* [linux-lvm] pvs -a on a partition of ZFS block device
@ 2014-06-10 18:44 alessandro macuz
  2014-06-11  7:53 ` Oliver Rath
  0 siblings, 1 reply; 5+ messages in thread
From: alessandro macuz @ 2014-06-10 18:44 UTC (permalink / raw)
  To: LVM general discussion and development

[-- Attachment #1: Type: text/plain, Size: 882 bytes --]

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

[-- Attachment #2: Type: text/html, Size: 1315 bytes --]

^ permalink raw reply	[flat|nested] 5+ messages in thread

end of thread, other threads:[~2014-06-11 10:11 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
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
2014-06-11 10:11       ` alessandro macuz

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.