[OpenIndiana-discuss] NFS fails to automount at boot

Michael Schuster michaelsprivate at gmail.com
Mon Aug 6 13:18:18 UTC 2012


On Mon, Aug 6, 2012 at 3:04 PM, Sašo Kiselkov <skiselkov.ml at gmail.com> wrote:
> On 08/06/2012 02:15 PM, James Carlson wrote:
>> Sašo Kiselkov wrote:
>>> I've run into a bizzare issue. An NFS export I have in /etc/vfstab fails
>>> to automount on an OI client at boot, even though the filesystem is
>>> clearly marked as "mount at boot":
>>>
>>> #device         device          mount           FS      fsck    mount
>>> mount
>>> #to mount       to fsck         point           type    pass    at boot
>>> options
>>> 192.168.133.1:/etc/streamers    -       /etc/streamers  nfs     -
>>> yes     nodevices,nosetuid,ro
>>>
>>> When I issue /sbin/mountall or mount -a, it mounts just fine. Needless
>>> to say, its failure to mount at boot results in failure of dependent
>>> services to start, which is quite bummer if I have to do it manually
>>> each time. Nothing is logged to /var/adm/messages, so I have no idea why
>>> it ignores my NFS mounts at boot. It simply does. Anybody got an idea on
>>> how to track this down?
>>
>> It's never been possible to mount NFS at boot.
>
> Well, apparent it has, since it's working after I enabled some NFS
> client services.

I'd say you're lucky - I wouldn't rely on this working every time.
Have you investigated using the automounter?

regards
Michael
-- 
Michael Schuster
http://recursiveramblings.wordpress.com/



More information about the OpenIndiana-discuss mailing list