Hide Forgot
Description of problem: The netfs initscript does not mount _netdev devices, which do not contain one of nfs4,cifs,ncpfs,gfs. Long time ago, there has been a patch to restrict mount -a to: mount -a -t nonfs,nfs4,cifs,ncpfs,gfs This leads to a regression, both fstab lines will not be mounted: /dev/md_d5012 /home/STORAGE xfs _netdev 0 0 /dev/etherd/e0.3 /home/BACKUP ext3 _netdev 0 0 Version-Release number of selected component (if applicable): 9.20.1-1.fc14 How reproducible: Always, as above. Actual results: _netdev devices not mounted Expected results: _netdev devices mounted Additional info: Added the following line before the existing mount command: action $"Mounting network blockdevices: " mount -a -O _netdev -t nonfs,nonfs4,nocifs,noncpfs,nogfs
Forgot to mention: the added line is a patch to make it work.
That shouldn't be needed; something else must be wrong. If you run that mount command (without the -O ...), what does it try to do?
I haven't tested, but I assume a regression to bug #4868 (1999). ie.: until 1999, which included not-yet-mounted _netdev devices: mount -a from 1999, after Bugfix #4868, _netdev was forgotten: mount -a -t nonfs,smbfs,ncpfs has been expanded to, still no _netdev: mount -a -t nonfs,nfs4,cifs,ncpfs,gfs _netdev is needed if you want to mount a filesystem other than nfs4,cifs,ncpfs or gfs lately, eg. on AoE devices. If we do a simple mount -a here, someone needs to examine if the old bug #4868 still occurs.
_netdev *should not be needed*. I believe you misunderstand how -t works. What that statement is: mount all filesystems except nfs, nfs4, cifs, ncpfs, and gifs. The 'no' applies to all of the listed filesystems.
OK, I misunderstood that. That is, all other outstanding mounts get done, including _netdev. Thanks.