RBD snapshots are not «readable», because of LVM ?

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hi,

I'm trying to map a RBD snapshot, which contains an LVM PV.

I can do the «map» : 
    rbd map hdd3copies/jason@20130415-065314 --id alg

Then pvscan works :
    pvscan | grep rbd
      PV /dev/rbd58   VG vg-jason   lvm2 [19,94 GiB / 1,44 GiB free]

But enabling LV doesn't work :
        # vgchange -ay vg-jason
          device-mapper: reload ioctl failed: Argument invalide
          Internal error: Maps lock 13746176 < unlock 13889536
          device-mapper: reload ioctl failed: Argument invalide
          device-mapper: reload ioctl failed: Argument invalide
          device-mapper: reload ioctl failed: Argument invalide
          device-mapper: reload ioctl failed: Argument invalide
          device-mapper: reload ioctl failed: Argument invalide
          device-mapper: reload ioctl failed: Argument invalide
          7 logical volume(s) in volume group "vg-jason" now active

        # blockdev --getsize64 /dev/mapper/vg--jason-*
        0
        0
        0
        0
        0
        0
        0

Is it a problem from LVM, or I should not use snapshots like that ?


_______________________________________________
ceph-users mailing list
ceph-users@xxxxxxxxxxxxxx
http://lists.ceph.com/listinfo.cgi/ceph-users-ceph.com





[Index of Archives]     [Information on CEPH]     [Linux Filesystem Development]     [Ceph Development]     [Ceph Large]     [Ceph Dev]     [Linux USB Development]     [Video for Linux]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]     [xfs]


  Powered by Linux