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.4 sfcgetfattr(1) Reports extent attribute information of a file

[SYNOPSIS]

sfcgetfattr [ -iHDetv ] file

[DESCRIPTION]

sfcgetfattr displays the extended attribute information of file in a GFS Shared File System.

Reports the following information: However, when the specified files are files other than a GFS Shared File System, and when a file is usually except a regular file and a directory, file extended attribute information is not displayed.

Extent attribute information:

- block size of file system (kilo byte unit)
- Initial number of blocks
- Incremental number of blocks
- Allocation flag

Ignore update time attribute information:

- Ignore update last access time attribute
- Ignore update last modify time attribute

file data allocation attribute information:

- partition number
- Special file name (when -D options is specified)

For details of the initial number of blocks, incremental number of blocks, and Allocation flag, see sfcsetext(1).

When no option is given, sfcgetfattr displays all extended attribute information with column header. Which the same operation as the case where -iHDetv are specified.

[OPTIONS]

The following options can be specified:

-D

Report the disk partition, when -v option is specified.

-e

Reports the extent attribute information of file.

-H

Print column header.

-i

Suppress the message printed on the standard error when file has no the extended attribute information.

-t

Reports the ignore update time attribute information of file.

-v

Reports the file data allocation attribute information of file.

[OPERAND]

The following operand can be specified:

file

A path names of a regular file or a directory whose a information to be written.

[EXAMPLES]

% sfcgetfattr /mnt/extentfile
Blocksize(KB) init-blocks inc-blocks    flags
        8           1024        512     contig
% sfcgetfattr -iHe /mnt/extentfile
Blocksize(KB) init-blocks inc-blocks    flags
        8           1024        512     contig
% sfcgetfattr -ie /mnt/extentfile
        8           1024        512     contig
% sfcgetfattr -e /mnt/extentfile
        8           1024        512     contig
% sfcgetfattr -iHt /mnt/notimeupdatefile
atime        mtime
noatime         -
% sfcgetfattr -iHDv /mnt/allocationfile
vol    devname
  2    /dev/sfdsk/gfs/rdsk/volume03

[SEE ALSO]

sfccp(1), sfccpio(1), sfcgetext(1), sfcmv(1), sfcsetext(1), sfcsettime(1), sfcsetvolume(1).


Contents Index PreviousNext

All Rights Reserved, Copyright(C) FUJITSU LIMITED 2004