I'm not 100% certain what you mean when you unmount the file system.
Could you mean the USB Drive? If so, this may help. https://help.ubuntu.com/community/Mount/USB
Which version of Ubuntu are you running? Probably doesn't matter, I'm just curious.
What's the error message?