Re: Mapping rbd's on boot

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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,_netdev 0 0

Laurent


Le 15/11/2013 06:48, Peter Matulis a écrit :
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 machine from shutting down (libceph connection refused errors…)

Tried with Emperor on Ubuntu 13.10.

Firstly, for Ubuntu people, there is no upstart script.  Only a sysvinit
script at /etc/init.d/rbdmap that requires enabling:

$ sudo update-rc.d rbdmap defaults

But, yeah, like the other caller, my system hangs on shutdown.

On startup, if I try to auto-mount via /etc/fstab, there is another
hang, but one that I can bypass (press 'S' to skip).

In the end, the device does get mounted however:

/dev/rbd1p1                 xfs       3.0G   33M  3.0G   2% /rbd1

Both shutdown and startup problems are probably a matter of getting the
system's init scripts in the proper order.

~pmatulis
_______________________________________________
ceph-users mailing list
ceph-users@xxxxxxxxxxxxxx
http://lists.ceph.com/listinfo.cgi/ceph-users-ceph.com

_______________________________________________
ceph-users mailing list
ceph-users@xxxxxxxxxxxxxx
http://lists.ceph.com/listinfo.cgi/ceph-users-ceph.com





[Index of Archives]     [Information on CEPH]     [Linux Filesystem Development]     [Ceph Development]     [Ceph Large]     [Ceph Dev]     [Linux USB Development]     [Video for Linux]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]     [xfs]


  Powered by Linux