All of lore.kernel.org
 help / color / mirror / Atom feed
* Kernel 4.1.4 btrfs forced read-only during rsync
@ 2015-08-19 13:23 E V
  2015-08-19 15:58 ` Goffredo Baroncelli
  2015-08-20  3:17 ` Anand Jain
  0 siblings, 2 replies; 5+ messages in thread
From: E V @ 2015-08-19 13:23 UTC (permalink / raw)
  To: linux-btrfs

linux 4.1.4 forced read-only during an rsync, complaining about lack
of space, with ~30TB free. Filesystem has 6 snapshots, basically 3
incremental rsync's of 2 different external filesystems. Not sure how
to proceed, balance -dusage=5 then try and remount, doesn't balance
need rw?

# btrfs file usage /mirror
Overall:
    Device size:                 140.07TiB
    Device allocated:            109.58TiB
    Device unallocated:           30.48TiB
    Device missing:                  0.00B
    Used:                        106.40TiB
    Free (estimated):             33.67TiB      (min: 18.42TiB)
    Data ratio:                       1.00
    Metadata ratio:                   2.00
    Global reserve:              512.00MiB      (used: 0.00B)

Data,single: Size:109.32TiB, Used:106.13TiB
   /dev/sdb       22.36TiB
   /dev/sdc       22.36TiB
   /dev/sdd       32.26TiB
   /dev/sde       32.33TiB

Metadata,RAID1: Size:138.00GiB, Used:136.37GiB
   /dev/sdb       35.00GiB
   /dev/sdc       33.00GiB
   /dev/sdd      138.00GiB
   /dev/sde       70.00GiB

System,RAID1: Size:40.00MiB, Used:13.00MiB
   /dev/sdc        8.00MiB
   /dev/sdd       40.00MiB
   /dev/sde       32.00MiB

Unallocated:
   /dev/sdb        7.62TiB
   /dev/sdc        7.62TiB
   /dev/sdd        7.62TiB
   /dev/sde        7.62TiB

