Re: rbd image association

2013-06-03 Thread Sage Weil
On Mon, 3 Jun 2013, Roman Alekseev wrote: > On 03.06.2013 18:49, Sage Weil wrote: > > On Mon, 3 Jun 2013, Roman Alekseev wrote: > > > On 03.06.2013 11:34, Wido den Hollander wrote: > > > > udev takes car > > > Do you mean we need to create some rules in /etc/udev/rules.d/ directory > > > and > > >

Re: rbd image association

2013-06-03 Thread Roman Alekseev
On 03.06.2013 18:49, Sage Weil wrote: On Mon, 3 Jun 2013, Roman Alekseev wrote: On 03.06.2013 11:34, Wido den Hollander wrote: udev takes car Do you mean we need to create some rules in /etc/udev/rules.d/ directory and after running rbd -p pool map image my image will be mapped with appropriat

Re: rbd image association

2013-06-03 Thread Sage Weil
On Mon, 3 Jun 2013, Roman Alekseev wrote: > On 03.06.2013 11:34, Wido den Hollander wrote: > > udev takes car > > Do you mean we need to create some rules in /etc/udev/rules.d/ directory and > after running rbd -p pool map image my image will be mapped with appropriate > device? The ceph package

Re: rbd image association

2013-06-03 Thread Roman Alekseev
On 03.06.2013 11:34, Wido den Hollander wrote: udev takes car Do you mean we need to create some rules in /etc/udev/rules.d/ directory and after running rbd -p pool map image my image will be mapped with appropriate device? If so, could you please provide me with the commands which should b

Re: rbd image association

2013-06-03 Thread Wolfgang Hennerbichler
On Mon, Jun 03, 2013 at 11:17:16AM +0400, Roman Alekseev wrote: > 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. No, you should not have to do anythin

Re: rbd image association

2013-06-03 Thread Wido den Hollander
On 06/03/2013 09:17 AM, Roman Alekseev wrote: 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

Re: rbd image association

2013-06-03 Thread Roman Alekseev
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

rbd image association

2013-06-02 Thread Roman Alekseev
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. Thanks -- Kind regards, R. Alekseev -- To unsub