Checking and resynchronizing stale mirrors

Article:HOWTO60420  |  Created: 2011-10-20  |  Updated: 2012-02-03  |  Article URL http://www.symantec.com/docs/HOWTO60420
Article Type
How To


Environment

Subject


Checking and resynchronizing stale mirrors

You can check if there is a stale mirror on any of your file systems. If there is a stale mirror, the stale mirror needs to be resynchronized, and the resynchronization process needs to be verified.

To check if there are stale mirrors on your file systems

  • To check if your file systems contain a stale mirror, enter the following:

    Storage> fs checkmirror

    For example, to display the file systems that have a stale mirror, enter the following:

    Storage> fs checkmirror
    fs_name:
    --------
    mirror3

To resynchronize all stale mirrors or a stale mirror for a specified file system

  • To resynchronize all stale mirrors or a stale mirror for a specified file system, enter the following:

    Storage> fs resync [fs_name]

    where fs_name is the name of the specified file system where you want to resynchronize for stale mirrors.

    If you do not include fs_name, you resynchronize all the stale mirrors for all your file systems.

    For example, to resynchronize all stale mirrors for all file systems, enter the following:

    Storage> fs resync
    Resync stale mirror for file systems are started in background.

    For example, to resynchronize all stale mirrors for a specified file system, enter the following:

    Storage> fs resync mirror3
    Resync stale mirror for file system mirror3 is started in 
    background.

To verify the resynchronization process for your stale mirrors

  • To verify the resynchronization process for your stale mirrors, enter the following:

    Storage> fs checkresync

    For example, to display the resynchronization progress running in the background, enter the following:

    Storage> fs checkresync
    FS            MIRROR            TYPE      PROGRESS START_TIME            WORK_TIME   
    ==================================================================================
    alltask_roll  tier 1            ROLLBACK  0.16%    Jun/20/2011/19:12:45  0:0:3                
    alltask_roll  tier 2            ROLLBACK  0.29%    Jun/20/2011/19:12:45  0:0:3               
    alltask       tier 1,mirror 02  RESYNC    1.56%    Jun/20/2011/21:20:02  0:4:18            
    alltask       tier 2,mirror 02  RESYNC    0.21%    Jun/20/2011/21:33:20  0:0:4              
    fsrelayout    tier 1            RELAYOUT  0.04%    Jun/20/2011/21:48:02  0:26:15         
    fsrelayout    tier 2            RELAYOUT  9.44%    Jun/20/2011/21:48:28  0:25:49    
    
    REMAINING_TIME
    ==============
    30:29
    17:01
    4:30:54
    32:03
    1119:33:44
    4:07:40

    Note:

    If a column addition to a file system is in progress, the output of the Storage> fs checkresync command will include RELAYOUT status.


Legacy ID



v57261775_v64777215


Article URL http://www.symantec.com/docs/HOWTO60420


Terms of use for this information are found in Legal Notices