NSS volumes on OES 2 Linux and their directories are NFSv3 exportable and accessible from remote systems. NFSv4 is not supported for NSS, but exports for other file systems using NFSv4 can coexist with NSS exports using NFSv3.
The following table describes options for specifying which servers on the network can import the NFS volume. For more information, see the exports(5) man page.
Table 19-1 Host Options for NFSv3 Export of NSS Volumes on Linux
Table 19-2 describes mount options available for mounting NSS volumes for export via NFSv3. For more information, see the exports(5) man page and the mount(8) man page.
Table 19-2 Mount Options for NFSv3 Export of NSS Volumes on Linux
Table 19-3 describes mount options available for mounting NSS volumes for import via NFSv3. For more information, see the mount(8) man page.
Table 19-3 Mount Options for NFSv3 Import of NSS Volumes on Linux
Mount Option |
Description |
---|---|
rw |
Mount the NSS file system with Read/Write (rw) access. |
sync |
Specify the Sync (sync) option, which requires all file system writes to be committed to disk before the request can be completed. |
noatime |
NSS also supports the optional use of the noatime for importing and mounting NSS volumes on Linux using NFS. The noatime option disables the updating of the access time for files so that reading a file does not update its inode access time (atime). For more information, see Section A.26, noatime and nodiratime Support for Linux open, mount, nfsmount, and /etc/fstab (Linux). |
When you use NFS to export or import NSS volumes on Linux, other supporting services are needed, including DNS, NIS, and NFS. For information about configuring and managing these services on Linux, see the following sections in the SUSE Linux Enterprise Server 10 SP3 Installation and Administration Guide
In a terminal console, log in as the root user.
In YaST, select
, then select to open the page.If NFS Server is not started and enabled, you must configure the NFS Server.
NFS Server: Select
.Firewall: Select
to allow access to the NFS service from remote computers, then click to specify the network interfaces where you want to open the port.Enable NFSv4: Make sure that
is not selected if you are exporting only via NFSv3.IMPORTANT:NFSv4 is not supported for NSS, but exports for other file systems using NFSv4 can coexist with NSS exports using NFSv3. If you enable NFSv4, make sure that you enter the NSS directories for export with options that use non-zero settings for their FSIDs, and do not bind the NSS directories to paths in the pseudo-root file system that you set up for NFSv4 exports.
Enable GSS Security: To enable Kerberos secure access to the server, click
. A prerequisite for this is to have Kerberos installed in your domain and both the server and the clients are kerberized.Click
to continue to the page.On the
page, do the following for each NSS volume on the server that you want to export via NFSv3.Under
, click , to open a dialog box where you can configure the settings for a volume.Specify the NSS volume that you want to export by typing the Linux path for the volume, or browse the Linux file system to locate and select the NSS volume, then click
.The default location of NSS volumes on Linux is /media/nss/volumename, such as /media/nss/VOL1.
In the Host Wildcard field, specify the servers where you want to be able to mount the NSS volume via NFSv3.
A default asterisk (*) wildcard indicates all servers. You can specify a single host, netgroups, wildcards, or IP networks. For information, see Host Options.
Enter the following required mount options:
rw,no_root_squash,sync,fsid=value
For NFSv3, make sure you do not include the fsid=0 or bind=/pseudo_rootdir/volumename options. Not using these options allows the export to be processed as an NSFv3 export.
For example:
rw,no_root_squash,sync,fsid=1
Separate the options with commands and no spaces. For information, see Mount Options for Export via NFSv3.
Click
to save your settings and return to the page.On the
page, click to apply the settings.On the OES 2 Linux server where you want to import the NSS volume via NFS, open YaST.
In YaST, select
, then select to open the page.Near the bottom of the page, select
to allow access to the NFS service from remote computers, then click to specify the network interfaces where you want to open the portDo the following for each NSS volume on remote servers that you want to import via NFS.
Click
to open a dialog box where you can specify the information for the volume you want to import.In servername.ou_context.o_context.com), or click , select the NFS server from a list of servers, then click .
, specify the remote server where the volume resides. Type the fully distinguished name (such asIn /media/nss/VOL1, or click to open the Exported Directories dialog box, then select the path from the list of NFS exported directories on the selected server, then click .
, specify the path on the remote server where the volume resides. Type the full path such asIn /mnt/nfs/volumename, or click to locate and select the location.
, specify the path on the server (the NFS Client location) where you want to mount the remote volume, such asThe
option allows you to create a new folder on the server for the target path.Enter the following required mount options:
rw,sync
You can optionally specify the noatime option. For information, see Table 19-3 and the mount(8) man page.
Click
to save your settings and return to the page.The entry you just made should appear in the list.
When you are done adding volumes to be imported, continue with the next step.
On the
page, click to apply the settings.