Bug 95571 - ext4 fs corruption on power-cut while running fsstress
Summary: ext4 fs corruption on power-cut while running fsstress
Status: NEW
Alias: None
Product: File System
Classification: Unclassified
Component: ext4 (show other bugs)
Hardware: All Linux
: P1 normal
Assignee: fs_ext4@kernel-bugs.osdl.org
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2015-03-25 15:18 UTC by Ionut Trandafir
Modified: 2016-03-20 10:07 UTC (History)
1 user (show)

See Also:
Kernel Version: 4.0.0-rc3
Subsystem:
Regression: No
Bisected commit-id:


Attachments
ext4 fs corruption at power cut (2.40 KB, text/x-log)
2015-03-25 15:18 UTC, Ionut Trandafir
Details

Description Ionut Trandafir 2015-03-25 15:18:28 UTC
Created attachment 172361 [details]
ext4 fs corruption at power cut

I'm using an Ubuntu-13.10 VM for this testing. Kernel 4.0.0-rc3 compiled from git and e2fsprogs 1.42.12.
The steps I run:
 # mkfs.ext4 /dev/sdb1
 # mount -t ext4 -o defaults,barrier=1,noatime /dev/sdb1 /mnt
 # fsstress -w -X -d /mnt/fsstress -l 0 -n 100 -p 100 -s urandom
Let it run for 10 sec and then poweroff the virtual machine:
 $ vboxmanage controlvm Ubuntu-13.10-server poweroff
After reboot, I run:
 # fsck.ext4 -vpf /dev/sdb1
This fails with exit code 4, 2 out of 10 runs. The fail log is attached.

Note You need to log in before you can comment on or make changes to this bug.