Re: [ceph-users] Mapping rbd's on boot

2013-11-20 Thread Peter Matulis
On 11/20/2013 05:33 AM, Laurent Barbe wrote: > Hello, > > Yes, with ubuntu, the init script needs to be enabled with update-rc.d. > If you still have this problem, could you try to add "_netdev" option in > your fstab ? > > e.g. : > UUID=2f6aca33-c957-452c-8534-7234dd1612c9 /mnt/testrbd xfs > de

Re: [ceph-users] Mapping rbd's on boot

2013-11-20 Thread Laurent Barbe
Hello, Yes, with ubuntu, the init script needs to be enabled with update-rc.d. If you still have this problem, could you try to add "_netdev" option in your fstab ? e.g. : UUID=2f6aca33-c957-452c-8534-7234dd1612c9 /mnt/testrbd xfs defaults,_netdev0 0 Laurent Le 15/11/2013 0

Re: [ceph-users] Mapping rbd's on boot

2013-11-14 Thread Peter Matulis
On 11/14/2013 05:08 AM, Dan Van Der Ster wrote: > Hi, > We’re trying the same, on SLC. We tried rbdmap but it seems to have some > ubuntu-isms which cause errors. > We also tried with rc.local, and you can map and mount easily, but at > shutdown we’re seeing the still-mapped images blocking a mac

Re: [ceph-users] Mapping rbd's on boot

2013-11-14 Thread Dan Van Der Ster
Hi, We’re trying the same, on SLC. We tried rbdmap but it seems to have some ubuntu-isms which cause errors. We also tried with rc.local, and you can map and mount easily, but at shutdown we’re seeing the still-mapped images blocking a machine from shutting down (libceph connection refused error

Re: [ceph-users] Mapping rbd's on boot

2013-11-13 Thread Dan Mick
There is /etc/init.d/rbdmap; although I see no documentation for it, there is a sample map file added to /etc/ceph as well. Looks like it was added in Dumpling. On 11/13/2013 01:31 PM, Dane Elwell wrote: Hi, Is there a preferable or supported way of having rbd’s mapped on boot? We have a serv

[ceph-users] Mapping rbd's on boot

2013-11-13 Thread Dane Elwell
Hi, Is there a preferable or supported way of having rbd’s mapped on boot? We have a server that will need to map several rbd’s and then mount them, and I was wondering if there’s anything out there more elegant than dumping stuff in /etc/rc.local? I’ve seen this issue and related commit on th