[OpenIndiana-discuss] NFS fails to automount at boot

Udo Grabowski (IMK) udo.grabowski at kit.edu
Mon Aug 6 13:24:27 UTC 2012


On 06/08/2012 15:18, Michael Schuster wrote:
> 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.

If svc:nfs/client is active, it does a 'mountall -F nfs' after
milestone/network has been fired up, so that always works.
-- 
Dr.Udo Grabowski    Inst.f.Meteorology a.Climate Research IMK-ASF-SAT
www-imk.fzk.de/asf/sat/grabowski/ www.imk-asf.kit.edu/english/sat.php
KIT - Karlsruhe Institute of Technology            http://www.kit.edu
Postfach 3640,76021 Karlsruhe,Germany  T:(+49)721 608-26026 F:-926026



More information about the OpenIndiana-discuss mailing list