Library Table of Contents Index Previous Page (Alt-p) Next Page (Alt-n) Comments

Setting the filer date and time

Setting the date and time with the date command  Top

To set the date and time using the date command, complete the following steps.

Step

Action

1

Access the filer 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.

Setting the date while running SnapMirror  Top

Using the date or rdate command to make the date on a filer go backward when SnapMirror is running can cause snapshots to appear out of sequence. When this occurs, SnapMirror assumes that the older snapshot was created before the newer one, causing SnapMirror to ask for a new, complete transfer before proceeding with any incremental transfers. You can avoid this problem in the following ways:

Library Table of Contents Index Previous Page (Alt-p) Next Page (Alt-n) Comments