UNIX to Linux Porting: A Comprehensive Reference

G.5. NFS Management and Configuration

Table G-5 shows differences in Linux and Solaris NFS management and configuration tasks.

Table G-5. [*] NFS Management and Configuration Tasks

Task/Configuration File

Solaris

Linux

Manually start the NFS server

/etc/init.d/nfs.server start

RHEL: /etc/init.d/nfs start SLES: /etc/init.d/nfsserver start

Mount a resource on an NFS client

mount -F nfs server://resource/mount/point

mount server://resource

/mount/point

NFS server general config file

/etc/default/nfs

/etc/sysconfig/nfs

NFS logging options config file

/etc/default/nfslogd

/etc/sysconfig/nfs

Share all exported filesystems

shareall

exportfs -a

Share a new filesystem

share

exportfs -o

Config file of shared filesystems

/etc/dfs/dfstab

/etc/exports

[*] Table A-7 of IBM Redbook

Категории