Issue:
When copying files greater than 2GB - 1 byte in size to a QNX4 formatted disk the file transfer will fail saying "File too large" or "Value too large" even if the disk has plenty of space. This is a limitation of the QNX4 filesystem (http://www.qnx.com/developers/docs/6.3.0SP3/neutrino/user_guide/limits.html) just like how any filesystem such as FAT16/32 have limitations.
This issue is typically seen when the entire tar file from cisco.com is being copied to the router.
Solution:
- unTAR the downloaded file
- Follow the relevant upgrade guide (IOS-XR Upgrade Procedures) to determine any pre-requisite SMUs that are needed
- Determine what packages are currently installed via 'show install active summary' and what packages are needed for an upgrade.
- Copy the files to the router (optional)
- Verify the MD5 checksum (optional)
- 'show md5 file /harddisk:/file' command, The extra slash at the beginning is needed
- Note that by default MD5s are checked by the install architecture
- Add the packages via 'admin install add {packages}'
- Test the packages via 'admin install activate {packages} test' (optional)
- Activate and commit the packages
- 'admin install activate {packages | id}'
- Reload (automatic)
- 'admin install commit'
- Steps 4-8 may need to be repeated for pre-requisite SMUs, the upgrade itself, and also any SMUs on the new version of code
Examples:
1.
RP/0/RSP1/CPU0:asr9k#copy tftp://172.18.104.30/ASR9K-iosxr-px-k9-4.3.1.tar disk1:
<snip>
CCCCCCCCCCC
%Error copying disk1:/ASR9K-iosxr-px-k9-4.3.1.tar : File too large
2.
RP/0/RSP0/CPU0:asr9k(admin)#copy usb: disk0:
Source filename [/usb:]?ASR9K-iosxr-px-k9-4.3.2.tar
Destination filename [/disk0:/ASR9K-iosxr-px-k9-4.3.2.tar]?
%Error copying usb:/ASR9K-iosxr-px-k9-4.3.2.tar : Value too large to be stored in datatype
Copy of usb:/ASR9K-iosxr-px-k9-4.3.2.tar to disk0:/ASR9K-iosxr-px-k9-4.3.2.tar is not
allowed
RP/0/RSP0/CPU0:asr9k(admin)#dir usb:
Directory of usb:
131200 -rw- 2281277440 Mon Dec 23 14:07:16 2013 ASR9K-iosxr-px-k9-4.3.2.tar
158831 drwx 4096 Tue Dec 24 08:46:38 2013 LOST.DIR
Sam Milstead
Customer Support Engineer - XR TAC