vThe directory entry is the name of the directory that you want to export. The pathname you specify will be listed in the DIR parameter on the CHGNFSEXP command. This entry speci®es the path name of the existing directory to be exported (made available to NFS clients) or unexported (made unavailable to NFS clients). This directory can not be a sub-directory or a parent of an already exported directory (unless it is in a different ®le system). This parameter is not allowed when the -A ¯ag is speci®ed on the OPTIONS parameter.

vThe HOSTOPT parameter has four elements that specify additional information about the NFS clients that a directory tree is being exported to. If you do not specify a HOSTOPT parameter for a host name you are exporting the directory tree to, the defaults for each of the elements of the HOSTOPT parameter are assumed for that host.

1.The name of the host for which you are specifying additional options. This host should be speci®ed above in theOPTIONS -Olist as a host that has access to the exported directory tree. Specify either a single host name that is an alias for an address of a single host or a netgroup name to be associated with these options. You can assign names to an internet address with the Work with TCP/IP host table entries option on the Con®gure TCP/IP menu (CFGTCP command). Also, a remote name server can be used to map remote system names to internet addresses.

2.The network data ®le code page is used for data of the ®les sent and received from the speci®ed HOST NAME (or netgroup name). For any hosts not speci®ed on the HOSTOPT parameter, the default network code page (binary, no conversion) is used.

If the entry being exported resolves to an object within the QSYS.LIB ®le system and the network data ®le code page is speci®ed, then data ®les are

opened by OS/400 Network File System Support. NFS will use the open() API with the O_TEXTDATA and O_CODEPAGE options.

Note: See the System API Reference, SC41-4801 book for more details on the open() API and the O_TEXTDATA and O_CODEPAGE options.

3.The network path name code page is used for the path name components of the ®les sent to and received from the speci®ed HOST NAME (or netgroup name). For any hosts not speci®ed on the HOSTOPT parameter, the default network path name code page (ASCII) is used.

4.The write mode speci®es whether write requests are handled synchronously

or asynchronously for this HOST NAME (or netgroup name). The default *SYNC value means that data may will be written to disk immediately. The *ASYNC value does not guarantee that data is written to disk immediately, and can be used to improve server performance.

Note: The Network File System protocol has traditionally used synchronous writes. Synchronous writes do not return control of the server to the client until after the data has been written by the server. Asynchronous writes are not guaranteed to be written.

Examples

Example 1: Exporting all entries from /etc/exports.

CHGNFSEXP OPTIONS(©-A©)

CHGNFSEXP ©-A©

Both of these commands export all entries that exist in the /etc/exports ®le.

Example 2: Exporting one directory with options.

32OS/400 Network File System Support V4R4

Page 50
Image 50
IBM AS/400E manual Example 1 Exporting all entries from /etc/exports, Example 2 Exporting one directory with options

AS/400E specifications

The IBM AS/400E, now more commonly known as IBM i, is a robust and versatile midrange server that has been designed to provide a comprehensive computing solution for businesses of all sizes. First introduced in the late 1980s, the AS/400 series has undergone multiple enhancements and rebranding, with the AS/400E being one of the notable iterations. This powerful platform is closely associated with IBM's commitment to reliability, scalability, and integrated business solutions.

One of the main features of the AS/400E is its highly integrated architecture that combines hardware and software into a cohesive system. This integration allows for seamless operations, reducing the complexity typically associated with managing disparate systems. The system is powered by IBM's proprietary OS/400 operating system, which has evolved into IBM i, featuring advanced capabilities like object-oriented programming, integrated database management, and security features that are essential for enterprise environments.

A key characteristic of the AS/400E is its robust database support, primarily through the use of DB2 for i. This integrated database management system enables efficient data handling and retrieval, facilitating real-time business analytics and reporting. Furthermore, the platform supports a variety of programming languages, including RPG, COBOL, and Java, making it flexible for developers who require diverse tools for application development.

The AS/400E is also known for its exceptional reliability and uptime, making it a preferred choice for critical business applications in industries such as finance, healthcare, and manufacturing. This reliability is backed by advanced error detection and correction mechanisms, as well as redundancy features that help prevent data loss and minimize downtime.

In terms of scalability, the AS/400E can effortlessly expand to accommodate growing business demands. Organizations can increase processing power by adding more resources without significant disruption. This scalability, combined with the system’s built-in virtualization capabilities, allows businesses to optimize resource usage and streamline operations.

Security is another defining feature of the AS/400E. The platform incorporates various layers of security measures, including user authentication, encryption, and comprehensive auditing capabilities, ensuring that sensitive business data is protected against unauthorized access.

Overall, the IBM AS/400E remains a powerful tool in the enterprise computing landscape, providing businesses with an integrated, reliable, and secure solution for their technological needs. Its enduring popularity is a testament to its capability to evolve with changing business requirements while maintaining its core attributes of high performance and stability.