Re: systemd/rbdmap.service

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

 



Maybe _netdev?

/dev/rbd/rbd/influxdb   /var/lib/influxdb       xfs     _netdev 0 0

To be honest I can remember having something similar long time ago, but 
just tested it on centos7, and have no problems with this.





-----Original Message-----
From: Clausen, Jörn [mailto:jclausen@xxxxxxxxx] 
Sent: 13 February 2019 10:20
To: ceph-users@xxxxxxxxxxxxxx
Subject:  systemd/rbdmap.service

Hi!

I am new to Ceph, Linux, systemd and all that stuff. I have set up a 
test/toy Ceph installation using ceph-ansible, and now try to understand 
RBD.

My RBD client has a correct /etc/ceph/rbdmap, i.e. /dev/rbd0 is created 
during system boot automatically. But adding an entry to /etc/fstab 
hangs the boot process.

I find this in systemd/rbdmap.service strange:

After=network-online.target
Before=remote-fs-pre.target
Wants=network-online.target remote-fs-pre.target

As I said, I am new to systemd, but "remote-fs-pre.target" both in 
"Before" and "Wants" seems counter-intuitive to me.

After changing this to

After=network-online.target
Before=local-fs.target

the boot process succeeds and the RBD is mounted via fstab as intended.

Am I missing something here?

Joern

--
Jörn Clausen
Daten- und Rechenzentrum
GEOMAR Helmholtz-Zentrum für Ozeanforschung Kiel Düsternbrookerweg 20
24105 Kiel


_______________________________________________
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