Comment 2 for bug 883748

Revision history for this message
Ming Lei (tom-leiming) wrote : Re: [Bug 883748] [NEW] Suspend/resume corrupts external data storage devices

On Sun, Oct 30, 2011 at 4:04 PM, Launchpad Bug Tracker
<email address hidden> wrote:
> You have been subscribed to a public bug:
>
> Ubuntu will permit suspend/resume (have not tried hibernate) without
> attempting to unmount any external USB storage devices, even though
> processes may still have open files on these devices. After the system
> is resumed, the USB storage devices may not be present, due to not
> having been re-enumerated yet. This can and DOES result in data
> corruption on the filesystem on the external device, as evidenced by
> errors in dmesg and having to do journal replays. I am not sure that the

How can you conclude that the case may result in data corruption on
filesystem on the external device?

In fact, before system suspend, 'sync' has been called to sync all the data
for all the filesystems.

thanks,
--
Ming Lei