Stop any active applications that are using the device.
Unmount the device.
$ rmumount NONAME |
Or, use the umount command as superuser. For example:
# umount /media/NONAME |
For more information about unmounting a USB device, see How to Mount or Unmount a USB Mass Storage Device.
Remove the device.