2008-03-03 20:19:16 |
sibidiba |
bug |
|
|
added bug |
2008-03-03 20:19:16 |
sibidiba |
bug |
|
|
added attachment '99-sync.sh' (/etc/acpi/suspend.d/99-sync.sh) |
2008-03-03 21:34:32 |
TerryG |
acpid: status |
New |
Confirmed |
|
2008-03-03 23:30:14 |
sibidiba |
description |
Binary package hint: acpid
I'm running Hardy on a laptop, and today I forgot to umount my external (USB) 500 GB hard-drive before doing a suspend.
Now all my data is lost on the single ext3 partition, fsck couldn't recover anything. ;(
I attach a patch that syncs as the last step of preparation for suspend/hibernate.
I also suggest to umount all file systems on external devices before suspend/hibernate. |
Binary package hint: acpid
I'm running the current Hardy on a laptop, and I noticed upon a data corruption issue that suspend/hibernate does not syncs nor umounts external disks.
This may cause file-system corruption.
I attach a small patch that syncs as the last step of preparation for suspend/hibernate.
|
|
2008-03-03 23:30:14 |
sibidiba |
title |
suspend and hibernate causes severe data corruption because not syncing and not umounting external drives |
suspend and hibernate may causes data corruption because it doesn't syncs nor umounts external drives previously |
|
2008-03-03 23:30:43 |
sibidiba |
title |
suspend and hibernate may causes data corruption because it doesn't syncs nor umounts external drives previously |
suspend and hibernate may cause data corruption because it doesn't syncs nor umounts external drives previously |
|
2008-03-03 23:31:09 |
sibidiba |
acpid: status |
Confirmed |
New |
|
2008-11-30 03:54:27 |
Daniel T Chen |
acpid: status |
New |
Confirmed |
|
2008-11-30 03:54:27 |
Daniel T Chen |
acpid: importance |
Undecided |
Low |
|
2009-01-07 12:43:06 |
Loïc Minier |
acpid: bugtargetdisplayname |
acpid (Ubuntu) |
pm-utils (Ubuntu) |
|
2009-01-07 12:43:06 |
Loïc Minier |
acpid: bugtargetname |
acpid (Ubuntu) |
pm-utils (Ubuntu) |
|
2009-01-07 12:43:06 |
Loïc Minier |
acpid: statusexplanation |
|
Most comments here allude to the FS not being "sync"-ed; however /usr/lib/pm-utils/bin/pm-action (pm-suspend) in pm-utils does sync. I'm reassigning to pm-utils for now, but I rather suspect that this is a driver/hardware issue as we got a relatively low number of such reports.
These logs also point at drivers/hardware issues rather than userspace issues:
Mar 3 09:46:43 Kamorka kernel: [40226.138935] Buffer I/O error on device sdb2, logical block 1545
Mar 3 09:46:43 Kamorka kernel: [40226.138941] lost page write due to I/O error on sdb2 |
|
2009-01-07 12:43:06 |
Loïc Minier |
acpid: title |
Bug #198125 in acpid (Ubuntu): "suspend and hibernate may cause data corruption because it doesn't syncs nor umounts external drives previously" |
Bug #198125 in pm-utils (Ubuntu): "suspend and hibernate may cause data corruption because it doesn't syncs nor umounts external drives previously" |
|
2011-10-30 07:01:05 |
Seppe De Loore |
removed subscriber Seppe De Loore |
|
|
|
2012-03-06 15:48:01 |
Tomasz 'Zen' Napierala |
bug |
|
|
added subscriber Tomasz 'Zen' Napierala |
2013-02-02 10:46:07 |
draco |
bug |
|
|
added subscriber draco |