IBM Books

IBM General Parallel File System for AIX: Administration and Programming Reference

mmlsattr Command

Name

mmlsattr - Queries file attributes.

Synopsis

mmlsattr FileName[ FileName...]

Description

Use the mmlsattr command to display replication attributes of a file.

Results

For the specified file, the mmlsattr command lists:

Parameters

FileName
The name of the file to be queried. You must enter at least one file name. Wildcard characters are supported for file names, for example, project*.sched.

Options

NONE

Exit status

0
Successful completion.

1
A failure has occurred.

Security

You must have read access to run the mmlsattr command.

You may only issue the mmlsattr command from a node in the GPFS nodeset where the file system is mounted.

In an SP environment, verify the authentication method set for SP security services:

  1. If your authentication method is set to compatibility, Kerberos authentication is required. Issue the k4init command.
  2. If your authentication method is set to DCE, dce_login authentication is required.
  3. If your authentication method is set to NONE/std, there must be an entry in the /etc/sysctl.mmcmd.acl file on every node in the nodeset for the root user at every other node in the nodeset.

For further information, see the latest IBM Parallel System Support Programs for AIX: Administration Guide, IBM Parallel System Support Programs for AIX: Command and Technical Reference, and RS/6000: Planning Volume 2, Control Workstation and Software Environment manuals at www.rs6000.ibm.com/resource/aix_resource/sp_books/pssp. Search for information on sysctl.

Examples

  1. To list the attributes of a file named project4.sched, enter:
    mmlsattr fs0/project4.sched
    
    The system displays information similar to:
    replication factors
    metadata(max) data(max)  file
    ------------- ---------  ----
          1 (  2)   1 (  2)  fs0/project4.sched
    
  2. To show the attributes for all files in the root directory of file system fs0, enter:
    mmlsattr fs0/*
    
    The system displays information similar to:
    replication factors
    metadata(max) data(max)   file
    ------------- ---------   ----
          1 (  2)   1 (  2)   fs0/project4.sched
          1 (  2)   1 (  2)   fs0/project4.hist
          1 (  2)   1 (  2)   fs0/project5.plan
    

See also

mmchattr Command

Location

/usr/lpp/mmfs/bin


[ Top of Page | Previous Page | Next Page | Table of Contents | Index ]