Aug 16 04:41:31 [1082957.226804] ------------[ cut here ]------------
Aug 16 04:41:31 [1082957.226817] BTRFS: error (device sdb) in
__btrfs_free_extent:6235: errno=-28 No space left
Aug 16 04:41:31 [1082957.226819] BTRFS info (device sdb): forced readonly
Aug 16 04:41:31 [1082957.226821] BTRFS: error (device sdb) in
btrfs_run_delayed_refs:2821: errno=-28 No space left
Aug 16 04:41:31 [1082957.226824] BTRFS: error (device sdb) in
__btrfs_free_extent:6235: errno=-28 No space left
Aug 16 04:41:31 [1082957.226826] BTRFS: error (device sdb) in
btrfs_run_delayed_refs:2821: errno=-28 No space left
Aug 16 04:41:31 [1082957.226834] BTRFS: error (device sdb) in
__btrfs_free_extent:6235: errno=-28 No space left
Aug 16 04:41:31 [1082957.226837] BTRFS: error (device sdb) in
btrfs_run_delayed_refs:2821: errno=-28 No space left
Aug 16 04:41:31 [1082957.226843] BTRFS: error (device sdb) in
__btrfs_free_extent:6235: errno=-28 No space left
Aug 16 04:41:31 [1082957.226847] BTRFS: error (device sdb) in
btrfs_run_delayed_refs:2821: errno=-28 No space left
Aug 16 04:41:31 [1082957.226850] BTRFS: error (device sdb) in
__btrfs_free_extent:6235: errno=-28 No space left
Aug 16 04:41:31 [1082957.226853] BTRFS: error (device sdb) in
btrfs_run_delayed_refs:2821: errno=-28 No space left
Aug 16 04:41:31 [1082957.226856] BTRFS: error (device sdb) in
__btrfs_free_extent:6235: errno=-28 No space left
Aug 16 04:41:31 [1082957.226858] BTRFS: error (device sdb) in
btrfs_run_delayed_refs:2821: errno=-28 No space left
Aug 16 04:41:31 [1082957.227456] WARNING: CPU: 2 PID: 23585 at
fs/btrfs/super.c:260 __btrfs_abort_transaction+0x46/0x104 [btrfs]()
Aug 16 04:41:31 [1082957.227506] BTRFS: Transaction aborted (error -28)
Aug 16 04:41:31 [1082957.227508] Modules linked in: nfsv3 nls_utf8
fuse ufs qnx4 hfsplus hfs minix ntfs vfat msdos fat jfs xfs libcrc32c
ipmi_si mpt2sas raid_class scsi_transport_sas dell_rbu nfsd nfs_acl
auth_rpcgss oid_registry nfsv4 nfs lockd grace sunrpc fscache ext4
crc16 jbd2 ext2 coretemp crct10dif_pclmul ghash_clmulni_intel
aesni_intel joydev aes_x86_64 glue_helper lrw gf128mul ablk_helper
cryptd iTCO_wdt iTCO_vendor_support ipmi_devintf dcdbas evdev psmouse
serio_raw pcspkr i7core_edac ipmi_msghandler acpi_power_meter
edac_core lpc_ich mfd_core button processor thermal_sys loop ext3
mbcache jbd btrfs xor hid_generic usbhid hid raid6_pq sg sd_mod
crc32c_intel ehci_pci uhci_hcd megaraid_sas ehci_hcd ixgbe mdio
usbcore ptp usb_common scsi_mod pps_core bnx2 [last unloaded: ipmi_si]
Aug 16 04:41:31 [1082957.228004] CPU: 2 PID: 23585 Comm: kworker/u65:0
Tainted: G          I     4.1.4 #1
Aug 16 04:41:31 [1082957.228050] Hardware name: Dell Inc. PowerVault
DL2200/0DPRKF, BIOS 1.8.2 08/23/2011
Aug 16 04:41:31 [1082957.228120] Workqueue: btrfs-extent-refs
btrfs_extent_refs_helper [btrfs]
Aug 16 04:41:31 [1082957.228153]  0000000000000000 0000000000000009
ffffffff813a6b70 ffff880001a4fae8
Aug 16 04:41:31 [1082957.228208]  ffffffff810412ed ffffffff217f4000
ffffffffa0165516 ffff88061f644800
Aug 16 04:41:31 [1082957.228262]  00000000ffffffe4 ffff88047f8e54e8
ffffffffa01e8180 000000000000185b
Aug 16 04:41:31 [1082957.228317] Call Trace:
Aug 16 04:41:31 [1082957.228348]  [<ffffffff813a6b70>] ? dump_stack+0x40/0x50
Aug 16 04:41:31 [1082957.228380]  [<ffffffff810412ed>] ?
warn_slowpath_common+0x98/0xb0
Aug 16 04:41:31 [1082957.228423]  [<ffffffffa0165516>] ?
__btrfs_abort_transaction+0x46/0x104 [btrfs]
Aug 16 04:41:31 [1082957.228471]  [<ffffffff8104134a>] ?
warn_slowpath_fmt+0x45/0x4a
Aug 16 04:41:31 [1082957.228514]  [<ffffffffa0165516>] ?
__btrfs_abort_transaction+0x46/0x104 [btrfs]
Aug 16 04:41:31 [1082957.228575]  [<ffffffffa01736a3>] ?
__btrfs_free_extent+0x82d/0x841 [btrfs]
Aug 16 04:41:31 [1082957.228611]  [<ffffffff8110f481>] ?
__drain_alien_cache+0x54/0x68
Aug 16 04:41:31 [1082957.228662]  [<ffffffffa01c346d>] ?
btrfs_merge_delayed_refs+0x19f/0x1b6 [btrfs]
Aug 16 04:41:31 [1082957.228743]  [<ffffffffa0178dac>] ?
__btrfs_run_delayed_refs+0xad2/0xc70 [btrfs]
Aug 16 04:41:31 [1082957.228812]  [<ffffffffa017abaa>] ?
btrfs_run_delayed_refs+0x60/0x18a [btrfs]
Aug 16 04:41:31 [1082957.228874]  [<ffffffffa017ad07>] ?
delayed_ref_async_start+0x33/0x71 [btrfs]
Aug 16 04:41:31 [1082957.228941]  [<ffffffffa01add73>] ?
normal_work_helper+0xc4/0x1fb [btrfs]
Aug 16 04:41:31 [1082957.228974]  [<ffffffff8105c33b>] ?
finish_task_switch+0x5d/0xb5
Aug 16 04:41:31 [1082957.229005]  [<ffffffff81052917>] ?
process_one_work+0x15c/0x289
Aug 16 04:41:31 [1082957.229036]  [<ffffffff810531c0>] ?
worker_thread+0x1de/0x288
Aug 16 04:41:31 [1082957.229065]  [<ffffffff81052fe2>] ?
rescuer_thread+0x285/0x285
Aug 16 04:41:31 [1082957.229095]  [<ffffffff81056c75>] ? kthread+0xab/0xb3
Aug 16 04:41:31 [1082957.229123]  [<ffffffff81056bca>] ?
__kthread_parkme+0x5d/0x5d
Aug 16 04:41:31 [1082957.229154]  [<ffffffff813aa8d2>] ? ret_from_fork+0x42/0x70
Aug 16 04:41:31 [1082957.229183]  [<ffffffff81056bca>] ?
__kthread_parkme+0x5d/0x5d
Aug 16 04:41:31 [1082957.229212] ---[ end trace a391b0c670fce8c0 ]---
Aug 16 04:41:31 [1082957.229240] BTRFS: error (device sdb) in
__btrfs_free_extent:6235: errno=-28 No space left
Aug 16 04:41:31 [1082957.229289] BTRFS: error (device sdb) in
btrfs_run_delayed_refs:2821: errno=-28 No space left
Aug 16 04:41:31 [1082957.289141] BTRFS: error (device sdb) in
btrfs_start_dirty_block_groups:3509: errno=-28 No space left
Aug 16 04:41:31 [1082957.289196] BTRFS: error (device sdb) in
btrfs_start_dirty_block_groups:3509: errno=-28 No space left
Aug 16 04:41:31 [1082957.289245] BTRFS warning (device sdb): Skipping
commit of aborted transaction.
Aug 16 04:41:31 [1082957.289289] BTRFS: error (device sdb) in
cleanup_transaction:1692: errno=-5 IO failure
Aug 16 04:41:31 [1082957.548123] BTRFS: error (device sdb) in
btrfs_run_delayed_refs:2821: errno=-28 No space left
Aug 16 04:41:33 [1082960.119194] pending csums is 3145728

