DPM_MODIFYFS(3)

NAME

dpm_modifyfs - modify the parameters of a disk pool filesystem

SYNOPSIS

#include <sys/types.h>
#include "dpm_api.h"

int dpm_modifyfs (char *server, char *fs, int status)

DESCRIPTION

dpm_modifyfs modifies the parameters of a disk pool filesystem.

server specifies the host name of the disk server where this filesystem
is mounted.
fs specifies the mount point of the dedicated filesystem.
status Initial status of this filesystem. It can be set to 0 or FS_DIS
ABLED or FS_RDONLY.
This function requires ADMIN privilege.

RETURN VALUE

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

ERRORS

ENOENT Filesystem does not exist.

EACCES The caller does not have ADMIN privilege.

EFAULT server or fs is a NULL pointer.

EINVAL The length of server exceeds CA_MAXHOSTNAMELEN or the
length of fs exceeds 79.
SENOSHOST Host unknown.
SEINTERNAL Database error.
SECOMERR Communication error.
Copyright © 2010-2025 Platon Technologies, s.r.o.           Home | Man pages | tLDP | Documents | Utilities | About
Design by styleshout