On Wed, Mar 9, 2016 at 4:09 PM, Greg Freemyer <greg.freemyer@gmail.com> wrote:
The "_netdev" is important.
I'm testing now. How long should the _netdev mounts take to mount?
After reboot I immediately logged in: the NFS mount is in place but the _netdev mount of /srv/sftp is not.
It has been 20 minutes since reboot, so even the 15 minute point has passed? I'll keep watching.
I don't recall using _netdev before, so this could be my config error, but I think I've followed the advice I got. It's now been 3 hours since I rebooted with these lines in my fstab: --- 10.200.3.230:/mnt/pacers1/kvm672/kvm672 /srv_new nfs rw,relatime,vers=3 0 0 /srv_new/sftp-container-large /srv/sftp ext4 _netdev,loop 0 0 /srv_new/portal_backup_container /home/portal_backup/portal_backup ext4 _netdev,loop 0 0 --- The _netdev mounts were only attempted once and that was too soon. Another bug? The NFS mount happened during the boot process, but seconds BEFORE the 2 mounts with _netdev in the args. === You can see the NFS mount happened at 15:29:35 ===
systemctl status srv_new.mount srv_new.mount - /srv_new Loaded: loaded (/etc/fstab) Active: active (mounted) since Wed 2016-03-09 15:29:35 EST; 3h 28min ago Where: /srv_new What: 10.200.3.230:/mnt/pacers1/kvm672/kvm672 Process: 1053 ExecMount=/bin/mount -n -t nfs -o rw,relatime,vers=3 10.200.3.230:/mnt/pacers1/kvm672/kvm672 /srv_new (code=exited, status=0/SUCCESS) ===
Note that the _netdev mount attempts were 5 seconds before that: === Output from systemd status for srv-sftp.mount === # systemctl status srv-sftp.mount srv-sftp.mount - /srv/sftp Loaded: loaded (/etc/fstab) Active: failed (Result: exit-code) since Wed 2016-03-09 15:29:30 EST; 3h 25min ago Where: /srv/sftp What: /srv_new/sftp-container-large Process: 1028 ExecMount=/bin/mount -n -t ext4 -o _netdev,loop /srv_new/sftp-container-large /srv/sftp (code=exited, status=32) Mar 09 15:29:30 cloud1 mount[1028]: mount: /srv_new/sftp-container-large: failed to setup loop device: No such file or directory ===================== Here's what I think is the only relevant part of the journal log: === Mar 09 15:29:30 cloud1 kernel: loop: module loaded Mar 09 15:29:30 cloud1 mount[1028]: mount: /srv_new/sftp-container-large: failed to setup loop device: No such file or directory Mar 09 15:29:30 cloud1 mount[1027]: mount: /srv_new/portal_backup_container: failed to setup loop device: No such file or directory Mar 09 15:29:30 cloud1 systemd[1]: Failed to mount /home/portal_backup/portal_backup. Mar 09 15:29:30 cloud1 systemd[1]: Dependency failed for Remote File Systems. Mar 09 15:29:30 cloud1 systemd[1]: Failed to mount /srv/sftp. === This is openSUSE 13.2 with current patches. Thanks Greg -- Greg Freemyer www.IntelligentAvatar.net -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse+owner@opensuse.org