* System unmountable RW
@ 2013-02-01 22:11 Olivier Bonvalet
2013-02-01 23:09 ` cwillu
0 siblings, 1 reply; 6+ messages in thread
From: Olivier Bonvalet @ 2013-02-01 22:11 UTC (permalink / raw)
To: linux-btrfs
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 cf2c98bd-147b-400e-bca5-79765650b1a7 devid 1 transid 376249 /dev/mapper/vg--frozen-backup
Feb 1 22:30:12 frozen kernel: [ 8.652740] btrfs: force zlib compression
Feb 1 22:30:12 frozen kernel: [ 8.652750] btrfs: not using ssd allocation scheme
Feb 1 22:30:12 frozen kernel: [ 8.652756] btrfs: disk space caching is enabled
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:38 frozen kernel: [ 65.780706] btrfs: disk space caching is enabled
I let that mount run days, without any success. It stay running, and I can't interrupt it (CTRL+C or kill).
There is nothing about btrfs in kern.log, and when I run btrfsck it
throw OOM because it use the 10GB of RAM of the system.
It's a 2TB volume, running a 3.7.1 kernel :
# btrfs fi df /backup/
Data: total=1.72TB, used=1.65TB
System, DUP: total=64.00MB, used=208.00KB
System: total=4.00MB, used=0.00
Metadata, DUP: total=39.20GB, used=35.38GB
If it's a btrfs bug, can I give you any information to help fix that ?
Thanks,
Olivier
^ permalink raw reply [flat|nested] 6+ messages in thread
* Re: System unmountable RW
2013-02-01 22:11 System unmountable RW Olivier Bonvalet
@ 2013-02-01 23:09 ` cwillu
2013-02-02 11:04 ` Olivier Bonvalet
0 siblings, 1 reply; 6+ messages in thread
From: cwillu @ 2013-02-01 23:09 UTC (permalink / raw)
To: Olivier Bonvalet; +Cc: linux-btrfs
> 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:38 frozen kernel: [ 65.780706] btrfs: disk space caching is enabled
>
>
> I let that mount run days, without any success. It stay running, and I can't interrupt it (CTRL+C or kill).
Hit alt-sysrq-w at that point, and then post your dmesg; there should
be at least one stacktrace in there (possibly many), which should give
a good idea where it's hanging up.
^ permalink raw reply [flat|nested] 6+ messages in thread
* Re: System unmountable RW
2013-02-01 23:09 ` cwillu
@ 2013-02-02 11:04 ` Olivier Bonvalet
2013-02-02 12:44 ` Olivier Bonvalet
0 siblings, 1 reply; 6+ messages in thread
From: Olivier Bonvalet @ 2013-02-02 11:04 UTC (permalink / raw)
To: cwillu; +Cc: linux-btrfs
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:38 frozen kernel: [ 65.780706] btrfs: disk space caching is enabled
> >
> >
> > I let that mount run days, without any success. It stay running, and I can't interrupt it (CTRL+C or kill).
>
> Hit alt-sysrq-w at that point, and then post your dmesg; there should
> be at least one stacktrace in there (possibly many), which should give
> a good idea where it's hanging up.
> --
Thanks for your help !
So, I upgraded to a 3.7.5 kernel (I had to recompile a kernel to enable
sysrq), and just after reboot, I did a "mount -o remount,rw /backup/"
followed by that sysrq :
[ 70.382124] btrfs: force zlib compression
[ 70.382139] btrfs: not using ssd allocation scheme
[ 70.382145] btrfs: disk space caching is enabled
[ 92.228436] SysRq : Show Blocked State
[ 92.228451] task PC stack pid father
[ 92.228471] btrfs-cache-1 D ffff8802bfd92080 0 1766 2 0x00000000
[ 92.228481] ffff8802af9e5a20 0000000000000246 0000000000000008 ffff8802b0c6d3b0
[ 92.228494] 0000000000012080 ffff8802afc83fd8 ffff8802afc83fd8 ffff8802af9e5a20
[ 92.228505] 0000000000000000 ffff8802bfd92080 ffff8802af9e5a20 ffff8802afc83b30
[ 92.228517] Call Trace:
[ 92.228530] [<ffffffff810a0b75>] ? __lock_page+0x66/0x66
[ 92.228540] [<ffffffff8132c920>] ? io_schedule+0x56/0x6d
[ 92.228548] [<ffffffff810a0b7c>] ? sleep_on_page+0x7/0xc
[ 92.228556] [<ffffffff8132b98d>] ? __wait_on_bit+0x3e/0x75
[ 92.228564] [<ffffffff810a0c31>] ? wait_on_page_bit+0x6e/0x73
[ 92.228574] [<ffffffff81060544>] ? autoremove_wake_function+0x2a/0x2a
[ 92.228601] [<ffffffffa005889d>] ? read_extent_buffer_pages+0x1f3/0x247 [btrfs]
[ 92.228622] [<ffffffffa003c299>] ? btree_readpage_end_io_hook+0x1d9/0x1d9 [btrfs]
[ 92.228643] [<ffffffffa003b7ea>] ? btree_read_extent_buffer_pages.constprop.118+0x5a/0xf3 [btrfs]
[ 92.228663] [<ffffffffa003caa0>] ? read_tree_block+0x25/0x2d [btrfs]
[ 92.228677] [<ffffffffa00279e7>] ? read_block_for_search.isra.51+0x294/0x2cc [btrfs]
[ 92.228694] [<ffffffffa002b6fc>] ? btrfs_next_old_leaf+0x156/0x324 [btrfs]
[ 92.228711] [<ffffffffa002ed74>] ? caching_thread+0x19c/0x2d0 [btrfs]
[ 92.228721] [<ffffffff8107ba5f>] ? arch_local_irq_restore+0x7/0x8
[ 92.228742] [<ffffffffa0060d01>] ? worker_loop+0x175/0x4b0 [btrfs]
[ 92.228761] [<ffffffffa0060b8c>] ? btrfs_queue_worker+0x27a/0x27a [btrfs]
[ 92.228780] [<ffffffffa0060b8c>] ? btrfs_queue_worker+0x27a/0x27a [btrfs]
[ 92.228789] [<ffffffff8105fc53>] ? kthread+0x81/0x89
[ 92.228797] [<ffffffff81002c46>] ? xen_mc_issue.constprop.27+0x6/0x1e
[ 92.228806] [<ffffffff81060000>] ? kthread_unpark+0x2a/0x41
[ 92.228814] [<ffffffff8105fbd2>] ? __kthread_parkme+0x5b/0x5b
[ 92.228824] [<ffffffff8132db3c>] ? ret_from_fork+0x7c/0xb0
[ 92.228832] [<ffffffff8105fbd2>] ? __kthread_parkme+0x5b/0x5b
[ 92.228839] btrfs-transacti D ffff8802bfd12080 0 1788 2 0x00000000
[ 92.228848] ffff8802af9e39f0 0000000000000246 000000000000002a ffff8802b0c6cd40
[ 92.228860] 0000000000012080 ffff8802a9d7bfd8 ffff8802a9d7bfd8 ffff8802af9e39f0
[ 92.228871] ffffffff8107ba5f ffff8802aa226000 ffff8802af7241e8 ffff8802a9d7bdf0
[ 92.228882] Call Trace:
[ 92.228889] [<ffffffff8107ba5f>] ? arch_local_irq_restore+0x7/0x8
[ 92.228909] [<ffffffffa0040fdf>] ? wait_current_trans.isra.33+0xb3/0xe7 [btrfs]
[ 92.228919] [<ffffffff8106051a>] ? abort_exclusive_wait+0x79/0x79
[ 92.228938] [<ffffffffa0042454>] ? start_transaction+0x33f/0x366 [btrfs]
[ 92.228956] [<ffffffffa003b60e>] ? transaction_kthread+0xbe/0x183 [btrfs]
[ 92.228973] [<ffffffffa003b550>] ? try_to_freeze+0x2c/0x2c [btrfs]
[ 92.228989] [<ffffffffa003b550>] ? try_to_freeze+0x2c/0x2c [btrfs]
[ 92.228997] [<ffffffff8105fc53>] ? kthread+0x81/0x89
[ 92.229005] [<ffffffff81002c46>] ? xen_mc_issue.constprop.27+0x6/0x1e
[ 92.229013] [<ffffffff81060000>] ? kthread_unpark+0x2a/0x41
[ 92.229021] [<ffffffff8105fbd2>] ? __kthread_parkme+0x5b/0x5b
[ 92.229030] [<ffffffff8132db3c>] ? ret_from_fork+0x7c/0xb0
[ 92.229037] [<ffffffff8105fbd2>] ? __kthread_parkme+0x5b/0x5b
[ 92.229049] mount D ffff8802bfc92080 0 2642 2595 0x00000000
[ 92.229057] ffff8802b031b9f0 0000000000000286 ffff8802aa300408 ffff8802b0c6c6d0
[ 92.229068] 0000000000012080 ffff8802afdebfd8 ffff8802afdebfd8 ffff8802b031b9f0
[ 92.229079] ffffffffa006cce5 ffff8802b0cbc5c0 ffff8802b031b9f0 ffffffffffffffff
[ 92.229090] Call Trace:
[ 92.229109] [<ffffffffa006cce5>] ? __lookup_free_space_inode+0xd5/0x104 [btrfs]
[ 92.229119] [<ffffffff8132cf5b>] ? rwsem_down_failed_common+0xe3/0x117
[ 92.229129] [<ffffffff8119d543>] ? call_rwsem_down_write_failed+0x13/0x20
[ 92.229149] [<ffffffffa006eebe>] ? load_free_space_cache+0xd1/0x16a [btrfs]
[ 92.229158] [<ffffffff8132bfc6>] ? down_write+0x1c/0x1d
[ 92.229173] [<ffffffffa002d151>] ? cache_block_group.isra.56+0x2a5/0x30e [btrfs]
[ 92.229182] [<ffffffff8106051a>] ? abort_exclusive_wait+0x79/0x79
[ 92.229197] [<ffffffffa002ba70>] ? spin_unlock+0x5/0x8 [btrfs]
[ 92.229213] [<ffffffffa0030d98>] ? find_free_extent.isra.77+0x342/0x7a4 [btrfs]
[ 92.229228] [<ffffffffa0027203>] ? comp_keys+0x26/0x2b [btrfs]
[ 92.229247] [<ffffffffa006699a>] ? btrfs_tree_read_unlock+0x7b/0x8a [btrfs]
[ 92.229262] [<ffffffffa002ba70>] ? spin_unlock+0x5/0x8 [btrfs]
[ 92.229279] [<ffffffffa00335f1>] ? btrfs_reserve_extent+0x7c/0x100 [btrfs]
[ 92.229300] [<ffffffffa00466f7>] ? __btrfs_prealloc_file_range+0xc9/0x30f [btrfs]
[ 92.229311] [<ffffffff810cf871>] ? virt_to_head_page+0x7/0x2b
[ 92.229319] [<ffffffff810d16d0>] ? kmem_cache_free+0x11/0xb5
[ 92.229334] [<ffffffffa002ba70>] ? spin_unlock+0x5/0x8 [btrfs]
[ 92.229353] [<ffffffffa006c3f5>] ? spin_unlock+0x5/0x8 [btrfs]
[ 92.229370] [<ffffffffa0035443>] ? btrfs_write_dirty_block_groups+0x214/0x50f [btrfs]
[ 92.229385] [<ffffffffa0089741>] ? commit_cowonly_roots+0x11e/0x1dd [btrfs]
[ 92.229406] [<ffffffffa0078dde>] ? spin_unlock+0x5/0x8 [btrfs]
[ 92.232243] [<ffffffffa0041947>] ? btrfs_commit_transaction+0x467/0x927 [btrfs]
[ 92.232243] [<ffffffff8106051a>] ? abort_exclusive_wait+0x79/0x79
[ 92.232243] [<ffffffffa00423f3>] ? start_transaction+0x2de/0x366 [btrfs]
[ 92.232243] [<ffffffffa0053196>] ? do_raw_spin_unlock+0x5/0x8 [btrfs]
[ 92.232243] [<ffffffffa0078741>] ? btrfs_recover_relocation+0x25e/0x32b [btrfs]
[ 92.232243] [<ffffffffa0023cd8>] ? btrfs_remount+0x10c/0x1c8 [btrfs]
[ 92.232243] [<ffffffff810e7a52>] ? do_raw_spin_unlock+0x5/0x8
[ 92.232243] [<ffffffff810dc07f>] ? do_remount_sb+0xb1/0x155
[ 92.232243] [<ffffffff810f0304>] ? do_mount+0x1ff/0x6d7
[ 92.232243] [<ffffffff810f0861>] ? sys_mount+0x85/0xbf
[ 92.232243] [<ffffffff8132dbe9>] ? system_call_fastpath+0x16/0x1b
So I suppose for now that the «space cache» stuff is working, so maybe I
should retry in some hours, when they will not be IO anymore ?
Olivier
^ permalink raw reply [flat|nested] 6+ messages in thread
* Re: System unmountable RW
2013-02-02 11:04 ` Olivier Bonvalet
@ 2013-02-02 12:44 ` Olivier Bonvalet
2013-02-02 13:15 ` Olivier Bonvalet
0 siblings, 1 reply; 6+ messages in thread
From: Olivier Bonvalet @ 2013-02-02 12:44 UTC (permalink / raw)
To: cwillu; +Cc: linux-btrfs
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 compression
> > > Feb 1 22:32:38 frozen kernel: [ 65.780700] btrfs: not using ssd allocation scheme
> > > Feb 1 22:32:38 frozen kernel: [ 65.780706] btrfs: disk space caching is enabled
> > >
> > >
> > > I let that mount run days, without any success. It stay running, and I can't interrupt it (CTRL+C or kill).
> >
> > Hit alt-sysrq-w at that point, and then post your dmesg; there should
> > be at least one stacktrace in there (possibly many), which should give
> > a good idea where it's hanging up.
> > --
>
> Thanks for your help !
>
> So, I upgraded to a 3.7.5 kernel (I had to recompile a kernel to enable
> sysrq), and just after reboot, I did a "mount -o remount,rw /backup/"
> followed by that sysrq :
>
> [ 70.382124] btrfs: force zlib compression
> [ 70.382139] btrfs: not using ssd allocation scheme
> [ 70.382145] btrfs: disk space caching is enabled
> [ 92.228436] SysRq : Show Blocked State
> [ 92.228451] task PC stack pid father
> [ 92.228471] btrfs-cache-1 D ffff8802bfd92080 0 1766 2 0x00000000
> [ 92.228481] ffff8802af9e5a20 0000000000000246 0000000000000008 ffff8802b0c6d3b0
> [ 92.228494] 0000000000012080 ffff8802afc83fd8 ffff8802afc83fd8 ffff8802af9e5a20
> [ 92.228505] 0000000000000000 ffff8802bfd92080 ffff8802af9e5a20 ffff8802afc83b30
> [ 92.228517] Call Trace:
> [ 92.228530] [<ffffffff810a0b75>] ? __lock_page+0x66/0x66
> [ 92.228540] [<ffffffff8132c920>] ? io_schedule+0x56/0x6d
> [ 92.228548] [<ffffffff810a0b7c>] ? sleep_on_page+0x7/0xc
> [ 92.228556] [<ffffffff8132b98d>] ? __wait_on_bit+0x3e/0x75
> [ 92.228564] [<ffffffff810a0c31>] ? wait_on_page_bit+0x6e/0x73
> [ 92.228574] [<ffffffff81060544>] ? autoremove_wake_function+0x2a/0x2a
> [ 92.228601] [<ffffffffa005889d>] ? read_extent_buffer_pages+0x1f3/0x247 [btrfs]
> [ 92.228622] [<ffffffffa003c299>] ? btree_readpage_end_io_hook+0x1d9/0x1d9 [btrfs]
> [ 92.228643] [<ffffffffa003b7ea>] ? btree_read_extent_buffer_pages.constprop.118+0x5a/0xf3 [btrfs]
> [ 92.228663] [<ffffffffa003caa0>] ? read_tree_block+0x25/0x2d [btrfs]
> [ 92.228677] [<ffffffffa00279e7>] ? read_block_for_search.isra.51+0x294/0x2cc [btrfs]
> [ 92.228694] [<ffffffffa002b6fc>] ? btrfs_next_old_leaf+0x156/0x324 [btrfs]
> [ 92.228711] [<ffffffffa002ed74>] ? caching_thread+0x19c/0x2d0 [btrfs]
> [ 92.228721] [<ffffffff8107ba5f>] ? arch_local_irq_restore+0x7/0x8
> [ 92.228742] [<ffffffffa0060d01>] ? worker_loop+0x175/0x4b0 [btrfs]
> [ 92.228761] [<ffffffffa0060b8c>] ? btrfs_queue_worker+0x27a/0x27a [btrfs]
> [ 92.228780] [<ffffffffa0060b8c>] ? btrfs_queue_worker+0x27a/0x27a [btrfs]
> [ 92.228789] [<ffffffff8105fc53>] ? kthread+0x81/0x89
> [ 92.228797] [<ffffffff81002c46>] ? xen_mc_issue.constprop.27+0x6/0x1e
> [ 92.228806] [<ffffffff81060000>] ? kthread_unpark+0x2a/0x41
> [ 92.228814] [<ffffffff8105fbd2>] ? __kthread_parkme+0x5b/0x5b
> [ 92.228824] [<ffffffff8132db3c>] ? ret_from_fork+0x7c/0xb0
> [ 92.228832] [<ffffffff8105fbd2>] ? __kthread_parkme+0x5b/0x5b
> [ 92.228839] btrfs-transacti D ffff8802bfd12080 0 1788 2 0x00000000
> [ 92.228848] ffff8802af9e39f0 0000000000000246 000000000000002a ffff8802b0c6cd40
> [ 92.228860] 0000000000012080 ffff8802a9d7bfd8 ffff8802a9d7bfd8 ffff8802af9e39f0
> [ 92.228871] ffffffff8107ba5f ffff8802aa226000 ffff8802af7241e8 ffff8802a9d7bdf0
> [ 92.228882] Call Trace:
> [ 92.228889] [<ffffffff8107ba5f>] ? arch_local_irq_restore+0x7/0x8
> [ 92.228909] [<ffffffffa0040fdf>] ? wait_current_trans.isra.33+0xb3/0xe7 [btrfs]
> [ 92.228919] [<ffffffff8106051a>] ? abort_exclusive_wait+0x79/0x79
> [ 92.228938] [<ffffffffa0042454>] ? start_transaction+0x33f/0x366 [btrfs]
> [ 92.228956] [<ffffffffa003b60e>] ? transaction_kthread+0xbe/0x183 [btrfs]
> [ 92.228973] [<ffffffffa003b550>] ? try_to_freeze+0x2c/0x2c [btrfs]
> [ 92.228989] [<ffffffffa003b550>] ? try_to_freeze+0x2c/0x2c [btrfs]
> [ 92.228997] [<ffffffff8105fc53>] ? kthread+0x81/0x89
> [ 92.229005] [<ffffffff81002c46>] ? xen_mc_issue.constprop.27+0x6/0x1e
> [ 92.229013] [<ffffffff81060000>] ? kthread_unpark+0x2a/0x41
> [ 92.229021] [<ffffffff8105fbd2>] ? __kthread_parkme+0x5b/0x5b
> [ 92.229030] [<ffffffff8132db3c>] ? ret_from_fork+0x7c/0xb0
> [ 92.229037] [<ffffffff8105fbd2>] ? __kthread_parkme+0x5b/0x5b
> [ 92.229049] mount D ffff8802bfc92080 0 2642 2595 0x00000000
> [ 92.229057] ffff8802b031b9f0 0000000000000286 ffff8802aa300408 ffff8802b0c6c6d0
> [ 92.229068] 0000000000012080 ffff8802afdebfd8 ffff8802afdebfd8 ffff8802b031b9f0
> [ 92.229079] ffffffffa006cce5 ffff8802b0cbc5c0 ffff8802b031b9f0 ffffffffffffffff
> [ 92.229090] Call Trace:
> [ 92.229109] [<ffffffffa006cce5>] ? __lookup_free_space_inode+0xd5/0x104 [btrfs]
> [ 92.229119] [<ffffffff8132cf5b>] ? rwsem_down_failed_common+0xe3/0x117
> [ 92.229129] [<ffffffff8119d543>] ? call_rwsem_down_write_failed+0x13/0x20
> [ 92.229149] [<ffffffffa006eebe>] ? load_free_space_cache+0xd1/0x16a [btrfs]
> [ 92.229158] [<ffffffff8132bfc6>] ? down_write+0x1c/0x1d
> [ 92.229173] [<ffffffffa002d151>] ? cache_block_group.isra.56+0x2a5/0x30e [btrfs]
> [ 92.229182] [<ffffffff8106051a>] ? abort_exclusive_wait+0x79/0x79
> [ 92.229197] [<ffffffffa002ba70>] ? spin_unlock+0x5/0x8 [btrfs]
> [ 92.229213] [<ffffffffa0030d98>] ? find_free_extent.isra.77+0x342/0x7a4 [btrfs]
> [ 92.229228] [<ffffffffa0027203>] ? comp_keys+0x26/0x2b [btrfs]
> [ 92.229247] [<ffffffffa006699a>] ? btrfs_tree_read_unlock+0x7b/0x8a [btrfs]
> [ 92.229262] [<ffffffffa002ba70>] ? spin_unlock+0x5/0x8 [btrfs]
> [ 92.229279] [<ffffffffa00335f1>] ? btrfs_reserve_extent+0x7c/0x100 [btrfs]
> [ 92.229300] [<ffffffffa00466f7>] ? __btrfs_prealloc_file_range+0xc9/0x30f [btrfs]
> [ 92.229311] [<ffffffff810cf871>] ? virt_to_head_page+0x7/0x2b
> [ 92.229319] [<ffffffff810d16d0>] ? kmem_cache_free+0x11/0xb5
> [ 92.229334] [<ffffffffa002ba70>] ? spin_unlock+0x5/0x8 [btrfs]
> [ 92.229353] [<ffffffffa006c3f5>] ? spin_unlock+0x5/0x8 [btrfs]
> [ 92.229370] [<ffffffffa0035443>] ? btrfs_write_dirty_block_groups+0x214/0x50f [btrfs]
> [ 92.229385] [<ffffffffa0089741>] ? commit_cowonly_roots+0x11e/0x1dd [btrfs]
> [ 92.229406] [<ffffffffa0078dde>] ? spin_unlock+0x5/0x8 [btrfs]
> [ 92.232243] [<ffffffffa0041947>] ? btrfs_commit_transaction+0x467/0x927 [btrfs]
> [ 92.232243] [<ffffffff8106051a>] ? abort_exclusive_wait+0x79/0x79
> [ 92.232243] [<ffffffffa00423f3>] ? start_transaction+0x2de/0x366 [btrfs]
> [ 92.232243] [<ffffffffa0053196>] ? do_raw_spin_unlock+0x5/0x8 [btrfs]
> [ 92.232243] [<ffffffffa0078741>] ? btrfs_recover_relocation+0x25e/0x32b [btrfs]
> [ 92.232243] [<ffffffffa0023cd8>] ? btrfs_remount+0x10c/0x1c8 [btrfs]
> [ 92.232243] [<ffffffff810e7a52>] ? do_raw_spin_unlock+0x5/0x8
> [ 92.232243] [<ffffffff810dc07f>] ? do_remount_sb+0xb1/0x155
> [ 92.232243] [<ffffffff810f0304>] ? do_mount+0x1ff/0x6d7
> [ 92.232243] [<ffffffff810f0861>] ? sys_mount+0x85/0xbf
> [ 92.232243] [<ffffffff8132dbe9>] ? system_call_fastpath+0x16/0x1b
>
>
> So I suppose for now that the «space cache» stuff is working, so maybe I
> should retry in some hours, when they will not be IO anymore ?
>
> Olivier
>
>
>
> --
Then, after some time, there space cache process is stoped, and now I
have :
[ 6356.638082] SysRq : Show Blocked State
[ 6356.638097] task PC stack pid father
[ 6356.638116] btrfs-transacti D ffff8802bfc12080 0 1788 2 0x00000000
[ 6356.638127] ffff8802af9e39f0 0000000000000246 ffffffffa0042250 ffffffff816133f0
[ 6356.638140] 0000000000012080 ffff8802a9d7bfd8 ffff8802a9d7bfd8 ffff8802af9e39f0
[ 6356.638151] ffffffff8107ba5f ffff8802957632e8 ffff8802af7241e8 ffff8802a9d7bdf0
[ 6356.638163] Call Trace:
[ 6356.638188] [<ffffffffa0042250>] ? start_transaction+0x13b/0x366 [btrfs]
[ 6356.638201] [<ffffffff8107ba5f>] ? arch_local_irq_restore+0x7/0x8
[ 6356.638220] [<ffffffffa0040fdf>] ? wait_current_trans.isra.33+0xb3/0xe7 [btrfs]
[ 6356.638232] [<ffffffff8106051a>] ? abort_exclusive_wait+0x79/0x79
[ 6356.638251] [<ffffffffa0042454>] ? start_transaction+0x33f/0x366 [btrfs]
[ 6356.638270] [<ffffffffa003b60e>] ? transaction_kthread+0xbe/0x183 [btrfs]
[ 6356.638288] [<ffffffffa003b550>] ? try_to_freeze+0x2c/0x2c [btrfs]
[ 6356.638305] [<ffffffffa003b550>] ? try_to_freeze+0x2c/0x2c [btrfs]
[ 6356.638313] [<ffffffff8105fc53>] ? kthread+0x81/0x89
[ 6356.638322] [<ffffffff81002c46>] ? xen_mc_issue.constprop.27+0x6/0x1e
[ 6356.638331] [<ffffffff81060000>] ? kthread_unpark+0x2a/0x41
[ 6356.638339] [<ffffffff8105fbd2>] ? __kthread_parkme+0x5b/0x5b
[ 6356.638349] [<ffffffff8132db3c>] ? ret_from_fork+0x7c/0xb0
[ 6356.638357] [<ffffffff8105fbd2>] ? __kthread_parkme+0x5b/0x5b
[ 6356.638368] mount D ffff8802bfc12080 0 2642 2595 0x00000000
[ 6356.638378] ffff8802b031b9f0 0000000000000286 000000000000000e ffffffff816133f0
[ 6356.638390] 0000000000012080 ffff8802afdebfd8 ffff8802afdebfd8 ffff8802b031b9f0
[ 6356.638401] ffffffff8107ba5f ffff8802aa2b6810 ffff8802afdeb7b0 ffff8802afdeb7c8
[ 6356.638412] Call Trace:
[ 6356.638420] [<ffffffff8107ba5f>] ? arch_local_irq_restore+0x7/0x8
[ 6356.638441] [<ffffffffa0066660>] ? btrfs_tree_lock+0xcf/0x224 [btrfs]
[ 6356.638463] [<ffffffffa0057941>] ? alloc_extent_buffer+0x6f/0x2d6 [btrfs]
[ 6356.638472] [<ffffffff8106051a>] ? abort_exclusive_wait+0x79/0x79
[ 6356.638490] [<ffffffffa00338c4>] ? btrfs_init_new_buffer+0x5a/0xe2 [btrfs]
[ 6356.638507] [<ffffffffa0033aeb>] ? btrfs_alloc_free_block+0x19f/0x29d [btrfs]
[ 6356.638518] [<ffffffff810a7e26>] ? __set_page_dirty_nobuffers+0xc4/0xe0
[ 6356.638532] [<ffffffffa00261a8>] ? __btrfs_cow_block+0xf2/0x372 [btrfs]
[ 6356.638547] [<ffffffffa0026551>] ? btrfs_cow_block+0xee/0xfd [btrfs]
[ 6356.638562] [<ffffffffa00290e8>] ? btrfs_search_slot+0x234/0x660 [btrfs]
[ 6356.638577] [<ffffffffa002a475>] ? btrfs_insert_empty_items+0x5d/0xae [btrfs]
[ 6356.638595] [<ffffffffa0032b0a>] ? run_clustered_refs+0x4b1/0x81d [btrfs]
[ 6356.638604] [<ffffffff8107ba5f>] ? arch_local_irq_restore+0x7/0x8
[ 6356.638621] [<ffffffffa00350eb>] ? btrfs_run_delayed_refs+0xea/0x22e [btrfs]
[ 6356.638641] [<ffffffffa00418c8>] ? btrfs_commit_transaction+0x3e8/0x927 [btrfs]
[ 6356.638651] [<ffffffff8106051a>] ? abort_exclusive_wait+0x79/0x79
[ 6356.638668] [<ffffffffa0041f8e>] ? __btrfs_end_transaction+0x158/0x2c4 [btrfs]
[ 6356.638685] [<ffffffffa002ba70>] ? spin_unlock+0x5/0x8 [btrfs]
[ 6356.638701] [<ffffffffa0033f34>] ? btrfs_drop_snapshot+0x34b/0x4b5 [btrfs]
[ 6356.638723] [<ffffffffa0077b95>] ? merge_reloc_roots+0xe0/0x113 [btrfs]
[ 6356.638742] [<ffffffffa007874f>] ? btrfs_recover_relocation+0x26c/0x32b [btrfs]
[ 6356.638756] [<ffffffffa0023cd8>] ? btrfs_remount+0x10c/0x1c8 [btrfs]
[ 6356.638765] [<ffffffff810e7a52>] ? do_raw_spin_unlock+0x5/0x8
[ 6356.638774] [<ffffffff810dc07f>] ? do_remount_sb+0xb1/0x155
[ 6356.638782] [<ffffffff810f0304>] ? do_mount+0x1ff/0x6d7
[ 6356.638790] [<ffffffff810f0861>] ? sys_mount+0x85/0xbf
[ 6356.638798] [<ffffffff8132dbe9>] ? system_call_fastpath+0x16/0x1b
^ permalink raw reply [flat|nested] 6+ messages in thread
* Re: System unmountable RW
2013-02-02 12:44 ` Olivier Bonvalet
@ 2013-02-02 13:15 ` Olivier Bonvalet
2013-02-08 16:30 ` David Sterba
0 siblings, 1 reply; 6+ messages in thread
From: Olivier Bonvalet @ 2013-02-02 13:15 UTC (permalink / raw)
To: cwillu; +Cc: linux-btrfs
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] task PC stack pid father
[ 8081.557053] btrfs-transacti D ffff8802bfc12080 0 1788 2 0x00000000
[ 8081.557064] ffff8802af9e39f0 0000000000000246 ffffffffa0042250 ffffffff816133f0
[ 8081.557076] 0000000000012080 ffff8802a9d7bfd8 ffff8802a9d7bfd8 ffff8802af9e39f0
[ 8081.557088] ffffffff8107ba5f ffff8802957632e8 ffff8802af7241e8 ffff8802a9d7bdf0
[ 8081.557099] Call Trace:
[ 8081.557124] [<ffffffffa0042250>] ? start_transaction+0x13b/0x366 [btrfs]
[ 8081.557137] [<ffffffff8107ba5f>] ? arch_local_irq_restore+0x7/0x8
[ 8081.557157] [<ffffffffa0040fdf>] ? wait_current_trans.isra.33+0xb3/0xe7 [btrfs]
[ 8081.557168] [<ffffffff8106051a>] ? abort_exclusive_wait+0x79/0x79
[ 8081.557187] [<ffffffffa0042454>] ? start_transaction+0x33f/0x366 [btrfs]
[ 8081.557206] [<ffffffffa003b60e>] ? transaction_kthread+0xbe/0x183 [btrfs]
[ 8081.557224] [<ffffffffa003b550>] ? try_to_freeze+0x2c/0x2c [btrfs]
[ 8081.557240] [<ffffffffa003b550>] ? try_to_freeze+0x2c/0x2c [btrfs]
[ 8081.557249] [<ffffffff8105fc53>] ? kthread+0x81/0x89
[ 8081.557258] [<ffffffff81002c46>] ? xen_mc_issue.constprop.27+0x6/0x1e
[ 8081.557267] [<ffffffff81060000>] ? kthread_unpark+0x2a/0x41
[ 8081.557275] [<ffffffff8105fbd2>] ? __kthread_parkme+0x5b/0x5b
[ 8081.557285] [<ffffffff8132db3c>] ? ret_from_fork+0x7c/0xb0
[ 8081.557293] [<ffffffff8105fbd2>] ? __kthread_parkme+0x5b/0x5b
[ 8081.557304] mount D ffff8802bfc12080 0 2642 2595 0x00000000
[ 8081.557314] ffff8802b031b9f0 0000000000000286 000000000000000e ffffffff816133f0
[ 8081.557325] 0000000000012080 ffff8802afdebfd8 ffff8802afdebfd8 ffff8802b031b9f0
[ 8081.557336] ffffffff8107ba5f ffff8802aa2b6810 ffff8802afdeb7b0 ffff8802afdeb7c8
[ 8081.557348] Call Trace:
[ 8081.557355] [<ffffffff8107ba5f>] ? arch_local_irq_restore+0x7/0x8
[ 8081.557376] [<ffffffffa0066660>] ? btrfs_tree_lock+0xcf/0x224 [btrfs]
[ 8081.557399] [<ffffffffa0057941>] ? alloc_extent_buffer+0x6f/0x2d6 [btrfs]
[ 8081.557408] [<ffffffff8106051a>] ? abort_exclusive_wait+0x79/0x79
[ 8081.557426] [<ffffffffa00338c4>] ? btrfs_init_new_buffer+0x5a/0xe2 [btrfs]
[ 8081.557443] [<ffffffffa0033aeb>] ? btrfs_alloc_free_block+0x19f/0x29d [btrfs]
[ 8081.557454] [<ffffffff810a7e26>] ? __set_page_dirty_nobuffers+0xc4/0xe0
[ 8081.557468] [<ffffffffa00261a8>] ? __btrfs_cow_block+0xf2/0x372 [btrfs]
[ 8081.557483] [<ffffffffa0026551>] ? btrfs_cow_block+0xee/0xfd [btrfs]
[ 8081.557498] [<ffffffffa00290e8>] ? btrfs_search_slot+0x234/0x660 [btrfs]
[ 8081.557513] [<ffffffffa002a475>] ? btrfs_insert_empty_items+0x5d/0xae [btrfs]
[ 8081.557531] [<ffffffffa0032b0a>] ? run_clustered_refs+0x4b1/0x81d [btrfs]
[ 8081.557540] [<ffffffff8107ba5f>] ? arch_local_irq_restore+0x7/0x8
[ 8081.557557] [<ffffffffa00350eb>] ? btrfs_run_delayed_refs+0xea/0x22e [btrfs]
[ 8081.557577] [<ffffffffa00418c8>] ? btrfs_commit_transaction+0x3e8/0x927 [btrfs]
[ 8081.557587] [<ffffffff8106051a>] ? abort_exclusive_wait+0x79/0x79
[ 8081.557605] [<ffffffffa0041f8e>] ? __btrfs_end_transaction+0x158/0x2c4 [btrfs]
[ 8081.557621] [<ffffffffa002ba70>] ? spin_unlock+0x5/0x8 [btrfs]
[ 8081.557638] [<ffffffffa0033f34>] ? btrfs_drop_snapshot+0x34b/0x4b5 [btrfs]
[ 8081.557659] [<ffffffffa0077b95>] ? merge_reloc_roots+0xe0/0x113 [btrfs]
[ 8081.557679] [<ffffffffa007874f>] ? btrfs_recover_relocation+0x26c/0x32b [btrfs]
[ 8081.557693] [<ffffffffa0023cd8>] ? btrfs_remount+0x10c/0x1c8 [btrfs]
[ 8081.557702] [<ffffffff810e7a52>] ? do_raw_spin_unlock+0x5/0x8
[ 8081.557711] [<ffffffff810dc07f>] ? do_remount_sb+0xb1/0x155
[ 8081.557719] [<ffffffff810f0304>] ? do_mount+0x1ff/0x6d7
[ 8081.557726] [<ffffffff810f0861>] ? sys_mount+0x85/0xbf
[ 8081.557734] [<ffffffff8132dbe9>] ? system_call_fastpath+0x16/0x1b
^ permalink raw reply [flat|nested] 6+ messages in thread
* Re: System unmountable RW
2013-02-02 13:15 ` Olivier Bonvalet
@ 2013-02-08 16:30 ` David Sterba
0 siblings, 0 replies; 6+ messages in thread
From: David Sterba @ 2013-02-08 16:30 UTC (permalink / raw)
To: Olivier Bonvalet; +Cc: cwillu, linux-btrfs
On Sat, Feb 02, 2013 at 02:15:23PM +0100, Olivier Bonvalet wrote:
> Then, 30 minutes later there is no change, so I suppose it's "frozen".
> I hope it can help :
If in doubt, look if the disk is active.
> [ 8081.557304] mount D ffff8802bfc12080 0 2642 2595 0x00000000
> [ 8081.557355] [<ffffffff8107ba5f>] ? arch_local_irq_restore+0x7/0x8
> [ 8081.557376] [<ffffffffa0066660>] ? btrfs_tree_lock+0xcf/0x224 [btrfs]
> [ 8081.557399] [<ffffffffa0057941>] ? alloc_extent_buffer+0x6f/0x2d6 [btrfs]
> [ 8081.557408] [<ffffffff8106051a>] ? abort_exclusive_wait+0x79/0x79
> [ 8081.557426] [<ffffffffa00338c4>] ? btrfs_init_new_buffer+0x5a/0xe2 [btrfs]
> [ 8081.557443] [<ffffffffa0033aeb>] ? btrfs_alloc_free_block+0x19f/0x29d [btrfs]
> [ 8081.557454] [<ffffffff810a7e26>] ? __set_page_dirty_nobuffers+0xc4/0xe0
> [ 8081.557468] [<ffffffffa00261a8>] ? __btrfs_cow_block+0xf2/0x372 [btrfs]
> [ 8081.557483] [<ffffffffa0026551>] ? btrfs_cow_block+0xee/0xfd [btrfs]
> [ 8081.557498] [<ffffffffa00290e8>] ? btrfs_search_slot+0x234/0x660 [btrfs]
> [ 8081.557513] [<ffffffffa002a475>] ? btrfs_insert_empty_items+0x5d/0xae [btrfs]
> [ 8081.557531] [<ffffffffa0032b0a>] ? run_clustered_refs+0x4b1/0x81d [btrfs]
> [ 8081.557540] [<ffffffff8107ba5f>] ? arch_local_irq_restore+0x7/0x8
> [ 8081.557557] [<ffffffffa00350eb>] ? btrfs_run_delayed_refs+0xea/0x22e [btrfs]
> [ 8081.557577] [<ffffffffa00418c8>] ? btrfs_commit_transaction+0x3e8/0x927 [btrfs]
> [ 8081.557587] [<ffffffff8106051a>] ? abort_exclusive_wait+0x79/0x79
> [ 8081.557605] [<ffffffffa0041f8e>] ? __btrfs_end_transaction+0x158/0x2c4 [btrfs]
> [ 8081.557621] [<ffffffffa002ba70>] ? spin_unlock+0x5/0x8 [btrfs]
> [ 8081.557638] [<ffffffffa0033f34>] ? btrfs_drop_snapshot+0x34b/0x4b5 [btrfs]
> [ 8081.557659] [<ffffffffa0077b95>] ? merge_reloc_roots+0xe0/0x113 [btrfs]
> [ 8081.557679] [<ffffffffa007874f>] ? btrfs_recover_relocation+0x26c/0x32b [btrfs]
This means that there was an interrupted balance in progress before, and
now it tries to continue. You may optionally avoid restarting balance
with 'skip_balance' mount option and then cancel the balance.
david
^ permalink raw reply [flat|nested] 6+ messages in thread
end of thread, other threads:[~2013-02-08 16:30 UTC | newest]
Thread overview: 6+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2013-02-01 22:11 System unmountable RW Olivier Bonvalet
2013-02-01 23:09 ` cwillu
2013-02-02 11:04 ` Olivier Bonvalet
2013-02-02 12:44 ` Olivier Bonvalet
2013-02-02 13:15 ` Olivier Bonvalet
2013-02-08 16:30 ` David Sterba
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.