Table of ContentsView in Frames

Setting the system date and time

Keeping the system date and time correct is important to ensure that the storage system can service requests correctly.

About this task

While SnapMirror is running, if you use the date or rdate command to set the system to an earlier date, Snapshot copies can appear out of sequence. When this occurs, SnapMirror assumes that the Snapshot copy with the earlier date was created before the one with the later date, and asks for a new, complete transfer before proceeding with any incremental transfers. You can avoid this problem in the following ways:
  • Turn SnapMirror off until the storage system completes the changes.
  • Change the date prior to the next scheduled SnapMirror transfer.

Steps

  1. Access the storage system command line through the console or through a Telnet session.
  2. Enter the following command, substituting the current date and time for the number string:
    date [-u] [[[CC]yy]mmddhhmm[.ss]]

    -u sets the date and time to Greenwich Mean Time instead of the local time.

    CC is the first two digits of the current year.

    yy is the second two digits of the current year.

    mm is the current month. If the month is omitted, the default is the current month.

    dd is the current day. If the day is omitted, the default is the current day.

    hh is the current hour, using a 24-hour clock.

    mm is the current minute.

    ss is the current second. If the seconds are omitted, the default is 0.

    Example

    The following command sets the date and time to 22 May 2002 at 9:25 a.m.

    date 200205220925

    Note: If the first two digits of the year are omitted, they default to 20; if all four digits are omitted, they default to the current year. Time changes for daylight saving and standard time, and for leap seconds and years, are handled automatically.