^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: Kernel 4.1.4 btrfs forced read-only during rsync
  2015-08-19 13:23 Kernel 4.1.4 btrfs forced read-only during rsync E V
@ 2015-08-19 15:58 ` Goffredo Baroncelli
  2015-08-20  3:17 ` Anand Jain
  1 sibling, 0 replies; 5+ messages in thread
From: Goffredo Baroncelli @ 2015-08-19 15:58 UTC (permalink / raw)
  To: E V, linux-btrfs

I can't help about your issue, but also I can't resist to ask: if I read correctly
the data you have 2x 30TB disks, and 2x 40TB disks. It is correct ?
Are physical disk or virtual ones ? 

On 2015-08-19 15:23, E V wrote:
> linux 4.1.4 forced read-only during an rsync, complaining about lack
> of space, with ~30TB free. Filesystem has 6 snapshots, basically 3
> incremental rsync's of 2 different external filesystems. Not sure how
> to proceed, balance -dusage=5 then try and remount, doesn't balance
> need rw?
> 
> # btrfs file usage /mirror
> Overall:
>     Device size:                 140.07TiB
>     Device allocated:            109.58TiB
>     Device unallocated:           30.48TiB
>     Device missing:                  0.00B
>     Used:                        106.40TiB
>     Free (estimated):             33.67TiB      (min: 18.42TiB)
>     Data ratio:                       1.00
>     Metadata ratio:                   2.00
>     Global reserve:              512.00MiB      (used: 0.00B)
> 
> Data,single: Size:109.32TiB, Used:106.13TiB
>    /dev/sdb       22.36TiB
>    /dev/sdc       22.36TiB
>    /dev/sdd       32.26TiB
>    /dev/sde       32.33TiB
> 
> Metadata,RAID1: Size:138.00GiB, Used:136.37GiB
>    /dev/sdb       35.00GiB
>    /dev/sdc       33.00GiB
>    /dev/sdd      138.00GiB
>    /dev/sde       70.00GiB
> 
> System,RAID1: Size:40.00MiB, Used:13.00MiB
>    /dev/sdc        8.00MiB
>    /dev/sdd       40.00MiB
>    /dev/sde       32.00MiB
> 
> Unallocated:
>    /dev/sdb        7.62TiB
>    /dev/sdc        7.62TiB
>    /dev/sdd        7.62TiB
>    /dev/sde        7.62TiB
> 
> Aug 16 04:41:31 [1082957.226804] ------------[ cut here ]------------
> Aug 16 04:41:31 [1082957.226817] BTRFS: error (device sdb) in
> __btrfs_free_extent:6235: errno=-28 No space left
> Aug 16 04:41:31 [1082957.226819] BTRFS info (device sdb): forced readonly
> Aug 16 04:41:31 [1082957.226821] BTRFS: error (device sdb) in
> btrfs_run_delayed_refs:2821: errno=-28 No space left
> Aug 16 04:41:31 [1082957.226824] BTRFS: error (device sdb) in
> __btrfs_free_extent:6235: errno=-28 No space left
> Aug 16 04:41:31 [1082957.226826] BTRFS: error (device sdb) in
> btrfs_run_delayed_refs:2821: errno=-28 No space left
> Aug 16 04:41:31 [1082957.226834] BTRFS: error (device sdb) in
> __btrfs_free_extent:6235: errno=-28 No space left
> Aug 16 04:41:31 [1082957.226837] BTRFS: error (device sdb) in
> btrfs_run_delayed_refs:2821: errno=-28 No space left
> Aug 16 04:41:31 [1082957.226843] BTRFS: error (device sdb) in
> __btrfs_free_extent:6235: errno=-28 No space left
> Aug 16 04:41:31 [1082957.226847] BTRFS: error (device sdb) in
> btrfs_run_delayed_refs:2821: errno=-28 No space left
> Aug 16 04:41:31 [1082957.226850] BTRFS: error (device sdb) in
> __btrfs_free_extent:6235: errno=-28 No space left
> Aug 16 04:41:31 [1082957.226853] BTRFS: error (device sdb) in
> btrfs_run_delayed_refs:2821: errno=-28 No space left
> Aug 16 04:41:31 [1082957.226856] BTRFS: error (device sdb) in
> __btrfs_free_extent:6235: errno=-28 No space left
> Aug 16 04:41:31 [1082957.226858] BTRFS: error (device sdb) in
> btrfs_run_delayed_refs:2821: errno=-28 No space left
> Aug 16 04:41:31 [1082957.227456] WARNING: CPU: 2 PID: 23585 at
> fs/btrfs/super.c:260 __btrfs_abort_transaction+0x46/0x104 [btrfs]()
> Aug 16 04:41:31 [1082957.227506] BTRFS: Transaction aborted (error -28)
> Aug 16 04:41:31 [1082957.227508] Modules linked in: nfsv3 nls_utf8
> fuse ufs qnx4 hfsplus hfs minix ntfs vfat msdos fat jfs xfs libcrc32c
> ipmi_si mpt2sas raid_class scsi_transport_sas dell_rbu nfsd nfs_acl
> auth_rpcgss oid_registry nfsv4 nfs lockd grace sunrpc fscache ext4
> crc16 jbd2 ext2 coretemp crct10dif_pclmul ghash_clmulni_intel
> aesni_intel joydev aes_x86_64 glue_helper lrw gf128mul ablk_helper
> cryptd iTCO_wdt iTCO_vendor_support ipmi_devintf dcdbas evdev psmouse
> serio_raw pcspkr i7core_edac ipmi_msghandler acpi_power_meter
> edac_core lpc_ich mfd_core button processor thermal_sys loop ext3
> mbcache jbd btrfs xor hid_generic usbhid hid raid6_pq sg sd_mod
> crc32c_intel ehci_pci uhci_hcd megaraid_sas ehci_hcd ixgbe mdio
> usbcore ptp usb_common scsi_mod pps_core bnx2 [last unloaded: ipmi_si]
> Aug 16 04:41:31 [1082957.228004] CPU: 2 PID: 23585 Comm: kworker/u65:0
> Tainted: G          I     4.1.4 #1
> Aug 16 04:41:31 [1082957.228050] Hardware name: Dell Inc. PowerVault
> DL2200/0DPRKF, BIOS 1.8.2 08/23/2011
> Aug 16 04:41:31 [1082957.228120] Workqueue: btrfs-extent-refs
> btrfs_extent_refs_helper [btrfs]
> Aug 16 04:41:31 [1082957.228153]  0000000000000000 0000000000000009
> ffffffff813a6b70 ffff880001a4fae8
> Aug 16 04:41:31 [1082957.228208]  ffffffff810412ed ffffffff217f4000
> ffffffffa0165516 ffff88061f644800
> Aug 16 04:41:31 [1082957.228262]  00000000ffffffe4 ffff88047f8e54e8
> ffffffffa01e8180 000000000000185b
> Aug 16 04:41:31 [1082957.228317] Call Trace:
> Aug 16 04:41:31 [1082957.228348]  [<ffffffff813a6b70>] ? dump_stack+0x40/0x50
> Aug 16 04:41:31 [1082957.228380]  [<ffffffff810412ed>] ?
> warn_slowpath_common+0x98/0xb0
> Aug 16 04:41:31 [1082957.228423]  [<ffffffffa0165516>] ?
> __btrfs_abort_transaction+0x46/0x104 [btrfs]
> Aug 16 04:41:31 [1082957.228471]  [<ffffffff8104134a>] ?
> warn_slowpath_fmt+0x45/0x4a
> Aug 16 04:41:31 [1082957.228514]  [<ffffffffa0165516>] ?
> __btrfs_abort_transaction+0x46/0x104 [btrfs]
> Aug 16 04:41:31 [1082957.228575]  [<ffffffffa01736a3>] ?
> __btrfs_free_extent+0x82d/0x841 [btrfs]
> Aug 16 04:41:31 [1082957.228611]  [<ffffffff8110f481>] ?
> __drain_alien_cache+0x54/0x68
> Aug 16 04:41:31 [1082957.228662]  [<ffffffffa01c346d>] ?
> btrfs_merge_delayed_refs+0x19f/0x1b6 [btrfs]
> Aug 16 04:41:31 [1082957.228743]  [<ffffffffa0178dac>] ?
> __btrfs_run_delayed_refs+0xad2/0xc70 [btrfs]
> Aug 16 04:41:31 [1082957.228812]  [<ffffffffa017abaa>] ?
> btrfs_run_delayed_refs+0x60/0x18a [btrfs]
> Aug 16 04:41:31 [1082957.228874]  [<ffffffffa017ad07>] ?
> delayed_ref_async_start+0x33/0x71 [btrfs]
> Aug 16 04:41:31 [1082957.228941]  [<ffffffffa01add73>] ?
> normal_work_helper+0xc4/0x1fb [btrfs]
> Aug 16 04:41:31 [1082957.228974]  [<ffffffff8105c33b>] ?
> finish_task_switch+0x5d/0xb5
> Aug 16 04:41:31 [1082957.229005]  [<ffffffff81052917>] ?
> process_one_work+0x15c/0x289
> Aug 16 04:41:31 [1082957.229036]  [<ffffffff810531c0>] ?
> worker_thread+0x1de/0x288
> Aug 16 04:41:31 [1082957.229065]  [<ffffffff81052fe2>] ?
> rescuer_thread+0x285/0x285
> Aug 16 04:41:31 [1082957.229095]  [<ffffffff81056c75>] ? kthread+0xab/0xb3
> Aug 16 04:41:31 [1082957.229123]  [<ffffffff81056bca>] ?
> __kthread_parkme+0x5d/0x5d
> Aug 16 04:41:31 [1082957.229154]  [<ffffffff813aa8d2>] ? ret_from_fork+0x42/0x70
> Aug 16 04:41:31 [1082957.229183]  [<ffffffff81056bca>] ?
> __kthread_parkme+0x5d/0x5d
> Aug 16 04:41:31 [1082957.229212] ---[ end trace a391b0c670fce8c0 ]---
> Aug 16 04:41:31 [1082957.229240] BTRFS: error (device sdb) in
> __btrfs_free_extent:6235: errno=-28 No space left
> Aug 16 04:41:31 [1082957.229289] BTRFS: error (device sdb) in
> btrfs_run_delayed_refs:2821: errno=-28 No space left
> Aug 16 04:41:31 [1082957.289141] BTRFS: error (device sdb) in
> btrfs_start_dirty_block_groups:3509: errno=-28 No space left
> Aug 16 04:41:31 [1082957.289196] BTRFS: error (device sdb) in
> btrfs_start_dirty_block_groups:3509: errno=-28 No space left
> Aug 16 04:41:31 [1082957.289245] BTRFS warning (device sdb): Skipping
> commit of aborted transaction.
> Aug 16 04:41:31 [1082957.289289] BTRFS: error (device sdb) in
> cleanup_transaction:1692: errno=-5 IO failure
> Aug 16 04:41:31 [1082957.548123] BTRFS: error (device sdb) in
> btrfs_run_delayed_refs:2821: errno=-28 No space left
> Aug 16 04:41:33 [1082960.119194] pending csums is 3145728
> --
> To unsubscribe from this list: send the line "unsubscribe linux-btrfs" in
> the body of a message to majordomo@vger.kernel.org
> More majordomo info at  http://vger.kernel.org/majordomo-info.html
> 


