General
Cannot view contents of USB drive formatted with FAT from Switch ACI OS.
Symptom
The contents of a USB drive formatted with the FAT file system from a switch in ACI-mode cannot be viewed. Because of this, files cannot be copied from the USB drive. Attempting to boot using an image on the USB drive from the loader fails with the following output:
Copying image /usb/usb1/aci-n9000-dk9.12.3.1f.bin to /bootflash
/bin/cp: cannot stat `/usb/usb1/aci-n9000-dk9.12.3.1f.bin': No such file or directory
Failed to open input file /bootflash/aci-n9000-dk9.12.3.1f.bin
*** Extraction of system image failed ***
Conditions
The Loader> prompt recognizes the FAT file system, even on the 12.2 and 12.3 releases.
Only a switch in ACI mode cannot see the USB drive with a FAT file system.
Workaround
Workaround#1:
=========================
Use a USB drive that has the ext4 file system, or copy files from external file servers using the scp command.
Workaround for ACI Boot using USB Error:
=========================
++ Download ACI switch image 13.0(2h) or later onto the USB drive
++ Once booted, transfer the needed ACI version image onto the switch's bootflash directory
++ Reload the switch and break onto loader
++ Boot to the ACI version image using the bootflash directory (instead of USB)
Further Problem Description
USB drives are mounted as tmpfs
---------------------------
N9K# mount -l | grep usb
rootfs on /var/run/bashroot/usb/usb1 type tmpfs (rw,relatime,size=1792000k,mode=755)
rootfs on /var/run/bashroot/usb type tmpfs (rw,relatime,size=1792000k,mode=755)
N9K#
---------------------------