PRIMECLUSTER Global File Services Configuration and Administration Guide 4.2 (Solaris(TM) Operating Environment)
Contents Index PreviousNext

Appendix F Reference Manual> F.3 General Commands Specific to the GFS Shared File System

F.3.8 sfcsetvolume(1) Sets or deletes file data allocation attribute information

[SYNOPSIS]

sfcsetvolume -D file

sfcsetvolume -v raw [ -c ] [ -f mandatory ] file

[DESCRIPTION]

sfcsetvolume set the file data allocation attribute information to file in the GFS Shared File System.

The file data allocation attribute information cannot set, when file except a regular file, a directory, and a file in the GFS Shared File System are specified.

After the file data allocation attribute information is set to a directory, files and subdirectories created in the directory inherit the file data allocation attribute information of the directory.

[OPTIONS]

The following options can be specified:

-D

Delete the file data allocation attribute information from file.

-c

Set file data allocation attribute only. New file is specified without -c option, it will be created with the parent directory's policy attributes and file data allocation attribute. When a directory specified with -c, other policy attributes that was set to it are cleared, and only file data allocation attribute is set. When a directory specified without -c, it will have existing policy attribute and file data allocation attribute.

-f mandatory

Set the file data allocation policy to mandatory. Data blocks are allocated only from file data partition specified in the -v option. Return the error when a data block cannot be allocated for a file from specified file data partition.
The default is advisory when -f option not specified. When a data block cannot be allocated from specified file data partition, a data block will be allocated from a file data partition that have space.

-v raw

Specify the character-special device of the file data partition that is allocated data block for file.

[OPERANDS]

The following operand can be specified:

file

A path name of a regular file or a directory that the file data allocation attribute information to be set.

[EXAMPLES]

% sfcsetvolume -v /dev/sfdsk/c1/rdsk/v1 /mnt/file1

[SEE ALSO]

sfccp(1), sfccpio(1), sfcmv(1), sfcgetfattr(1), sfcsetext(1).


Contents Index PreviousNext

All Rights Reserved, Copyright(C) FUJITSU LIMITED 2004