Add

Managing the NFS server on Solaris


This are the files you have to use for managing an NFS server on Solaris:

/etc/dfs/fstypes
/etc/rmtab
/etc/nfs/nfslog.conf
/etc/default/nfslogd
/etc/default/nfs

The /etc/dfs/dfstab file: (share local directories)

share -F nfs -o rw,root=host2 -d "Share name" /path/to/share

/etc/dfs/sharetab (what I have shared)

NFS server daemon:
svcadm -v enable nfs/server
svcadm enable svc:/network/nfs/server

NFS client:
/etc/vfstab
host2:/usr/local/data - /usr/remote_data nfs - yes soft,bg

Automount:

/etc/auto_master:
/home auto_home -nobrowse
mount_point map_name mount_options

Direct map:
/etc/auto_master
/- auto_direct -ro

/etc/auto_direct
/apps/path -ro,soft server1:/export/some/path

Indirect map:
/etc/auto_master
/home auto_home -nobrowse

/etc/auto_home
+auto_home
joe host2:/export/home/joe

svcadm enable svc:/system/filesystem/autofs

1 Star2 Stars3 Stars4 Stars5 Stars (1 votes, average: 5.00 out of 5)
Loading ... Loading ...

No comments yet.

Respond

get in on the action.

* Required

Rumanian flagItalian flagEnglish flagGerman flagFrench flagSpanish flagRussian flagGreek flagDutch flagBulgarian flagCzech flagCroat flagDanish flagFinnish flagSwedish flagNorwegian flagSerbian flagSlovenian flagUkrainian flagTurkish flagHungarian flag
By N2H

Random Posts Recent Comments

  • SEWilco Says:

    Would be nice to know where the check_command definitions for all the plugins reside. Ubuntu's comm...

  • gregory wayne cox Says:

    my computer is hacked by someone bigtime, I need help capturing the information from all possible p...

  • admin Says:

    @lordspartner Hi, You can try to install the missing dependencies. sudo apt-get inst...

  • lordspartner Says:

    how do i fix the following error. im new to linux. dpkg: dependency problems prevent configuratio...

  • Raul Molnar Says:

    Nice, thanks....

  • admin Says:

    Poti incerca sa instalezi din surse. Daca accesezi link-ul asta in browser, te va intreba daca vrei ...

  • codrin Says:

    mai ai alte solutii?...

  • codrin Says:

    ioana@ioana-desktop:~$ sudo apt-get install libglib1.2-dev [sudo] password for ioana: Citire list...

  • admin Says:

    Aici poti gasi pachetul libglib1.2-dev: https://launchpad.net/ubuntu/karmic/+package/...

  • codrin Says:

    incerc sa instalez pe ubuntu 9.10 am urmat pasii descrisi de tine luand comenzile cu copy &paste...

Tag Cloud