-- 
gpg @keyserver.linux.it: Goffredo Baroncelli <kreijackATinwind.it>
Key fingerprint BBF5 1610 0B64 DAC6 5F7D  17B2 0EDA 9B37 8B82 E0B5

^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: Kernel 4.1.4 btrfs forced read-only during rsync
  2015-08-19 13:23 Kernel 4.1.4 btrfs forced read-only during rsync E V
  2015-08-19 15:58 ` Goffredo Baroncelli
@ 2015-08-20  3:17 ` Anand Jain
  2015-08-20 14:07   ` E V
  1 sibling, 1 reply; 5+ messages in thread
From: Anand Jain @ 2015-08-20  3:17 UTC (permalink / raw)
  To: E V, linux-btrfs


two to dig more..

> Aug 16 04:41:31 [1082957.226817] BTRFS: error (device sdb) in
> __btrfs_free_extent:6235: errno=-28 No space left
> Aug 16 04:41:31 [1082957.226819] BTRFS info (device sdb): forced readonly

::

> Aug 16 04:41:31 [1082957.289289] BTRFS: error (device sdb) in
> cleanup_transaction:1692: errno=-5 IO failure

1.
  We probably need to understand what kicked in readonly. is it
  -28 (No space left) OR -5 (EIO).

2.
  There are no media errors from the block layer, hope we are not
  fabricating the EIO in the FS layer... thats wrong.

digging more.

Thanks,  Anand

^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: Kernel 4.1.4 btrfs forced read-only during rsync
  2015-08-20  3:17 ` Anand Jain
