Symptom
The issue is that if the USB is inserted after the switch is booted up, then the drive will be mounted but not seen in the "dir" output. So, the drive cannot be accessed.
This OIR issue is seen only on standalone and Active switch in a stack.
Standby/Member switches in stack will work fine.
Conditions
This behavior is observed when the USB is inserted after the switch is booted up. The drive cannot be accessed from IOS console.
Any IOS CLI like dir, copy, format will not see usbflash0 option.
Workaround
Reloading the switch with USB inserted will fix this issue.
USB will be accessible after reloading the switch. OIR will also work.
In other words, USB has to be inserted before loading a image.
Further Problem Description