First NFS entry in fstab not mounting at boot

BadMagic badmagic at foo-unix.org
Sun May 16 14:42:05 UTC 2010


On 05/17/2010 12:37 AM, Sam Sharpe wrote:
> On 16 May 2010 13:05, BadMagic<badmagic at foo-unix.org>  wrote:
>
>    
>> In my /etc/fstab, I've got 3 NFS entries:
>>
>> fs1:/data/unix     /unix        nfs     defaults    0 0
>> fs1:/data/windows  /windows     nfs     defaults    0 0
>> fs2:/storage1      /backup      nfs     defaults    0 0
>>
>> In this order,  'fs1:/data/unix' won't mount but the last 2 entries will.
>>
>> If I change the order to:
>>
>> fs2:/storage1      /backup      nfs     defaults    0 0
>> fs1:/data/unix     /unix        nfs     defaults    0 0
>> fs1:/data/windows  /windows     nfs     defaults    0 0
>>
>> and reboot, 'fs2:/storage1' won't  mount but the last 2 will.
>>
>> Basically, whichever entry goes first, doesn't get mounted.
>>      
> Have you tried investigating the line *above* your first NFS entry?
>
> I can imagine if you are editing it in a fixed-width terminal,
> possibly there is no line ending after the line above the first NFS
> mount - it just looks that way with line wrapping. If that's the case,
> what you might actually have is something like:
>
> tmpfs /tmp tmpfs defaults 0 0 fs1:/data/unix /unix nfs defaults 0 0
>
> Which would also explain the behaviour you are reporting.
>
> --
> Sam
>    
Good thought. The line above is:
proc                    /proc                   proc    defaults        0 0

It's not wrapping though. My gnome-terminal spreads right across my 
screen (1920x1200)


More information about the users mailing list