Bug 1023737
Summary: | fstab method of CIFS/NFS mounts will not mount on startup | ||||||
---|---|---|---|---|---|---|---|
Product: | [Fedora] Fedora | Reporter: | Andrew G. Dunn <andrew> | ||||
Component: | systemd | Assignee: | systemd-maint | ||||
Status: | CLOSED ERRATA | QA Contact: | Fedora Extras Quality Assurance <extras-qa> | ||||
Severity: | high | Docs Contact: | |||||
Priority: | unspecified | ||||||
Version: | 20 | CC: | andrew, bill-bugzilla.redhat.com, johannbg, kim-rh, lnykryn, meackloff, msekleta, plautrba, systemd-maint, vpavlin, zbyszek | ||||
Target Milestone: | --- | ||||||
Target Release: | --- | ||||||
Hardware: | x86_64 | ||||||
OS: | Linux | ||||||
Whiteboard: | |||||||
Fixed In Version: | Doc Type: | Bug Fix | |||||
Doc Text: | Story Points: | --- | |||||
Clone Of: | Environment: | ||||||
Last Closed: | 2015-05-25 12:26:53 UTC | Type: | Bug | ||||
Regression: | --- | Mount Type: | --- | ||||
Documentation: | --- | CRM: | |||||
Verified Versions: | Category: | --- | |||||
oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |||||
Cloudforms Team: | --- | Target Upstream Version: | |||||
Embargoed: | |||||||
Attachments: |
|
Description
Andrew G. Dunn
2013-10-27 14:22:50 UTC
Created attachment 816520 [details]
systemctl --boot
Hi, I installed F20 (replacing F19) two days ago and I am experiencing exactly the same poblem. My fstab specified mounts are not mounting at boot but can be mounted manually as above. Exactly the same mounts worked OK in F19. The reason is the the network is not available when the mounts are tried. I get this in boot.log, [[1;31mFAILED[0m] Failed to mount /home/home/NAS. See 'systemctl status home-home-NAS.mount' for details. [[1;33mDEPEND[0m] Dependency failed for Remote File Systems. executing the advice to see the status, I get, Mar 27 08:29:06 localhost.localdomain mount[1000]: mount error(101): Network is unreachable I have installed the latest fixes, including the latest Networkmanager fix. Is there a solution for this? *** Bug 1027114 has been marked as a duplicate of this bug. *** Can you please enable persistent journal "mkdir /var/log/journal", boot with "debug" on kernel cmdline and then post here logs from journal? Lukáš: I've found a work around that worked for me, I should have updated this ticket long ago. Using the comment parameter in fstab I can pass "systemd.automount" which behaves as I would want it to. Essentially, on a device that moves around on different networks, I want the mount to process when the user requests it through the Desktop environment. This method makes it so that the mounts don't process on boot, but process when I click on the folder within nautilus. Example fstab: //<host>/<share> /mnt/<host>/<user>/<share> cifs _netdev,noauto,comment=systemd.automount,credentials=/etc/samba.<user>,uid=<user>,gid=<user>,forceuid,forcegid 0 0 This problem could be on the server side. I upgraded from Fedora 18 to 20 on my client. Did not have any problem. I then upgraded from Fedora 14 to 20 on my server. Had no problem on the server side with /home. I then setup the /etc/exports file on the server and ran exportfs to export /home. On the client I commented out the line for /home and added a line for /home as an nfs share. Rebooted client only to find that I had a /home mount point but nothing in it. Also no entry in /etc/mtab for /home. I have since accidentally discovered that running "mount -a" on the server after boot time connected me with my home directory on the server. But I have to do this every time I boot. So the line for /home in the client fstab in probably ok and there is probably no firewall problem. Both hosts "up2date" as of yesterday. Sorry I took so long to close this. I should have closed it out back on 2014-08-18. |