IBM Books

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

Moving a file system to a new nodeset

The nodeset to which a file system belongs can be changed with the -C option on the mmchfs command. However, before issuing the mmchfs command, you must go through these steps. Assume you are moving file system fs1 to nodeset set2:

  1. Unmount the file system on all nodes (see Unmounting a file system).
  2. In an HACMP environment, ensure that the disks are properly connected to the new nodes.

    In an SP environment, ensure all virtual shared disks on each node in the nodeset are active.

    To display the nodes that belong to the new nodeset, issue the mmlsnode command:

    mmlsnode -C set2
    

    The system will display information similar to:

    Nodeset         Node list
    -------------   -----------------------------------
    set2            k145n11,k145n12 
    
  3. Move the file system to the new nodeset by issuing the mmchfs command, enter:
    mmchfs /dev/fs1 -C set2
    

    To confirm the change, enter:

    mmlsfs fs1
    

    The system displays information similar to:

    flag value          description
    ---- -------------- -----------------------------------------------------
     -f  8192           Minimum fragment size in bytes
     -i  512            Inode size in bytes
     -I  16384          Indirect block size in bytes
     -m  1              Default number of metadata replicas
     -M  1              Maximum number of metadata replicas
     -r  1              Default number of data replicas
     -R  1              Maximum number of data replicas
     -a  1048576        Estimated average file size
     -n  64             Estimated number of nodes that will mount file system
     -B  262144         Block size
     -Q  none           Quotas enforced
     -F  1529094        Maximum number of inodes
     -d  gpfs2vsd;gpfs3vsd Disks in file system
     -C  set2           GPFS nodeset identifier
     
    
  4. Mount the file system on all of the nodes in the new nodeset (see Mounting a file system).


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