Re : [Xen-devel] Re : task btrfs-transacti:651 blocked for more than 120 seconds

2017-09-28 Thread Olivier Bonvalet
Le jeudi 28 septembre 2017 à 16:28 +0200, Olivier Bonvalet a écrit : > [ 3263.452023] INFO: task systemd:1 blocked for more than 120 > seconds. > [ 3263.452040] Tainted: GW 4.9-dae-xen #2 > [ 3263.452044] "echo 0 > /proc/sys/kernel/hung_task_timeout_s

Re : task btrfs-transacti:651 blocked for more than 120 seconds

2017-09-28 Thread Olivier Bonvalet
Le jeudi 28 septembre 2017 à 14:18 +0300, Nikolay Borisov a écrit : > So what this stack trace means is that transaction commit has hung. > And > judging by the called functions (assuming they are correct, though > the ? > aren't very encouraging). Concretely, it means that an io has been > started

task btrfs-transacti:651 blocked for more than 120 seconds

2017-09-28 Thread Olivier Bonvalet
Hi ! I have a virtual server (Xen) which very frequently hangs with only this error in logs : [ 1330.144124] INFO: task btrfs-transacti:651 blocked for more than 120 seconds. [ 1330.144141] Not tainted 4.9-dae-xen #2 [ 1330.144146] "echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables

Re: Linux 3.14.18 : kernel BUG at fs/btrfs/file.c:890!

2014-09-08 Thread Olivier Bonvalet
Le lundi 08 septembre 2014 à 09:59 +, Holger Hoffstätte a écrit : > By default btrfsck doesn't do anything. What happens when you run it > without --repair, just to see what it finds? In fact I haven't enough memory to run it (8GB of RAM only, with a 2*3TB FS in mirroring, btrfs mirroring).

Re: Linux 3.14.18 : kernel BUG at fs/btrfs/file.c:890!

2014-09-08 Thread Olivier Bonvalet
Le dimanche 07 septembre 2014 à 17:48 +, Holger Hoffstätte a écrit : > On Sun, 07 Sep 2014 18:39:40 +0200, Olivier Bonvalet wrote: > > I cannot really offer much assistance, but that particular area of code > looks suspiciously like something fixed later and *not* yet backported

Linux 3.14.18 : kernel BUG at fs/btrfs/file.c:890!

2014-09-07 Thread Olivier Bonvalet
Hi, I still have kernel BUG with recent btrfs fixes : Sep 6 20:29:12 cm kernel: [ 6987.378592] [ cut here ] Sep 6 20:29:12 cm kernel: [ 6987.378613] kernel BUG at fs/btrfs/file.c:890! Sep 6 20:29:12 cm kernel: [ 6987.378630] invalid opcode: [#1] SMP Sep 6 20:29:1

kernel BUG at fs/btrfs/relocation.c:1065 in 3.14.16 to 3.17-rc3

2014-09-03 Thread Olivier Bonvalet
Hi, I have a btrfs partition which throw kernel BUG, even with linux 3.17-rc3 (I tried 3.14.16, 3.16.1 and 3.17-rc3 kernels) : [ 45.058466] [ cut here ] [ 45.058539] kernel BUG at fs/btrfs/relocation.c:1065! [ 45.058578] invalid opcode: [#1] SMP [ 45.058655]

Re: System unmountable RW

2013-02-02 Thread Olivier Bonvalet
Then, 30 minutes later there is no change, so I suppose it's "frozen". I hope it can help : [ 8081.557019] SysRq : Show Blocked State [ 8081.557034] taskPC stack pid father [ 8081.557053] btrfs-transacti D 8802bfc12080 0 1788 2 0x [ 8081.557064] f

Re: System unmountable RW

2013-02-02 Thread Olivier Bonvalet
Le samedi 02 février 2013 à 12:04 +0100, Olivier Bonvalet a écrit : > Le vendredi 01 février 2013 à 17:09 -0600, cwillu a écrit : > > > then I do : mount -o rw,remount /backup/ > > > > > > Feb 1 22:32:38 frozen kernel: [ 65.780686] btrfs: force zlib > >

Re: System unmountable RW

2013-02-02 Thread Olivier Bonvalet
Le vendredi 01 février 2013 à 17:09 -0600, cwillu a écrit : > > then I do : mount -o rw,remount /backup/ > > > > Feb 1 22:32:38 frozen kernel: [ 65.780686] btrfs: force zlib compression > > Feb 1 22:32:38 frozen kernel: [ 65.780700] btrfs: not using ssd > > allocation scheme > > Feb 1 22:32

System unmountable RW

2013-02-01 Thread Olivier Bonvalet
Hi, I have a btrfs volume that I can't mount RW (but I can mount and use it RO). So, at boot time, the partition is mounted RO (defaults,noatime,compress-force=zlib,nossd,ro) : Feb 1 22:30:12 frozen kernel: [8.646350] Btrfs loaded Feb 1 22:30:12 frozen kernel: [8.650878] device fsid

FS mountable only in RO / incomplete FAQ ?

2012-11-25 Thread Olivier Bonvalet
Hello, I had an umountable FS, no kernel oops, just "mount /backup" which still running after hours, without throwing any IO to disk. >From the FAQ https://btrfs.wiki.kernel.org/index.php/Problem_FAQ I saw to try with (-o recovery) then (-o ro). The recovery didn't help, but the "ro" option works

btrfs: corrupt leaf, bad key order

2012-11-15 Thread Olivier Bonvalet
Hi, in my logs I have : [482886.171753] btrfs: corrupt leaf, bad key order: block=5484560384,root=1, slot=39 [482890.537049] btrfs: corrupt leaf, bad key order: block=5484560384,root=1, slot=39 [482940.827007] btrfs: corrupt leaf, bad key order: block=5484560384,root=1, slot=39 [482940.827048]

Re: [solved] Re: Frozen transaction

2012-10-09 Thread Olivier Bonvalet
On 09/10/2012 16:07, David Sterba wrote: On Tue, Oct 09, 2012 at 03:49:01PM +0200, Olivier Bonvalet wrote: On 09/10/2012 14:32, David Sterba wrote: On Tue, Oct 09, 2012 at 12:07:20PM +0200, Olivier Bonvalet wrote: I didn't see any "stack" entry in /proc/$PID/ ; I will try to fi

[solved] Re: Frozen transaction

2012-10-09 Thread Olivier Bonvalet
On 09/10/2012 14:32, David Sterba wrote: On Tue, Oct 09, 2012 at 12:07:20PM +0200, Olivier Bonvalet wrote: I didn't see any "stack" entry in /proc/$PID/ ; I will try to find which kernel option export that. CONFIG_STACKTRACE CONFIG_STACKTRACE_SUPPORT=y CONFIG_HAVE_REGS_AND_S

Re: Frozen transaction

2012-10-09 Thread Olivier Bonvalet
Thanks for your reply. On 09/10/2012 11:52, David Sterba wrote: On Tue, Oct 09, 2012 at 09:37:48AM +0200, Olivier Bonvalet wrote: on one system I have a "frozen transaction" since more than 24 hours, without any IO. I can't umount the partition, delete a snapshot or write any

Frozen transaction

2012-10-09 Thread Olivier Bonvalet
Hi, on one system I have a "frozen transaction" since more than 24 hours, without any IO. I can't umount the partition, delete a snapshot or write anything. I try to reboot the system, but the problem is still present. Here the "frozen transaction" : $ ps auxw | grep btrfs | grep D root 1

Re: kernel BUG at fs/btrfs/extent-tree.c:5038 (linux 3.4.7)

2012-08-27 Thread Olivier Bonvalet
7 10:47:33 backup2 kernel: [987464.720816] btrfs: open_ctree failed On 01/08/2012 21:48, Olivier Bonvalet wrote: Hi, I have some trouble with a btrfs filesystem. As you can see in logs, there is lines which are from btrfs (I supposed), then some warnings at fs/btrfs/extent-tree.c, and finally a &

[solved] Re: Can't umount a read-only FS ?

2012-08-15 Thread Olivier Bonvalet
On 15/08/2012 19:28, Olivier Bonvalet wrote: > Hi, > > I have a strange problem with a btrfs partition : after an error, btrfs was > forced readonly. > > So I try to umount it, to launch btrfsck, but it doesn't work : > > root! sofia:~# umount /backup/ > root

Re: Can't umount a read-only FS ?

2012-08-15 Thread Olivier Bonvalet
Ok, thanks. So I will wait for the 3.5.3 kernel (since 3.5.2 don't seem to have any btrfs fix). On 15/08/2012 19:43, David Sterba wrote: > Hi, > > On Wed, Aug 15, 2012 at 07:32:45PM +0200, Olivier Bonvalet wrote: >> On 15/08/2012 19:28, Olivier Bonvalet wrote: >>>

Re: Can't umount a read-only FS ?

2012-08-15 Thread Olivier Bonvalet
On 15/08/2012 19:28, Olivier Bonvalet wrote: > Hi, > > I have a strange problem with a btrfs partition : after an error, btrfs was > forced readonly. > > So I try to umount it, to launch btrfsck, but it doesn't work : > I forgot, it was set readonly after that erro

Can't umount a read-only FS ?

2012-08-15 Thread Olivier Bonvalet
Hi, I have a strange problem with a btrfs partition : after an error, btrfs was forced readonly. So I try to umount it, to launch btrfsck, but it doesn't work : root! sofia:~# umount /backup/ root! sofia:~# btrfsck /dev/vg-sofia/backup /dev/vg-sofia/backup is currently mounted. Aborting. root!

Re: raw partition or LV for btrfs?

2012-08-14 Thread Olivier Bonvalet
On 14/08/2012 15:28, Daniel Pocock wrote: If I create 10 LVs today, with btrfs on each, From my understanding of Btrfs, it achieve good write performance by making near all writes "sequential". But if you split your disk in 10 sub-parts, and set btrfs on each of them, writes operations of Bt

Re: kernel BUG at fs/btrfs/extent-tree.c:5038 (linux 3.4.7)

2012-08-05 Thread Olivier Bonvalet
On 05/08/2012 10:57, Chris Samuel wrote: > On 08/04/2012 08:41 AM, Olivier Bonvalet wrote: > >> Is there something I can do to fix that ? (the mount >> option "recovery" didn't help here) > > I've seen someone (perhaps Marc Merlin) report that the &

Re: kernel BUG at fs/btrfs/extent-tree.c:5038 (linux 3.4.7)

2012-08-03 Thread Olivier Bonvalet
On 04/08/2012 00:41, Olivier Bonvalet wrote: > On 02/08/2012 18:18, Olivier Bonvalet wrote: >> On 02/08/2012 15:53, David Sterba wrote: >>> On Thu, Aug 02, 2012 at 03:41:03PM +0200, Olivier Bonvalet wrote: >>>> Yes... it's a copy from my /var/log/kern.log. Is i

Re: kernel BUG at fs/btrfs/extent-tree.c:5038 (linux 3.4.7)

2012-08-03 Thread Olivier Bonvalet
On 02/08/2012 18:18, Olivier Bonvalet wrote: > On 02/08/2012 15:53, David Sterba wrote: >> On Thu, Aug 02, 2012 at 03:41:03PM +0200, Olivier Bonvalet wrote: >>> Yes... it's a copy from my /var/log/kern.log. Is it really "disabled" ? >> >> I was mist

Re: kernel BUG at fs/btrfs/extent-tree.c:5038 (linux 3.4.7)

2012-08-02 Thread Olivier Bonvalet
On 02/08/2012 15:53, David Sterba wrote: On Thu, Aug 02, 2012 at 03:41:03PM +0200, Olivier Bonvalet wrote: Yes... it's a copy from my /var/log/kern.log. Is it really "disabled" ? I was mistaken, it really is enabled unconditionally in ctree.h:55. Josef says that the V0 exte

Re: kernel BUG at fs/btrfs/extent-tree.c:5038 (linux 3.4.7)

2012-08-02 Thread Olivier Bonvalet
On 02/08/2012 15:22, David Sterba wrote: On Wed, Aug 01, 2012 at 09:48:15PM +0200, Olivier Bonvalet wrote: I have some trouble with a btrfs filesystem. As you can see in logs, there is lines which are from btrfs (I supposed), then some warnings at fs/btrfs/extent-tree.c, and finally a "k

kernel BUG at fs/btrfs/extent-tree.c:5038 (linux 3.4.7)

2012-08-01 Thread Olivier Bonvalet
Hi, I have some trouble with a btrfs filesystem. As you can see in logs, there is lines which are from btrfs (I supposed), then some warnings at fs/btrfs/extent-tree.c, and finally a "kernel BUG" at fs/btrfs/extent-tree.c:5038. Do you need more informations ? Aug 1 21:23:10 backup2 kernel: [

Segfault on "btrfs subvolume delete" with kernel 3.3.4

2012-04-30 Thread Olivier Bonvalet
Hi, on a Xen paravirtualized VM running a 3.3.4 I obtain a "segfault" when doing a "btrfs subvolume delete" on a specific subvolume ; here the trace : Apr 30 13:37:05 frozen kernel: [ 238.508387] [ cut here ] Apr 30 13:37:05 frozen kernel: [ 238.508402] kernel BUG at

Re: btrfs-convert processing time

2012-03-30 Thread Olivier Bonvalet
Le 22/02/2012 17:55, Olivier Bonvalet a écrit : So, the btrfs-convert for the smaller drive is done... after near 5 days. Which stats can I give you ? It's a 340GB LVM block device, and "btrfs filesystem df /backup/" say that : Data: total=225.97GB, used=181.94GB System: tota

Re: btrfs-convert processing time

2012-02-22 Thread Olivier Bonvalet
So, the btrfs-convert for the smaller drive is done... after near 5 days. Which stats can I give you ? It's a 340GB LVM block device, and "btrfs filesystem df /backup/" say that : Data: total=225.97GB, used=181.94GB System: total=32.00MB, used=24.00KB Metadata: total=111.00GB, used=91.56GB If

Re: btrfs-convert processing time

2012-02-20 Thread Olivier Bonvalet
On 20/02/2012 15:00, Fajar A. Nugraha wrote: On Mon, Feb 20, 2012 at 8:50 PM, Hubert Kario wrote: On Monday 20 of February 2012 14:41:33 Olivier Bonvalet wrote: Lot of small files (like compressed email from Maildir), and lot of hardlinks, and probably low free space (near 15% I suppose

Re: btrfs-convert processing time

2012-02-20 Thread Olivier Bonvalet
On 20/02/2012 14:20, Hubert Kario wrote: On Monday 20 of February 2012 13:51:29 Olivier Bonvalet wrote: Hi, I'm trying to convert two ext4 FS to btrfs, but I'm surprised by the time needed to do that conversion. The first FS is on a 500GiB block device, and btrfs-convert is running

btrfs-convert processing time

2012-02-20 Thread Olivier Bonvalet
Hi, I'm trying to convert two ext4 FS to btrfs, but I'm surprised by the time needed to do that conversion. The first FS is on a 500GiB block device, and btrfs-convert is running since more than 48h : root 1978 25.6 47.7 748308 732556 ? DFeb18 944:44 btrfs-convert /dev/vg-back