On 03.06.2013 11:08, Wolfgang Hennerbichler wrote:
On Mon, Jun 03, 2013 at 10:52:14AM +0400, Roman Alekseev wrote:
Hi,
Is it possible to associate certain rbd device with the appropriate
rbd image (for example : image1 > /dev/rbd0)?
We always need to map image1 to /dev/rbd0, image2 to /dev/rbd1 etc.
Because I'm using /dev/rbd* in some configuration files.
Hi,
I can't remember exactly, but I think there is something like /dev/rbd/<pool>/<imagename> which simply symlinks to /dev/rbdX. This should solve your issue.
Thanks
HTH
Wolfgang
Dear Wolfgang,
I was trying to use the command ln -s /dev/rbd1 image1 but it creates
wrong symlink. Most likely there is more specific command to symlink the
image and device correctly.
Thanks.
--
Kind regards,
R. Alekseev
--
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