rbd export to stdout ?
A message that is not in the archive (sent off-list or not yet received): 44be67bb-921b-4115-a4ea-fb4980b17edd@mailpro
Hi,
I'm looking for use "rbd export " to stdout and not a file.
Is it possible ? any hint ?
Regards,
Alexandre Derumier
Quoted 6 lines · Alexandre DERUMIER
Hi,
I'm looking for use "rbd export " to stdout and not a file.
Is it possible ? any hint ?
No, not at this moment. I tried a fifo, but that won't work due to O_EXCL and O_CREATE the rbd command uses.
I think it should be possible to export to stdout, but it will require some code changes.
I created a feature request for it: http://tracker.newdream.net/issues/3380
Wido
Quoted 8 lines
Regards,
Alexandre Derumier
--
To unsubscribe from this list: send the line "unsubscribe ceph-devel" in the body of a message to [email protected]
More majordomo info at http://vger.kernel.org/majordomo-info.html
ok,
thanks Wido.
Regards,
Alexandre
----- Mail original -----
De: "Wido den Hollander" <[email protected]>
À: "Alexandre DERUMIER" <[email protected]>
Cc: [email protected]
Envoyé: Lundi 22 Octobre 2012 13:58:40
Objet: Re: rbd export to stdout ?
Quoted 6 lines · Alexandre DERUMIER
Hi,
I'm looking for use "rbd export " to stdout and not a file.
Is it possible ? any hint ?
No, not at this moment. I tried a fifo, but that won't work due to O_EXCL and O_CREATE the rbd command uses.
I think it should be possible to export to stdout, but it will require some code changes.
I created a feature request for it: http://tracker.newdream.net/issues/3380
Wido
Quoted 8 lines
Regards,
Alexandre Derumier
Signature · 3 lines
To unsubscribe from this list: send the line "unsubscribe ceph-devel" in the body of a message to [email protected] 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 [email protected]
More majordomo info at http://vger.kernel.org/majordomo-info.html
note:
import for stdin already work:
rbd import --size=xxx - image < stdin
from this patch
http://permalink.gmane.org/gmane.comp.file-systems.ceph.devel/6315
----- Mail original -----
De: "Alexandre DERUMIER" <[email protected]>
À: "Wido den Hollander" <[email protected]>
Cc: [email protected]
Envoyé: Lundi 22 Octobre 2012 14:25:33
Objet: Re: rbd export to stdout ?
ok,
thanks Wido.
Regards,
Alexandre
----- Mail original -----
De: "Wido den Hollander" <[email protected]>
À: "Alexandre DERUMIER" <[email protected]>
Cc: [email protected]
Envoyé: Lundi 22 Octobre 2012 13:58:40
Objet: Re: rbd export to stdout ?
Quoted 6 lines · Alexandre DERUMIER
Hi,
I'm looking for use "rbd export " to stdout and not a file.
Is it possible ? any hint ?
No, not at this moment. I tried a fifo, but that won't work due to O_EXCL and O_CREATE the rbd command uses.
I think it should be possible to export to stdout, but it will require some code changes.
I created a feature request for it: http://tracker.newdream.net/issues/3380
Wido
Quoted 8 lines
Regards,
Alexandre Derumier
Signature · 3 lines
To unsubscribe from this list: send the line "unsubscribe ceph-devel" in the body of a message to [email protected] More majordomo info at http://vger.kernel.org/majordomo-info.html
Signature · 7 lines
To unsubscribe from this list: send the line "unsubscribe ceph-devel" in the body of a message to [email protected] 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 [email protected] More majordomo info at http://vger.kernel.org/majordomo-info.html
Quoted 6 lines
Subject: Re: rbd export to stdout ?
Quoted 3 lines · Alexandre DERUMIER
Hi,
I'm looking for use "rbd export " to stdout and not a file.
I thought we should extend 'qemu-img', adding import/export there? That way it would work for all qemu storage drivers?
Quoted 2 lines
Quoted 2 lines
I thought we should extend 'qemu-img', adding import/export there? That way it would work for all qemu storage drivers?
seem to be already possible:
"qemu-img convert -f qcow2 -O rbd /data/debian_lenny_amd64_small.qcow2 rbd:data/lenny"
----- Mail original -----
De: "Dietmar Maurer" <[email protected]>
À: "Wido den Hollander" <[email protected]>, "Alexandre DERUMIER" <[email protected]>
Cc: [email protected]
Envoyé: Lundi 22 Octobre 2012 16:31:00
Objet: RE: rbd export to stdout ?
Quoted 6 lines
Subject: Re: rbd export to stdout ?
Quoted 3 lines · Alexandre DERUMIER
Hi,
I'm looking for use "rbd export " to stdout and not a file.
I thought we should extend 'qemu-img', adding import/export there? That way it would work for all qemu storage drivers?
--
To unsubscribe from this list: send the line "unsubscribe ceph-devel" in the body of a message to [email protected]
More majordomo info at http://vger.kernel.org/majordomo-info.html
Quoted 9 lines
Quoted 2 lines
Quoted 2 lines
I thought we should extend 'qemu-img', adding import/export there? That way it would work for all qemu storage drivers?
seem to be already possible:
"qemu-img convert -f qcow2 -O rbd /data/debian_lenny_amd64_small.qcow2 rbd:data/lenny"
Oh - I missed that. Thanks for the hint.