Re: Glusterfs mount boot
>
>ho il seguente problema nel montare il filesystem glusterfs al boot del server.
>Se faccio il mount manuale tutto funziona, mentre al boot no.
>
>
>root@ciotola:~# systemctl status db.mount
>● db.mount - /db
> Loaded: loaded (/etc/fstab)
> Active: failed (Result: exit-code) since Tue 2016-10-11 14:25:35 CEST; 1min 34s ago
> Where: /db
> What: 127.0.0.1:/db_shared
> Docs: man:fstab(5)
> man:systemd-fstab-generator(8)
> Process: 380 ExecMount=/bin/mount -n 127.0.0.1:/db_shared /db -t glusterfs -o defaults,_netdev (code=exited, status=1/FAILURE)
>
>
>Oct 11 14:25:35 ciotola mount[380]: extra arguments at end (ignored)
>Oct 11 14:25:35 ciotola mount[380]: Mount failed. Please check the log file for more details.
>Oct 11 14:25:35 ciotola systemd[1]: db.mount mount process exited, code=exited status=1
>Oct 11 14:25:35 ciotola systemd[1]: Unit db.mount entered failed state.
>
>
>/etc/fstab:
>
>
>127.0.0.1:/db_shared /db glusterfs defaults,_netdev 0 0
>
Non ho esperienze con glusterfs, ma a prima vista mi da l'idea che al boot, quando
cerca di fare il mount gli manca qualcosa che non si è ancora avviato.
Prova a fare il mount al boot da rc.local anziché come servizio systemd
e vedi se te lo monta correttamente.
Walter
Reply to: