systemd network-online.target question

Kaleb S. KEITHLEY kkeithle at redhat.com
Wed Jul 17 11:56:11 UTC 2013


On 07/17/2013 07:47 AM, Kaleb S. KEITHLEY wrote:
>
> But a user who tried that says the "local" nfs mount(s) in his
> /etc/fstab still failed. I tried it as well with an f19 guest vm and got
> the same results, namely that the nfs mount(s) failed to mount at boot.

Answering my own question. I did some experimenting and found that if I 
use defaults or defaults,_netdev for the "local" nfs mount then it does 
work. (Or has all three times I've tried it. Not a statistically valid 
sample size.)

I'm waiting to see what the user says.



>
> =============== /usr/lib/systemd/system/glusterd.service =======
> [Unit]
> Description=GlusterFS an clustered file-system server
> Wants=glusterfsd.service
> After=network.target rpcbind.service
> Before=network-online.target
>
> [Service]
> Type=forking
> PIDFile=/run/glusterd.pid
> LimitNOFILE=65536
> ExecStart=/usr/sbin/glusterd -p /run/glusterd.pid
>
> [Install]
> WantedBy=multi-user.target
> =============== /usr/lib/systemd/system/glusterd.service =======
>
>
> ======================== /etc/fstab =======================
> #
> # /etc/fstab
> # Created by anaconda on Mon Jul  8 12:45:13 2013
> #
> # Accessible filesystems, by reference, are maintained under '/dev/disk'
> # See man pages fstab(5), findfs(8), mount(8) and/or blkid(8) for more info
> #
> /dev/mapper/fedora-root /                       ext4    defaults        1 1
> UUID=16a22380-99d1-4c17-81d2-6e1f9b03343d /boot                   ext4
> defaults        1 2
> /dev/mapper/fedora-swap swap                    swap    defaults        0 0
>
> localhost:volX /mnt                nfs    _netdev    0 0
> ======================== /etc/fstab =======================


-- 

Kaleb


More information about the devel mailing list