1-61
Cisco IOS XR Troubleshooting Guide for the Cisco CRS-1 Router
OL-21483-02
Chapter 1 General Troubleshooting
Error File Locations and Data Collection Scripts
• ASIC error Collection Scripts, page 1-66
Error File Locations
Error files are located in the following folders:
• harddisk:, page 1-61
• Default disk location, page 1-62
Use the dir command to display a list of files on a file system or in a specific directory. The following
examples show how to display the contents of the harddisk: directory, and the files in the var and
shutdown directories.
RP/0/RP0/CPU0:router# dir harddisk:
Directory of harddisk:
5 drwx 4096 Tue Oct 4 09:55:32 2005 LOST.DIR
6 drwx 4096 Tue Oct 4 09:55:34 2005 usr
7 drwx 4096 Tue Oct 4 09:55:18 2005 var
131328 -rwx 31744 Fri Apr 28 17:38:34 2006 instdb_backup.tar
15 drwx 4096 Wed Apr 5 18:27:48 2006 dumper
3678 drwx 4096 Wed Mar 15 17:03:48 2006 shutdown
4008 drwx 4096 Thu Mar 2 09:24:10 2006 malloc_dump
39929724928 bytes total (39908044800 bytes free)
RP/0/RP0/CPU0:router# dir harddisk:/var
Directory of harddisk:/var
8 drwx 4096 Tue Oct 4 09:55:18 2005 log
9 drwx 4096 Tue Oct 4 09:55:18 2005 tmp
39929724928 bytes total (39908044800 bytes free)
Use the cd command to change the current working directory.
The following example shows how to change from the default working directory to the harddisk:
directory. The pwd command displays the present working directory.
RP/0/RP0/CPU0:router# cd
RP/0/RP0/CPU0:router# pwd
disk0:/usr
RP/0/RP0/CPU0:router# cd harddisk:
RP/0/RP0/CPU0:router# pwd
harddisk:
Use the more command to view the contents of a file.
harddisk:
The following folders are located on the harddisk:
• shutdown—Contains shutdown scripts collected for nodes
• var/log—Contains any syslog archive data to harddisk if enabled