linux-btrfs.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* corruption with btrfs on nocow loop file
@ 2014-09-18 14:06 Jan Killius
  0 siblings, 0 replies; only message in thread
From: Jan Killius @ 2014-09-18 14:06 UTC (permalink / raw)
  To: linux-btrfs

[-- Attachment #1: Type: text/plain, Size: 1273 bytes --]

Hello,
I get corruption with btrfs in a loop device with linux-3.16.3
(https://git.kernel.org/cgit/linux/kernel/git/mason/linux-btrfs.git/
for-linus applied).
I never had a problem with this setup until 3.16.

This happened just after unpacking a few thousand small files and
reading them back with an IDE (phpstorm).
The loop file is a 50GB nocow file with LUKS on it.

mount options for the main btrfs filesystem:
/dev/sda2 on / type btrfs
(rw,noatime,compress-force=lzo,ssd,discard,noacl,space_cache)
mount options for the loop device:
/dev/mapper/myvolume on /mnt/volume type btrfs
(rw,noatime,compress-force=lzo,ssd,noacl,space_cache)



btrfsck:
Checking filesystem on /dev/mapper/npoa
UUID: 3a869f74-2a05-4ea2-9950-a6be5e4a9691
checking extents
checking free space cache
checking fs roots
checking csums
checking root refs
found 197030750 bytes used err is 0
total csum bytes: 1245628
total tree bytes: 133332992
total fs tree bytes: 127696896
total extent tree bytes: 3997696
btree space waste bytes: 22086930
file data blocks allocated: 1277382656
referenced 2252468224
Btrfs v0.20-rc1-592-ge11a9ae-dirty

I also got a btrfs-image of the loop file system if needed.
If more information's are needed to investigate the issue just ask.



Kindly regards
Jan Killius

[-- Attachment #2: dmesg.bz2 --]
[-- Type: application/x-bzip2, Size: 19008 bytes --]

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2014-09-18 14:06 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2014-09-18 14:06 corruption with btrfs on nocow loop file Jan Killius

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).