How to safely eject USB flash drive on 3850
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-27-2020 11:55 AM
I use images loaded in a USB flash drive that I upload into a switch just because it's faster than using tftp\ftp in some of the offices I go to. I usually just pull the flash drive out when I'm done. Once in awhile this corrupts the USB stick. Is there a command to gracefully eject the USB device?
- Labels:
-
Cisco Software
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-27-2020 02:04 PM
Either the USB stick was not formatted correctly (I doubt it) or it is on the way out.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-06-2020 12:22 PM
Just pulling the flash drive out should not corrupt it; try using different flash now
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
12-17-2020 08:38 AM - edited 12-17-2020 08:50 AM
shouldn't...but does.
I've had it happen on old flash drives as well as brand new ones. after pulling it out of one switch and put it into another switch it's common to see usb descriptor errors. I plug it into my laptop, it sees errors and fixes them..and then I'm good for maybe another couple switches.
looks like we needed a command we like what bjhinkle9 posted below:
hw-module switch 1 usbflash1 unmount
however, this unmounts the usb ssd drive (atleast for a 9348 which is pretty much the same switch)
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-08-2020 12:56 AM
hw-module switch 1 usbflash1 unmount
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
12-17-2020 08:50 AM
appears this unmounts the usb ssd drive, not the usbflash0:
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-12-2021 05:02 AM
Try this command.
I tried it at Cisco IOS Software, C3750E Software (C3750E-UNIVERSALK9-M), Version 15.2(4)E1, RELEASE SOFTWARE (fc2)
test usb port 0 off
You will take a message: %USBFLASH-5-CHANGE: usbflash0 has been removed!
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-30-2024 12:02 AM
This works for me 100% tested and ejected the usbflash0 pen drive where I backed up my router config.
Thanks