@ 2015-08-20 14:07   ` E V
  2015-08-24 13:43     ` E V
  0 siblings, 1 reply; 5+ messages in thread
From: E V @ 2015-08-20 14:07 UTC (permalink / raw)
  To: Anand Jain; +Cc: linux-btrfs

Thanks for looking, let me know if you need any other info. I haven't
touched the system yet, but it appears I'll need to unmount to btrfs
check or mount rw,recovery to try and get it working again. Who knows
what will happen then? I can leave it as if for a few days if it will
help any diagnosis. Thanks again.

On Wed, Aug 19, 2015 at 11:17 PM, Anand Jain <anand.jain@oracle.com> wrote:
>
> two to dig more..
>
>> Aug 16 04:41:31 [1082957.226817] BTRFS: error (device sdb) in
>> __btrfs_free_extent:6235: errno=-28 No space left
>> Aug 16 04:41:31 [1082957.226819] BTRFS info (device sdb): forced readonly
>
>
> ::
>
>> Aug 16 04:41:31 [1082957.289289] BTRFS: error (device sdb) in
>> cleanup_transaction:1692: errno=-5 IO failure
>
>
> 1.
>  We probably need to understand what kicked in readonly. is it
>  -28 (No space left) OR -5 (EIO).
>
> 2.
>  There are no media errors from the block layer, hope we are not
>  fabricating the EIO in the FS layer... thats wrong.
>
> digging more.
>
> Thanks,  Anand

