Is There A Need To Safely Remove Device If "Quick Removal" Is Enabled?

7

2

i have been always ejecting devices from USB prior to removing them from computer and then i thought that if i have "Quick Removal" set, would i still need to eject? What could be the worst case if with this option i will remove device in the middle of it working?

I had times where Windows just refused removing device and stated that it is in use so i had to remove it "non-safely".

I heard cases where people had their device, USB thumbdrive in particular ceased working when removing it. Whether this pertains to removing safely or not safely i don't know.

enter image description here

Boris_yo

Posted 2012-02-08T11:07:33.710

Reputation: 5 238

Answers

2

It's still necessary unless you can always make sure there are no unsaved changes to files on the drive.

"Quick removal" disables write caching so you can be sure that the file system won't be damaged due to important changes being delayed by the cache, but it can't magically make all programs automatically save every change to files on the drive as you make it. If you unplug the disk when there are open handles that was used for writing, depending on the parameters used when the handles are created, you may lose the entire unsaved file or the part that was still in the program's buffer.

In this sense, it's more useful of save often than using quick removal (as most decent programs will flush the cache when they save anyway).

Edit:

If you select "Better performance", not only user data go through the device's cache, so will file system operations. If you unplug or suffer a power loss before a file system operation in the cache is written to the physical media, you get an inconsistent file system. Depending on how robust the FS is and whether it accounts for this situation, you may lose parts or whole of the file(s) involved in that FS operation or even the entire file system.

Some FS like NTFS uses a journal to record every FS operation before they are carried out, which basically eliminates file system integrity problems due to unsafe unplug or power loss.

However, most flash memory uses FAT which does not have a journal thus very susceptible to file system integrity problems. So it's always a good idea to remove a disk safely.

billc.cn

Posted 2012-02-08T11:07:33.710

Reputation: 6 821

So losing unsaved changes is the only problem with "Quick Removal"? What if i set instead to "Better Performance"? What other risk may appear? – Boris_yo – 2012-02-08T14:35:24.333

@Boris_yo see this page...http://www.windows7library.com/blog/performance/usb-quick-removal-option/

– Moab – 2012-02-08T18:02:37.613

@Boris_yo also see this page for more information....http://www.uwe-sieber.de/usbstick_e.html

– Moab – 2012-02-08T18:07:06.923

(I was trying to cover the other option in my answer, but it obviously didn't work. See my edit.) – billc.cn – 2012-02-09T05:44:37.407