import for stdin already work like this: rbd import --size=xxx - image < stdin from this patch http://permalink.gmane.org/gmane.comp.file-systems.ceph.devel/6315 (so I think you just need to specify --size) ----- Mail original ----- De: "Stefan Priebe - Profihost AG" <s.priebe@xxxxxxxxxxxx> À: ceph-devel@xxxxxxxxxxxxxxx Envoyé: Vendredi 23 Novembre 2012 11:15:11 Objet: rbd import from stdin Hello, i was looking at the wip-rbd-export-stdout branch which also allows to import from stdin. But it doesn't seem to work: gzip -d -c vm-101-disk-1.img.gz | rbd import - kvmpool1/vm-101-disk-1 rbd: unable to get size of file/block device: (25) Inappropriate ioctl for device rbd: import failed: (25) Inappropriate ioctl for device Greets, Stefan -- To unsubscribe from this list: send the line "unsubscribe ceph-devel" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html -- To unsubscribe from this list: send the line "unsubscribe ceph-devel" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html