1DPM_MODIFYFS(3)              DPM Library Functions             DPM_MODIFYFS(3)
2
3
4

NAME

6       dpm_modifyfs - modify the parameters of a disk pool filesystem
7

SYNOPSIS

9       #include <sys/types.h>
10       #include "dpm_api.h"
11
12       int dpm_modifyfs (char *server, char *fs, int status)
13

DESCRIPTION

15       dpm_modifyfs modifies the parameters of a disk pool filesystem.
16
17       server specifies the host name of the disk server where this filesystem
18              is mounted.
19
20       fs     specifies the mount point of the dedicated filesystem.
21
22       status Initial status of this filesystem. It can be set to 0 or FS_DIS‐
23              ABLED or FS_RDONLY.
24
25       This function requires ADMIN privilege.
26

RETURN VALUE

28       This  routine  returns  0  if the operation was successful or -1 if the
29       operation failed. In the latter case, serrno is set appropriately.
30

ERRORS

32       ENOENT       Filesystem does not exist.
33
34       EACCES       The caller does not have ADMIN privilege.
35
36       EFAULT       server or fs is a NULL pointer.
37
38       EINVAL       The length of  server  exceeds  CA_MAXHOSTNAMELEN  or  the
39                    length of fs exceeds 79.
40
41       SENOSHOST    Host unknown.
42
43       SEINTERNAL   Database error.
44
45       SECOMERR     Communication error.
46
47
48
49LCG                      $Date: 2006/09/11 05:40:30 $          DPM_MODIFYFS(3)
Impressum