09-21-2025 10:51 PM
Hello,
I have a Cisco 3850 switch. After upgrading its IOS from version 03.07.05E to 16.12.13, the device no longer recognizes the usbflash:
Could you please advise on how to resolve this issue?
09-21-2025 10:59 PM
- @j.zangeneh Execute the command dir , from CLI (enable/privileged mode) ; look or similar name and or check for a possible name change,
M.
09-21-2025 11:02 PM
hi
SWITCH#dir ?
/all List all files
/recursive List files recursively
all-filesystems List files on all filesystems
cns: Directory or file name
crashinfo-1: Directory or file name
crashinfo-2: Directory or file name
crashinfo: Directory or file name
flash-1: Directory or file name
flash-2: Directory or file name
flash: Directory or file name
null: Directory or file name
nvram: Directory or file name
revrcsf: Directory or file name
stby-crashinfo: Directory or file name
stby-flash: Directory or file name
stby-nvram: Directory or file name
stby-rcsf: Directory or file name
system: Directory or file name
tar: Directory or file name
tmpsys: Directory or file name
webui: Directory or file name
| Output modifiers
<cr> <cr>
09-21-2025 11:06 PM
Eject the USB flash drive from the switch, wait for 5 seconds and plug it back in.
Post the complete output to the command "sh log". If there is anything wrong with the USB flash drive, it will show up in the switch logs.
09-21-2025 11:16 PM
- @j.zangeneh The usbflash: may only be seen if an usb is inserted behavior change, check output from
show usb-devices summary (with an usb inserted)
Pay attention to USB formatting , Use FAT16 (aka FAT), not FAT32 or NTFS
The USB must be MBR-partitioned, not GPT.
Limit partition size to ≤4GB, even if the stick is larger.
Not all USB drives work with Cisco devices. Try using another USB from a different vendor
And check logs when inserting an USB , despite the change in version, these topics could be 'stressed' by the upgrade and or become more relevant (e.g.)
M.
09-21-2025 11:28 PM
what kind of flash drive is this ? we have seen some of the old USB drive not able to recognize in when you upgrade IOS XE 16 and above.
as @Leo Laohoo mentioned, removed and reseat and check the Logs.
09-21-2025 11:55 PM
thanks
When i got DIR in switch in output not show usbflash: while it used to show befor upgrade
09-22-2025 12:02 AM
Sep 22 10:29:14: %IOSD_INFRA-6-IFS_DEVICE_OIR: Device usbflash0 removed
Sep 22 10:29:26: %IOSD_INFRA-6-IFS_DEVICE_OIR: Device usbflash0 removed
Sep 22 10:29:27: %IOSXE-3-PLATFORM: Switch 2 R0/0: kernel: EXT4-fs (sdb1): unable to read superblock
Sep 22 10:29:28: %IOSXE-3-PLATFORM: Switch 2 R0/0: kernel: EXT4-fs (sdb1): unable to read superblock
Sep 22 10:29:30: %IOSXE-3-PLATFORM: Switch 2 R0/0: kernel: EXT2-fs (sdb1): error: unable to read superblock
Sep 22 10:29:37: %IOSXE-3-PLATFORM: Switch 2 R0/0: kernel: SQUASHFS error: squashfs_read_data failed to read block 0x0
Sep 22 10:29:37: %IOSXE-3-PLATFORM: Switch 2 R0/0: kernel: squashfs: SQUASHFS error: unable to read squashfs_super_block
09-22-2025 12:52 AM
- @j.zangeneh >....kernel: EXT4-fs (sdb1): unable to read superblock
The USB drive is corrupt, format it again or use another one ,
M.
09-22-2025 01:27 AM
@j.zangeneh wrote:Sep 22 10:29:27: %IOSXE-3-PLATFORM: Switch 2 R0/0: kernel: EXT4-fs (sdb1): unable to read superblock Sep 22 10:29:28: %IOSXE-3-PLATFORM: Switch 2 R0/0: kernel: EXT4-fs (sdb1): unable to read superblock Sep 22 10:29:30: %IOSXE-3-PLATFORM: Switch 2 R0/0: kernel: EXT2-fs (sdb1): error: unable to read superblock Sep 22 10:29:37: %IOSXE-3-PLATFORM: Switch 2 R0/0: kernel: SQUASHFS error: squashfs_read_data failed to read block 0x0 Sep 22 10:29:37: %IOSXE-3-PLATFORM: Switch 2 R0/0: kernel: squashfs: SQUASHFS error: unable to read squashfs_super_block
Do these kernel errors appear if there is no USB flash drive?
09-22-2025 02:06 AM
When I connect the flash to the switch, this log appears on the switch.”
09-22-2025 03:32 AM
Ok, so the USB flash drive is not recognized by the switch. Find another model or variety.
09-22-2025 09:09 AM
Sep 22 10:29:30: %IOSXE-3-PLATFORM: Switch 2 R0/0: kernel: EXT2-fs (sdb1): error: unable to read superblock
Sep 22 10:29:37: %IOSXE-3-PLATFORM: Switch 2 R0/0: kernel: SQUASHFS error: squashfs_read_data failed to read block 0x0
Sep 22 10:29:37: %IOSXE-3-PLATFORM: Switch 2 R0/0: kernel: squashfs: SQUASHFS error: unable to read squashfs_super_block
this show some error, try format and test it , or easy get another one use it.
09-22-2025 12:12 AM
show usb-devices summary
USB Device: EHCI Host Controller
Bus: 01 Port: 00 Cnt: 00 Speed: 480
Vendor: 1d6b ProdID: 0002 Rev: 4.09
Serial Number: 16f0000000000.ehci
USB Device: ADATA USB Flash Drive
Bus: 01 Port: 00 Cnt: 01 Speed: 480
Vendor: 125f ProdID: dc1a Rev: 11.00
Serial Number: 23C1419500170034
USB Device: Generic Platform OHCI controller
Bus: 02 Port: 00 Cnt: 00 Speed: 12
Vendor: 1d6b ProdID: 0001 Rev: 4.09
Serial Number: 16f0000000400.ohci
Discover and save your favorite ideas. Come back to expert answers, step-by-step guides, recent topics, and more.
New here? Get started with these tips. How to use Community New member guide