^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: Kernel 4.1.4 btrfs forced read-only during rsync
  2015-08-20 14:07   ` E V
@ 2015-08-24 13:43     ` E V
  0 siblings, 0 replies; 5+ messages in thread
From: E V @ 2015-08-24 13:43 UTC (permalink / raw)
  Cc: linux-btrfs

FYI, unmounted the filesystem and it checked clean:
# btrfs check /dev/sdd
Checking filesystem on /dev/sdd
UUID: 550c0f77-8f75-40f3-a64e-42c87a0c8e8d
checking extents
checking free space cache
checking fs roots
checking csums
checking root refs
found 116808409085477 bytes used err is 0
total csum bytes: 113927723420
total tree bytes: 146420203520
total fs tree bytes: 19490373632
total extent tree bytes: 6762332160
btree space waste bytes: 9826655374
file data blocks allocated: 117763247816704
 referenced 121374972489728
btrfs-progs v4.1.2

mounted again no problems, deleted a couple of snapshots to make it
free something and now rsync is running again fine.

On Thu, Aug 20, 2015 at 10:07 AM, E V <eliventer@gmail.com> wrote:
> Thanks for looking, let me know if you need any other info. I haven't
> touched the system yet, but it appears I'll need to unmount to btrfs
> check or mount rw,recovery to try and get it working again. Who knows
> what will happen then? I can leave it as if for a few days if it will
> help any diagnosis. Thanks again.
>
> On Wed, Aug 19, 2015 at 11:17 PM, Anand Jain <anand.jain@oracle.com> wrote:
>>
>> two to dig more..
>>
>>> Aug 16 04:41:31 [1082957.226817] BTRFS: error (device sdb) in
>>> __btrfs_free_extent:6235: errno=-28 No space left
>>> Aug 16 04:41:31 [1082957.226819] BTRFS info (device sdb): forced readonly
>>
>>
>> ::
>>
>>> Aug 16 04:41:31 [1082957.289289] BTRFS: error (device sdb) in
>>> cleanup_transaction:1692: errno=-5 IO failure
>>
>>
>> 1.
>>  We probably need to understand what kicked in readonly. is it
>>  -28 (No space left) OR -5 (EIO).
>>
>> 2.
>>  There are no media errors from the block layer, hope we are not
>>  fabricating the EIO in the FS layer... thats wrong.
>>
>> digging more.
>>
>> Thanks,  Anand

^ permalink raw reply	[flat|nested] 5+ messages in thread

end of thread, other threads:[~2015-08-24 13:43 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2015-08-19 13:23 Kernel 4.1.4 btrfs forced read-only during rsync E V
2015-08-19 15:58 ` Goffredo Baroncelli
2015-08-20  3:17 ` Anand Jain
2015-08-20 14:07   ` E V
2015-08-24 13:43     ` E V

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.