HP Serviceguard manual Fsname, Fsserver, Fsdirectory, Fstype

Models: Serviceguard

1 407
Download 407 pages 39.81 Kb
Page 251
Image 251

fs_name

For a local file system, this parameter, in conjunction with fs_directory, fs_type,

fs_mount_opt, fs_umount_opt, and fs_fsck_opt, specifies the file system that is to be mounted by the package. fs_name must specify the block devicefile for a logical volume.

For an NFS-imported file system, the additional parameters required are fs_server,

fs_directory, fs_type, and fs_mount_opt; see fs_server (page 251) for an example.

CAUTION: Before configuring an NFS-imported file system into a package, make sure you have read and understood the rules and guidelines under “Planning for NFS-mounted File Systems” (page 130), and configured the cluster parameter CONFIGURED_IO_TIMEOUT_EXTENSION, described under “Cluster Configuration Parameters ” (page 109).

Replaces LV, which is still supported in the package control script for legacy packages.

file systems are mounted in the order specified in this file, and unmounted in the reverse order.

NOTE: A volume group must be defined in this file, using vg (page 248), for each logical volume specified by an fs_name entry.

See “File system parameters” (page 249), and the comments in the FILESYSTEMS section of the configuration file, for more information and examples. See also “Logical Volume and File System Planning ” (page 125), and the mount (1m) and mount_nfs (1m) manpages.

fs_server

The name or IP address (IPv4 or IPv6) of the NFS server for an NFS-imported file system. In this case, you must also set fs_type to nfs, and set fs_mount_opt to "-o llock" (in addition to any other values you use for fs_mount_opt). fs_name specifies the directory to be imported from fs_server, and fs_directory specifies the local mount point.

For example:

fs_name

/var/opt/nfs/share1

fs_server

wagon

fs_directory

/nfs/mnt/share1

fs_type

nfs

fs_mount_opt

"-o llock"

#fs_umount_opt

 

#fs_fsck_opt

 

Note that fs_umount_opt is optional and fs_fsck_opt is not used for an NFS-imported file system. (Both are left commented out in this example.)

fs_directory

The root of the file system specified by fs_name. Replaces FS, which is still supported in the package control script for legacy packages; see “Configuring a Legacy Package” (page 302). See the mount (1m) manpage for more information.

fs_type

The type of the file system specified by fs_name. This parameter is in the package control script for legacy packages.

For an NFS-imported file system, this must be set to nfs. See the example under fs_server” (page 251).

See the mount (1m) and fstyp (1m) manpages for more information.

Choosing Package Modules 251

Page 251
Image 251
HP Serviceguard manual Fsname, Fsserver, Fsdirectory, Fstype