Updater selhal: Failed to provide the approval report: Read-only file system [3.7.1]

Hi there,

Few days ago I started to get the following message from updater
Updater selhal: Failed to provide the approval report: Read-only file system

Restart didnt help, reset or reflash I didnt tried yet, I want to know why the problem happen first.
The whole flash file system is opened as Read-Only, It looks like some problem with BTRFS.

DMESG:

[  138.880677] br-lan: port 1(eth0) entered forwarding state
[  138.900680] br-lan: port 2(eth2) entered forwarding state
[  138.991562] mvneta f1034000.ethernet eth1: Link is Up - 1Gbps/Full - flow control off
[  138.991586] IPv6: ADDRCONF(NETDEV_CHANGE): eth1: link becomes ready
[  139.260631] br-lan: port 3(wlan0) entered forwarding state
[  145.140677] device br-lan entered promiscuous mode
[  148.814178] EXT4-fs (sda1): mounted filesystem with ordered data mode. Opts:
...
[  164.377722] BTRFS warning (device mmcblk0p1): csum failed ino 645559 off 258048 csum 3384479709 expected csum 1807326239
...
[  230.139754] Custom GPIO-based W1 driver version 0.1.1
...
[  230.520912] br-lan: port 3(wlan0) entered disabled state
[  230.520972] br-lan: port 2(eth2) entered disabled state
[  230.520990] br-lan: port 1(eth0) entered disabled state
[  230.533351] device eth0 left promiscuous mode
[  230.533409] br-lan: port 1(eth0) entered disabled state
[  230.544478] IPv6: ADDRCONF(NETDEV_UP): eth0: link is not ready
[  230.546511] device eth2 left promiscuous mode
[  230.546580] br-lan: port 2(eth2) entered disabled state
[  230.558918] IPv6: ADDRCONF(NETDEV_UP): eth2: link is not ready
[  230.562342] device wlan0 left promiscuous mode
[  230.562395] br-lan: port 3(wlan0) entered disabled state
[  230.563144] device br-lan left promiscuous mode
[  230.600804] device eth0 entered promiscuous mode
[  230.606689] device eth2 entered promiscuous mode
[  230.607783] device wlan0 entered promiscuous mode
[  230.610033] br-lan: port 3(wlan0) entered forwarding state
[  230.610072] br-lan: port 3(wlan0) entered forwarding state
[  230.610088] br-lan: port 2(eth2) entered forwarding state
[  230.610100] br-lan: port 2(eth2) entered forwarding state
[  230.610113] br-lan: port 1(eth0) entered forwarding state
[  230.610125] br-lan: port 1(eth0) entered forwarding state
[  231.281720] device wlan0 left promiscuous mode
[  231.281774] br-lan: port 3(wlan0) entered disabled state
[  231.523948] br-lan: port 1(eth0) entered disabled state
[  231.524186] br-lan: port 2(eth2) entered disabled state
[  231.594327] IPv6: ADDRCONF(NETDEV_UP): wlan0: link is not ready
[  231.597394] device wlan0 entered promiscuous mode
[  231.597449] br-lan: port 3(wlan0) entered forwarding state
[  231.597474] br-lan: port 3(wlan0) entered forwarding state
[  231.676023] IPv6: ADDRCONF(NETDEV_CHANGE): wlan0: link becomes ready
[  232.590694] mvneta f1030000.ethernet eth0: Link is Up - 1Gbps/Full - flow control off
[  232.590756] br-lan: port 1(eth0) entered forwarding state
[  232.590810] br-lan: port 1(eth0) entered forwarding state
[  232.600773] mvneta f1070000.ethernet eth2: Link is Up - 1Gbps/Full - flow control off
[  232.600829] br-lan: port 2(eth2) entered forwarding state
[  232.600879] br-lan: port 2(eth2) entered forwarding state
[  233.590659] br-lan: port 3(wlan0) entered forwarding state
[  234.590652] br-lan: port 1(eth0) entered forwarding state
[  234.600665] br-lan: port 2(eth2) entered forwarding state
[  237.286637] BTRFS warning (device mmcblk0p1): mmcblk0p1 checksum verify failed on 1515323392 wanted F2E910BE found A1B863F level 0
[  237.290191] BTRFS warning (device mmcblk0p1): mmcblk0p1 checksum verify failed on 1515323392 wanted F2E910BE found 9A26D119 level 0
[  237.290218] BTRFS warning (device mmcblk0p1): Skipping commit of aborted transaction.
[  237.290223] ------------[ cut here ]------------
[  237.290233] WARNING: CPU: 0 PID: 453 at fs/btrfs/transaction.c:1840 btrfs_commit_transaction+0xa80/0xbd8()
[  237.290236] BTRFS: Transaction aborted (error -5)
[  237.290238] Modules linked in: w1_gpio_custom qcserial option iptable_nat ip6table_nat dvb_usb_af9035 ath9k w1_therm w1_gpio usb_wwan snd_usb_audio rndis_host qmi_wwan pppoe nf_nat_pptp nf_nat_ipv6 nf_nat_ipv4 nf_nat_amanda nf_conntrack_pptp nf_conntrack_ipv6 nf_conntrack_ipv4 nf_conntrack_amanda ipt_REJECT ipt_MASQUERADE ftdi_sio ebtable_nat ebtable_filter ebtable_broute dvb_usb_v2 dvb_usb_dib0700 dvb_usb dib9000 dib8000 dib7000p dib7000m dib3000mc cdc_ether ath9k_common armada_thermal xt_time xt_tcpudp xt_tcpmss xt_statistic xt_state xt_socket xt_recent xt_nfacct xt_nat xt_multiport xt_mark xt_mac xt_limit xt_length xt_id xt_hl xt_helper xt_ecn xt_dscp xt_conntrack xt_connmark xt_connlimit xt_connbytes xt_comment xt_TPROXY xt_TCPMSS xt_REDIRECT xt_NFQUEUE xt_LOG xt_HL xt_DSCP xt_CT xt_CLASSIFY wire usbserial usbnet usbip_host usbip_core ums_usbat ums_sddr55 ums_sddr09 ums_karma ums_jumpshot ums_isd200 ums_freecom ums_datafab ums_cypress ums_alauda tua9001 ts_kmp ts_fsm ts_bm thermal_sys tda18218 snd_usbmidi_lib rc_core pppox ppp_mppe ppp_async nfnetlink_queue nfnetlink_acct nf_reject_ipv4 nf_nat_tftp nf_nat_snmp_basic nf_nat_sip nf_nat_redirect nf_nat_proto_gre nf_nat_masquerade_ipv4 nf_nat_irc nf_nat_h323 nf_nat_ftp nf_log_ipv4 nf_defrag_ipv6 nf_defrag_ipv4 nf_conntrack_tftp nf_conntrack_snmp nf_conntrack_sip nf_conntrack_rtcache nf_conntrack_proto_gre nf_conntrack_netlink nf_conntrack_irc nf_conntrack_h323 nf_conntrack_ftp nf_conntrack_broadcast mxl5007t mvsdio macvlan it913x iptable_raw iptable_mangle iptable_filter ipt_ECN ip_tables hwmon fc2580 fc0013 fc0012 fc0011 ebtables ebt_vlan ebt_stp ebt_redirect ebt_pkttype ebt_mark_m ebt_mark ebt_limit ebt_among ebt_802_3 dvb_core dibx000_common dib0090 dib0070 crc_ccitt cdc_wdm ath9k_hw af9033 fuse sch_teql sch_tbf sch_sfq sch_red sch_prio sch_pie sch_netem sch_htb sch_gred sch_fq sch_dsmark sch_codel em_text em_nbyte em_meta em_cmp cls_basic act_vlan act_police act_pedit act_nat act_ipt act_gact act_csum act_bpf act_skbedit act_mirred em_u32 cls_u32 cls_tcindex cls_flow cls_route cls_fw sch_hfsc sch_ingress v4l2_common videodev ath10k_pci ath10k_core ath mac80211 cfg80211 compat ledtrig_usbdev ledtrig_oneshot xt_LED ledtrig_morse ledtrig_heartbeat ledtrig_gpio cryptodev xt_set ip_set_list_set ip_set_hash_netiface ip_set_hash_netport ip_set_hash_netnet ip_set_hash_net ip_set_hash_netportnet ip_set_hash_mac ip_set_hash_ipportnet ip_set_hash_ipportip ip_set_hash_ipport ip_set_hash_ipmark ip_set_hash_ip ip_set_bitmap_port ip_set_bitmap_ipmac ip_set_bitmap_ip ip_set ip6t_NPT ip6t_MASQUERADE nf_nat_masquerade_ipv6 nf_nat nf_conntrack ip6t_REJECT nf_reject_ipv6 nf_log_ipv6 nf_log_common ip6table_raw ip6table_mangle ip6table_filter ip6_tables pppoatm ppp_generic slhc nfsd nfsv3 nfs msdos ip_gre gre ifb sit ip6_tunnel tunnel6 tunnel4 ip_tunnel veth tun snd_compress snd_pcm_oss snd_mixer_oss snd_pcm snd_timer snd_rawmidi snd_seq_device snd_hwdep snd input_core soundcore rxkad loop vfat fat udf crc_itu_t ntfs lockd sunrpc grace minix isofs hfsplus hfs cramfs configfs cifs autofs4 kafs af_rxrpc dns_resolver dm_crypt dm_mirror dm_region_hash dm_log dm_mod br2684 atm multipath fscache raid456 async_raid6_recov async_pq async_xor async_memcpy async_tx raid10 raid1 raid0 linear md_mod xt_NFLOG x_tables nfnetlink_log nfnetlink nls_utf8 nls_koi8_r nls_cp1255 nls_iso8859_6 nls_iso8859_2 nls_iso8859_15 nls_iso8859_13 nls_iso8859_1 nls_cp932 nls_cp866 nls_cp864 nls_cp862 nls_cp852 nls_cp850 nls_cp775 nls_cp437 nls_cp1251 nls_cp1250 regmap_spi regmap_mmio regmap_i2c xts algif_skcipher algif_hash af_alg sha512_generic sha256_generic sha1_generic seqiv jitterentropy_rng drbg pcbc md5 md4 marvell_cesa hmac gf128mul fcrypt ecb des_generic ctr cmac ccm cbc authenc usb_storage xhci_plat_hcd xhci_pci xhci_hcd orion_wdt uhci_hcd ohci_platform ohci_hcd ledtrig_transient ahci_mvebu sata_mv ahci ehci_orion ehci_platform ehci_hcd sd_mod ahci_platform libahci_platform libahci libata scsi_mod xfs libcrc32c jfs f2fs exfat usbcore nls_base usb_common mii aead crypto_null
[  237.290740] CPU: 0 PID: 453 Comm: btrfs-transacti Not tainted 4.4.74-967673b9d511e4292e3bcb76c9e064bc-0 #1
[  237.290744] Hardware name: Marvell Armada 380/385 (Device Tree)
[  237.290747] Backtrace:
[  237.290759] [<c001c66c>] (dump_backtrace) from [<c001c85c>] (show_stack+0x18/0x1c)
[  237.290768]  r6:00000000 r5:60000013 r4:c06c02a4 r3:00000000
[  237.290796] [<c001c844>] (show_stack) from [<c02f1120>] (dump_stack+0x98/0xac)
[  237.290806] [<c02f1088>] (dump_stack) from [<c00292dc>] (warn_slowpath_common+0x8c/0xbc)
[  237.290812]  r6:00000730 r5:c022a3e8 r4:ee093e98 r3:c06b8de8
[  237.290825] [<c0029250>] (warn_slowpath_common) from [<c0029344>] (warn_slowpath_fmt+0x38/0x40)
[  237.290827]  r8:ee093ed4 r7:eea71400 r6:ee45ef30 r5:ee42de70 r4:ee45fcd0
[  237.290840] [<c0029310>] (warn_slowpath_fmt) from [<c022a3e8>] (btrfs_commit_transaction+0xa80/0xbd8)
[  237.290842]  r3:fffffffb r2:c05dfe78
[  237.290850] [<c0229968>] (btrfs_commit_transaction) from [<c0224e68>] (transaction_kthread+0x1a8/0x218)
[  237.290853]  r10:00000000 r9:00000000 r8:001f0d65 r7:ee092000 r6:000001f4 r5:000005c0
[  237.290861]  r4:eea71400
[  237.290868] [<c0224cc0>] (transaction_kthread) from [<c0043c94>] (kthread+0x110/0x124)
[  237.290871]  r10:00000000 r9:00000000 r8:00000000 r7:c0224cc0 r6:eea71400 r5:00000000
[  237.290879]  r4:eeb34c40
[  237.290885] [<c0043b84>] (kthread) from [<c0009db8>] (ret_from_fork+0x14/0x3c)
[  237.290888]  r7:00000000 r6:00000000 r5:c0043b84 r4:eeb34c40
[  237.290895] ---[ end trace c237b50c35d888b5 ]---
[  237.290907] BTRFS: error (device mmcblk0p1) in cleanup_transaction:1840: errno=-5 IO failure
[  237.292286] BTRFS: error (device mmcblk0p1) in btrfs_drop_snapshot:8807: errno=-5 IO failure
[  237.292290] BTRFS info (device mmcblk0p1): forced readonly
[  237.307887] BTRFS info (device mmcblk0p1): delayed_refs has NO entry
[  237.333051] device vethKN0H9G entered promiscuous mode
[  237.333402] IPv6: ADDRCONF(NETDEV_UP): vethKN0H9G: link is not ready
[  237.563926] eth0: renamed from vethD943S4
[  237.592481] IPv6: ADDRCONF(NETDEV_CHANGE): vethKN0H9G: link becomes ready
[  237.592571] br-lan: port 4(vethKN0H9G) entered forwarding state
[  237.592611] br-lan: port 4(vethKN0H9G) entered forwarding state
[  237.742569] svc: failed to register lockdv1 RPC service (errno 97).
[  239.590686] br-lan: port 4(vethKN0H9G) entered forwarding state
...
[  293.311055] nf_conntrack: automatic helper assignment is deprecated and it will be removed soon. Use the iptables CT target to attach helpers instead.
...
[  414.187490] BTRFS warning (device mmcblk0p1): csum failed ino 427564 off 458752 csum 74238440 expected csum 3120347944

Does anyone know what could happen?

Does anyone know what could happen?

The FS got damaged somehow and needs repairing. To me it seems likely that the cause is not Turris-specific.

Any idea how to repair it? As I understand I cannot work with FS until its mounted.
So far I have tried this command btrfs check /deb/mmcblk0p1with no success, mounted aborting…

I’d try these https://btrfs.wiki.kernel.org/index.php/Btrfsck but I’m not sure how to work on Turris without the mounted FS :-/

@vcunat (cau Vlado). The problem is, that the FS is mounted, so the btrfs check will not run. Maybe the last-resort restart option “5 LEDs or more: Boot to rescue shell”? If the main FS can be accessed via the rescue shell, it could be done…

@Weafyr: For me, the reflash from USB worked well (https://www.turris.cz/doc/en/howto/omnia_factory_reset). I lost my LXC containers, but the rest seems to be working fine (backup the /etc from the broken FS and then put back after reflash).

The question is, as I ask in my thread (Error opening journal: Read-only file system), is this a memory problem? Is is worn out? Is it good idea to run LXC with simple web accessed mainly by bots and just a few humans there? Should be the LXC webserver moved out to SSD (how)? These are questions that bothers me now. I have a router with possibility to run LXC container with simple webserver (yay!), but I’m afraid to do it, to not wear the built-in memory…

Ahoj! I am aware you’d have to unmount the FS, and I don’t know how to do that on Omnia. Rescue shell sounds like it’s kept off the main FS and could do it; I hope it at least contains btrfsck, etc.

Memory wear: I guess the safest options for experiments is to do them on a USB stick. They’re easy to replace and very cheap, and people tend to have some extra ones anyway.

ZdravĂ­m!
Thats exactly reason why I mentioned my thread in your, I am also interested/worried, if this can be fail of memory itself.
Good point I will try “5 Leds” this evening.
So far I have tried btrfs scrub start/status, but even that seems to fail, as its ended immediately after start with no message given.

So, create LXC container, mount USB stick with the content in it? What about the webserver engine? Is is just about the data or would it be possible to move whole container on USB, to run the whole webserver there? What would you suggest to achieve the least wearing impact to the built-in memory?

Just keep in mind, that the 5-leds (edit: I thougth Weafyr talks about 4-leds) means complete loss of everything… it’s a fresh start. Try to backup everything possible. I’m not a linux guru, so I have no idea what can be restored and what cannot. But the config of firewall, wifi, leds configuration and so on works after restoring /etc folder. Maybe it’s even possible to restore LXC containers, but I didn;t tried that.

5-leds is only start into rescue shell, it will not delete anything until I broke something by myself.

sorry, my fault. I ment 4-leds, now I get what you want to do. Let me know the results

So far (I am limited by remote access) I have been able to install mmc-utils into tmp and get info about MMC, I don’t see anything wrong here

root@Turris:/tmp/sbin# ./mmc extcsd read /dev/mmcblk0
=============================================
  Extended CSD rev 1.8 (MMC 5.1)
=============================================
Card Supported Command sets [S_CMD_SET: 0x01]
HPI Features [HPI_FEATURE: 0x01]: implementation based on CMD13
Background operations support [BKOPS_SUPPORT: 0x01]
Max Packet Read Cmd [MAX_PACKED_READS: 0x3f]
Max Packet Write Cmd [MAX_PACKED_WRITES: 0x3f]
Data TAG support [DATA_TAG_SUPPORT: 0x01]
Data TAG Unit Size [TAG_UNIT_SIZE: 0x00]
Tag Resources Size [TAG_RES_SIZE: 0x00]
Context Management Capabilities [CONTEXT_CAPABILITIES: 0x78]
Large Unit Size [LARGE_UNIT_SIZE_M1: 0x01]
Extended partition attribute support [EXT_SUPPORT: 0x03]
Generic CMD6 Timer [GENERIC_CMD6_TIME: 0x05]
Power off notification [POWER_OFF_LONG_TIME: 0x64]
Cache Size [CACHE_SIZE] is 1024 KiB
Background operations status [BKOPS_STATUS: 0x00]
1st Initialisation Time after programmed sector [INI_TIMEOUT_AP: 0x0a]
Power class for 52MHz, DDR at 3.6V [PWR_CL_DDR_52_360: 0x00]
Power class for 52MHz, DDR at 1.95V [PWR_CL_DDR_52_195: 0x00]
Power class for 200MHz at 3.6V [PWR_CL_200_360: 0x00]
Power class for 200MHz, at 1.95V [PWR_CL_200_195: 0x00]
Minimum Performance for 8bit at 52MHz in DDR mode:
 [MIN_PERF_DDR_W_8_52: 0x00]
 [MIN_PERF_DDR_R_8_52: 0x00]
TRIM Multiplier [TRIM_MULT: 0x01]
Secure Feature support [SEC_FEATURE_SUPPORT: 0x55]
Boot Information [BOOT_INFO: 0x07]
 Device supports alternative boot method
 Device supports dual data rate during boot
 Device supports high speed timing during boot
Boot partition size [BOOT_SIZE_MULTI: 0x20]
Access size [ACC_SIZE: 0x06]
High-capacity erase unit size [HC_ERASE_GRP_SIZE: 0x01]
 i.e. 512 KiB
High-capacity erase timeout [ERASE_TIMEOUT_MULT: 0x02]
Reliable write sector count [REL_WR_SEC_C: 0x01]
High-capacity W protect group size [HC_WP_GRP_SIZE: 0x08]
 i.e. 4096 KiB
Sleep current (VCC) [S_C_VCC: 0x07]
Sleep current (VCCQ) [S_C_VCCQ: 0x07]
Sleep/awake timeout [S_A_TIMEOUT: 0x11]
Sector Count [SEC_COUNT: 0x00e90000]
 Device is block-addressed
Minimum Write Performance for 8bit:
 [MIN_PERF_W_8_52: 0x00]
 [MIN_PERF_R_8_52: 0x00]
 [MIN_PERF_W_8_26_4_52: 0x00]
 [MIN_PERF_R_8_26_4_52: 0x00]
Minimum Write Performance for 4bit:
 [MIN_PERF_W_4_26: 0x00]
 [MIN_PERF_R_4_26: 0x00]
Power classes registers:
 [PWR_CL_26_360: 0x00]
 [PWR_CL_52_360: 0x00]
 [PWR_CL_26_195: 0x00]
 [PWR_CL_52_195: 0x00]
Partition switching timing [PARTITION_SWITCH_TIME: 0x01]
Out-of-interrupt busy timing [OUT_OF_INTERRUPT_TIME: 0x05]
I/O Driver Strength [DRIVER_STRENGTH: 0x1f]
Card Type [CARD_TYPE: 0x57]
 HS200 Single Data Rate eMMC @200MHz 1.8VI/O
 HS Dual Data Rate eMMC @52MHz 1.8V or 3VI/O
 HS eMMC @52MHz - at rated device voltage(s)
 HS eMMC @26MHz - at rated device voltage(s)
CSD structure version [CSD_STRUCTURE: 0x02]
Command set [CMD_SET: 0x00]
Command set revision [CMD_SET_REV: 0x00]
Power class [POWER_CLASS: 0x00]
High-speed interface timing [HS_TIMING: 0x01]
Erased memory content [ERASED_MEM_CONT: 0x00]
Boot configuration bytes [PARTITION_CONFIG: 0x00]
 Not boot enable
 No access to boot partition
Boot config protection [BOOT_CONFIG_PROT: 0x00]
Boot bus Conditions [BOOT_BUS_CONDITIONS: 0x00]
High-density erase group definition [ERASE_GROUP_DEF: 0x00]
Boot write protection status registers [BOOT_WP_STATUS]: 0x00
Boot Area Write protection [BOOT_WP]: 0x00
 Power ro locking: possible
 Permanent ro locking: possible
 ro lock status: not locked
User area write protection register [USER_WP]: 0x00
FW configuration [FW_CONFIG]: 0x00
RPMB Size [RPMB_SIZE_MULT]: 0x20
Write reliability setting register [WR_REL_SET]: 0x1f
 user area: the device protects existing data if a power failure occurs during a write operation
 partition 1: the device protects existing data if a power failure occurs during a write operation
 partition 2: the device protects existing data if a power failure occurs during a write operation
 partition 3: the device protects existing data if a power failure occurs during a write operation
 partition 4: the device protects existing data if a power failure occurs during a write operation
Write reliability parameter register [WR_REL_PARAM]: 0x15
 Device supports writing EXT_CSD_WR_REL_SET
 Device supports the enhanced def. of reliable write
Enable background operations handshake [BKOPS_EN]: 0x00
H/W reset function [RST_N_FUNCTION]: 0x00
HPI management [HPI_MGMT]: 0x01
Partitioning Support [PARTITIONING_SUPPORT]: 0x07
 Device support partitioning feature
 Device can have enhanced tech.
Max Enhanced Area Size [MAX_ENH_SIZE_MULT]: 0x0003a4
 i.e. 3817472 KiB
Partitions attribute [PARTITIONS_ATTRIBUTE]: 0x00
Partitioning Setting [PARTITION_SETTING_COMPLETED]: 0x00
 Device partition setting NOT complete
General Purpose Partition Size
 [GP_SIZE_MULT_4]: 0x000000
 [GP_SIZE_MULT_3]: 0x000000
 [GP_SIZE_MULT_2]: 0x000000
 [GP_SIZE_MULT_1]: 0x000000
Enhanced User Data Area Size [ENH_SIZE_MULT]: 0x000000
 i.e. 0 KiB
Enhanced User Data Start Address [ENH_START_ADDR]: 0x000000
 i.e. 0 bytes offset
Bad Block Management mode [SEC_BAD_BLK_MGMNT]: 0x00
Periodic Wake-up [PERIODIC_WAKEUP]: 0x00
Program CID/CSD in DDR mode support [PROGRAM_CID_CSD_DDR_SUPPORT]: 0x00
Vendor Specific Fields [VENDOR_SPECIFIC_FIELD[127]]: 0x00
Vendor Specific Fields [VENDOR_SPECIFIC_FIELD[126]]: 0x00
Vendor Specific Fields [VENDOR_SPECIFIC_FIELD[125]]: 0x00
Vendor Specific Fields [VENDOR_SPECIFIC_FIELD[124]]: 0x00
Vendor Specific Fields [VENDOR_SPECIFIC_FIELD[123]]: 0x00
Vendor Specific Fields [VENDOR_SPECIFIC_FIELD[122]]: 0x00
Vendor Specific Fields [VENDOR_SPECIFIC_FIELD[121]]: 0x00
Vendor Specific Fields [VENDOR_SPECIFIC_FIELD[120]]: 0x00
Vendor Specific Fields [VENDOR_SPECIFIC_FIELD[119]]: 0x00
Vendor Specific Fields [VENDOR_SPECIFIC_FIELD[118]]: 0x00
Vendor Specific Fields [VENDOR_SPECIFIC_FIELD[117]]: 0x00
Vendor Specific Fields [VENDOR_SPECIFIC_FIELD[116]]: 0x00
Vendor Specific Fields [VENDOR_SPECIFIC_FIELD[115]]: 0x00
Vendor Specific Fields [VENDOR_SPECIFIC_FIELD[114]]: 0x00
Vendor Specific Fields [VENDOR_SPECIFIC_FIELD[113]]: 0x00
Vendor Specific Fields [VENDOR_SPECIFIC_FIELD[112]]: 0x00
Vendor Specific Fields [VENDOR_SPECIFIC_FIELD[111]]: 0x00
Vendor Specific Fields [VENDOR_SPECIFIC_FIELD[110]]: 0x00
Vendor Specific Fields [VENDOR_SPECIFIC_FIELD[109]]: 0x00
Vendor Specific Fields [VENDOR_SPECIFIC_FIELD[108]]: 0x00
Vendor Specific Fields [VENDOR_SPECIFIC_FIELD[107]]: 0x00
Vendor Specific Fields [VENDOR_SPECIFIC_FIELD[106]]: 0x00
Vendor Specific Fields [VENDOR_SPECIFIC_FIELD[105]]: 0x00
Vendor Specific Fields [VENDOR_SPECIFIC_FIELD[104]]: 0x00
Vendor Specific Fields [VENDOR_SPECIFIC_FIELD[103]]: 0x00
Vendor Specific Fields [VENDOR_SPECIFIC_FIELD[102]]: 0x00
Vendor Specific Fields [VENDOR_SPECIFIC_FIELD[101]]: 0x00
Vendor Specific Fields [VENDOR_SPECIFIC_FIELD[100]]: 0x00
Vendor Specific Fields [VENDOR_SPECIFIC_FIELD[99]]: 0x00
Vendor Specific Fields [VENDOR_SPECIFIC_FIELD[98]]: 0x00
Vendor Specific Fields [VENDOR_SPECIFIC_FIELD[97]]: 0x00
Vendor Specific Fields [VENDOR_SPECIFIC_FIELD[96]]: 0x00
Vendor Specific Fields [VENDOR_SPECIFIC_FIELD[95]]: 0x00
Vendor Specific Fields [VENDOR_SPECIFIC_FIELD[94]]: 0x00
Vendor Specific Fields [VENDOR_SPECIFIC_FIELD[93]]: 0x00
Vendor Specific Fields [VENDOR_SPECIFIC_FIELD[92]]: 0x00
Vendor Specific Fields [VENDOR_SPECIFIC_FIELD[91]]: 0x00
Vendor Specific Fields [VENDOR_SPECIFIC_FIELD[90]]: 0x00
Vendor Specific Fields [VENDOR_SPECIFIC_FIELD[89]]: 0x00
Vendor Specific Fields [VENDOR_SPECIFIC_FIELD[88]]: 0x00
Vendor Specific Fields [VENDOR_SPECIFIC_FIELD[87]]: 0x00
Vendor Specific Fields [VENDOR_SPECIFIC_FIELD[86]]: 0x00
Vendor Specific Fields [VENDOR_SPECIFIC_FIELD[85]]: 0x00
Vendor Specific Fields [VENDOR_SPECIFIC_FIELD[84]]: 0x00
Vendor Specific Fields [VENDOR_SPECIFIC_FIELD[83]]: 0x00
Vendor Specific Fields [VENDOR_SPECIFIC_FIELD[82]]: 0x00
Vendor Specific Fields [VENDOR_SPECIFIC_FIELD[81]]: 0x00
Vendor Specific Fields [VENDOR_SPECIFIC_FIELD[80]]: 0x00
Vendor Specific Fields [VENDOR_SPECIFIC_FIELD[79]]: 0x00
Vendor Specific Fields [VENDOR_SPECIFIC_FIELD[78]]: 0x00
Vendor Specific Fields [VENDOR_SPECIFIC_FIELD[77]]: 0x00
Vendor Specific Fields [VENDOR_SPECIFIC_FIELD[76]]: 0x00
Vendor Specific Fields [VENDOR_SPECIFIC_FIELD[75]]: 0x00
Vendor Specific Fields [VENDOR_SPECIFIC_FIELD[74]]: 0x00
Vendor Specific Fields [VENDOR_SPECIFIC_FIELD[73]]: 0x00
Vendor Specific Fields [VENDOR_SPECIFIC_FIELD[72]]: 0x00
Vendor Specific Fields [VENDOR_SPECIFIC_FIELD[71]]: 0x00
Vendor Specific Fields [VENDOR_SPECIFIC_FIELD[70]]: 0x00
Vendor Specific Fields [VENDOR_SPECIFIC_FIELD[69]]: 0x00
Vendor Specific Fields [VENDOR_SPECIFIC_FIELD[68]]: 0x00
Vendor Specific Fields [VENDOR_SPECIFIC_FIELD[67]]: 0x00
Vendor Specific Fields [VENDOR_SPECIFIC_FIELD[66]]: 0x37
Vendor Specific Fields [VENDOR_SPECIFIC_FIELD[65]]: 0xff
Vendor Specific Fields [VENDOR_SPECIFIC_FIELD[64]]: 0xff
Native sector size [NATIVE_SECTOR_SIZE]: 0x01
Sector size emulation [USE_NATIVE_SECTOR]: 0x00
Sector size [DATA_SECTOR_SIZE]: 0x00
1st initialization after disabling sector size emulation [INI_TIMEOUT_EMU]: 0x0a
Class 6 commands control [CLASS_6_CTRL]: 0x00
Number of addressed group to be Released[DYNCAP_NEEDED]: 0x00
Exception events control [EXCEPTION_EVENTS_CTRL]: 0x0000
Exception events status[EXCEPTION_EVENTS_STATUS]: 0x0000
Extended Partitions Attribute [EXT_PARTITIONS_ATTRIBUTE]: 0x0000
Context configuration [CONTEXT_CONF[51]]: 0x00
Context configuration [CONTEXT_CONF[50]]: 0x00
Context configuration [CONTEXT_CONF[49]]: 0x00
Context configuration [CONTEXT_CONF[48]]: 0x00
Context configuration [CONTEXT_CONF[47]]: 0x00
Context configuration [CONTEXT_CONF[46]]: 0x00
Context configuration [CONTEXT_CONF[45]]: 0x00
Context configuration [CONTEXT_CONF[44]]: 0x00
Context configuration [CONTEXT_CONF[43]]: 0x00
Context configuration [CONTEXT_CONF[42]]: 0x00
Context configuration [CONTEXT_CONF[41]]: 0x00
Context configuration [CONTEXT_CONF[40]]: 0x00
Context configuration [CONTEXT_CONF[39]]: 0x00
Context configuration [CONTEXT_CONF[38]]: 0x00
Context configuration [CONTEXT_CONF[37]]: 0x00
Packed command status [PACKED_COMMAND_STATUS]: 0x00
Packed command failure index [PACKED_FAILURE_INDEX]: 0x00
Power Off Notification [POWER_OFF_NOTIFICATION]: 0x01
Control to turn the Cache ON/OFF [CACHE_CTRL]: 0x01
eMMC Firmware Version:
Command Queue Support [CMDQ_SUPPORT]: 0x00
Command Queue Depth [CMDQ_DEPTH]: 1
Command Enabled [CMDQ_MODE_EN]: 0x00
root@Turris:/tmp/sbin#

Please next time use Pastebin or other alternative to it.

1 Like

I have fixed the preview of log (by accident I finally found the right tag for this forum), but I refuse to use any third party service as it create more mess according to my view and you have to agree another term services…

1 Like

The result:
I have boot into Rescue mode, save my files (/home, /www, /root, /etc…)
and then I run btrfs check --repair /dev/mmcblk0p1 (took a lot of time)
Well the result after restart was kernel panic, so I gave up and flashed medkit.
Now everything seems to be working again.
Also I have noted, when I did backup to my flash disk, and coping the /srv folder, where the lxc data are stored I got multiple errors from kernel, this means for me that it’s not save to run anything in LXC on internal flash, even webserver with almost no access, so I am going to move this folder to harddrive or usb ssd.

/ # cp -a /mnt/emmc/@103/srv/ /mnt/sda1/backup_btrfs_fail/srv/
[ 3606.958927] BTRFS warning (device mmcblk0p1): csum failed ino 209720 off 36864 csum 112910157 expected csum 2012169877
[ 3606.973465] BTRFS warning (device mmcblk0p1): csum failed ino 209720 off 36864 csum 1110403626 expected csum 2012169877
cp: read error: I/O error
[ 3608.034268] BTRFS warning (device mmcblk0p1): csum failed ino 211024 off 81920 csum 821993447 expected csum 3804496770
[ 3608.048946] BTRFS warning (device mmcblk0p1): csum failed ino 211024 off 81920 csum 3453668140 expected csum 3804496770
cp: read error: I/O error
[ 3609.602942] BTRFS warning (device mmcblk0p1): csum failed ino 211883 off 0 csum 426237087 expected csum 3305508711
[ 3609.616924] BTRFS warning (device mmcblk0p1): csum failed ino 211883 off 0 csum 741162324 expected csum 3305508711
cp: read error: I/O error
[ 3609.902233] BTRFS error (device mmcblk0p1): bad tree block start 2305983748769755136 2067705856
[ 3609.911071] BTRFS error (device mmcblk0p1): bad tree block start 2067709956 2067709952
[ 3609.911138] BTRFS warning (device mmcblk0p1): mmcblk0p1 checksum verify failed on 2067714048 wanted E5CD3985 found B9D09E20 level 0
[ 3609.911146] BTRFS error (device mmcblk0p1): bad tree block start 2034167808 2067722240
[ 3609.942827] BTRFS error (device mmcblk0p1): bad tree block start 2305983748769755136 2067705856
[ 3609.955117] BTRFS error (device mmcblk0p1): bad tree block start 2305983748769755136 2067705856
[ 3609.967646] BTRFS warning (device mmcblk0p1): mmcblk0p1 checksum verify failed on 2067927040 wanted CDCFC72 found 9DD0D2BB level 0
[ 3609.983145] BTRFS warning (device mmcblk0p1): mmcblk0p1 checksum verify failed on 2067927040 wanted CDCFC72 found 54DA8E3B level 0
[ 3609.998630] BTRFS warning (device mmcblk0p1): mmcblk0p1 checksum verify failed on 2067927040 wanted CDCFC72 found F71AA6D0 level 0
cp: can't stat '/mnt/emmc/@103/srv/lxc/nas_ubnt/rootfs/usr/lib/arm-linux-gnueabihf/perl-base/unicore/lib/Jt': Stale file handle
[ 3610.732311] BTRFS warning (device mmcblk0p1): csum failed ino 212722 off 180224 csum 533034650 expected csum 1310877615
[ 3616.400099] BTRFS warning (device mmcblk0p1): csum failed ino 215796 off 12288 csum 1671418470 expected csum 272106007
[ 3616.414469] BTRFS warning (device mmcblk0p1): csum failed ino 215796 off 12288 csum 2470116741 expected csum 272106007
cp: read error: I/O error
[ 3629.560864] BTRFS warning (device mmcblk0p1): csum failed ino 223761 off 7827456 csum 1890479245 expected csum 1787299603
[ 3629.664189] BTRFS warning (device mmcblk0p1): csum failed ino 223761 off 7827456 csum 2875472752 expected csum 1787299603
cp: read error: I/O error
[ 3637.556875] BTRFS warning (device mmcblk0p1): csum failed ino 223803 off 17567744 csum 2579380329 expected csum 1552425808
[ 3638.484921] BTRFS warning (device mmcblk0p1): csum failed ino 223803 off 17567744 csum 1919856406 expected csum 1552425808
cp: read error: I/O error
[ 3701.425923] BTRFS warning (device mmcblk0p1): csum failed ino 567618 off 335872 csum 815275655 expected csum 1979767328
[ 3701.439691] BTRFS warning (device mmcblk0p1): csum failed ino 567618 off 348160 csum 876391609 expected csum 1381720323
[ 3701.454563] BTRFS warning (device mmcblk0p1): csum failed ino 567618 off 335872 csum 3620392790 expected csum 1979767328
cp: read error: I/O error
[ 3703.410810] BTRFS warning (device mmcblk0p1): csum failed ino 391988 off 4096 csum 1382513155 expected csum 675414271
[ 3703.425416] BTRFS warning (device mmcblk0p1): csum failed ino 391988 off 4096 csum 253061363 expected csum 675414271
cp: read error: I/O error
[ 3703.446869] BTRFS warning (device mmcblk0p1): csum failed ino 391992 off 0 csum 1087443133 expected csum 1760372998
[ 3703.460897] BTRFS warning (device mmcblk0p1): csum failed ino 391992 off 0 csum 2584252469 expected csum 1760372998
cp: read error: I/O error
[ 3710.111591] BTRFS warning (device mmcblk0p1): csum failed ino 324169 off 557056 csum 3448962822 expected csum 2366258710
[ 3710.184615] BTRFS warning (device mmcblk0p1): csum failed ino 324169 off 557056 csum 1566961098 expected csum 2366258710
cp: read error: I/O error
[ 3746.706197] BTRFS warning (device mmcblk0p1): csum failed ino 392295 off 9523200 csum 287639586 expected csum 3417811040
[ 3751.444998] BTRFS warning (device mmcblk0p1): csum failed ino 392295 off 9523200 csum 182309163 expected csum 3417811040
cp: read error: I/O error
[ 3758.933685] BTRFS warning (device mmcblk0p1): csum failed ino 349286 off 20480 csum 907509045 expected csum 3356318440
[ 3758.948102] BTRFS warning (device mmcblk0p1): csum failed ino 349286 off 20480 csum 2330629742 expected csum 3356318440
cp: read error: I/O error
[ 3761.676512] BTRFS warning (device mmcblk0p1): csum failed ino 346666 off 4096 csum 3856259109 expected csum 160910320
[ 3761.691015] BTRFS warning (device mmcblk0p1): csum failed ino 346666 off 4096 csum 1059329020 expected csum 160910320
cp: read error: I/O error
[ 3774.601489] BTRFS warning (device mmcblk0p1): csum failed ino 348839 off 4096 csum 2421665895 expected csum 1867074540
[ 3774.615944] BTRFS warning (device mmcblk0p1): csum failed ino 348839 off 4096 csum 648307110 expected csum 1867074540
cp: read error: I/O error
[ 3782.936566] BTRFS warning (device mmcblk0p1): csum failed ino 392944 off 13766656 csum 1122779057 expected csum 2914407905
[ 3795.054714] BTRFS warning (device mmcblk0p1): csum failed ino 392944 off 13766656 csum 1906392627 expected csum 2914407905
cp: read error: I/O error
[ 3796.810363] BTRFS warning (device mmcblk0p1): csum failed ino 231243 off 28672 csum 3924009302 expected csum 1839859405
[ 3796.825259] BTRFS warning (device mmcblk0p1): csum failed ino 231243 off 28672 csum 159339492 expected csum 1839859405
cp: read error: I/O error
[ 3813.638341] BTRFS warning (device mmcblk0p1): csum failed ino 444074 off 634880 csum 2682512236 expected csum 4075872860
[ 3813.724771] BTRFS warning (device mmcblk0p1): csum failed ino 444074 off 634880 csum 3079943081 expected csum 4075872860
cp: read error: I/O error
[ 3817.029060] BTRFS warning (device mmcblk0p1): csum failed ino 442194 off 0 csum 1367366881 expected csum 941475320
[ 3817.043004] BTRFS warning (device mmcblk0p1): csum failed ino 442194 off 0 csum 2891994322 expected csum 941475320
cp: read error: I/O error
[ 3817.057512] BTRFS warning (device mmcblk0p1): csum failed ino 442195 off 0 csum 1760001927 expected csum 3018916627
[ 3817.071757] BTRFS warning (device mmcblk0p1): csum failed ino 442195 off 0 csum 4259653087 expected csum 3018916627
cp: read error: I/O error
[ 3817.091263] BTRFS warning (device mmcblk0p1): csum failed ino 442197 off 0 csum 2443508852 expected csum 415195305
[ 3817.105436] BTRFS warning (device mmcblk0p1): csum failed ino 442197 off 0 csum 3723661514 expected csum 415195305
cp: read error: I/O error
[ 3817.119643] BTRFS warning (device mmcblk0p1): csum failed ino 442198 off 0 csum 1340335214 expected csum 3886784643
[ 3817.133710] BTRFS warning (device mmcblk0p1): csum failed ino 442198 off 0 csum 998279042 expected csum 3886784643
cp: read error: I/O error
cp: read error: I/O error
cp: read error: I/O error
cp: read error: I/O error
cp: read error: I/O error
cp: read error: I/O error
cp: read error: I/O error
[ 3825.783849] __readpage_endio_check: 12 callbacks suppressed
[ 3825.789443] BTRFS warning (device mmcblk0p1): csum failed ino 483371 off 1314816 csum 963369019 expected csum 2229368336
[ 3825.875193] BTRFS warning (device mmcblk0p1): csum failed ino 483371 off 1314816 csum 3500440409 expected csum 2229368336
cp: read error: I/O error
[ 3862.951041] BTRFS warning (device mmcblk0p1): csum failed ino 239957 off 12288 csum 507089481 expected csum 1614469528
[ 3862.966262] BTRFS warning (device mmcblk0p1): csum failed ino 239957 off 16384 csum 1526594234 expected csum 3202208203
[ 3862.977141] BTRFS warning (device mmcblk0p1): csum failed ino 239957 off 12288 csum 3561821388 expected csum 1614469528
cp: read error: I/O error
[ 3865.135985] BTRFS warning (device mmcblk0p1): csum failed ino 249147 off 0 csum 2488959123 expected csum 98114879
[ 3865.150198] BTRFS warning (device mmcblk0p1): csum failed ino 249147 off 0 csum 2361227309 expected csum 98114879
cp: read error: I/O error
[ 3869.284264] BTRFS warning (device mmcblk0p1): csum failed ino 323349 off 0 csum 1485571615 expected csum 3772850762
[ 3869.298597] BTRFS warning (device mmcblk0p1): csum failed ino 323349 off 0 csum 3341433662 expected csum 3772850762
cp: read error: I/O error
[ 3869.567799] BTRFS warning (device mmcblk0p1): csum failed ino 323588 off 0 csum 4243397950 expected csum 2880923137
[ 3869.582115] BTRFS warning (device mmcblk0p1): csum failed ino 323588 off 0 csum 2847050136 expected csum 2880923137
cp: read error: I/O error
[ 3869.596909] BTRFS warning (device mmcblk0p1): csum failed ino 323589 off 0 csum 4222404553 expected csum 2862900604
[ 3869.611321] BTRFS warning (device mmcblk0p1): csum failed ino 323589 off 0 csum 3116090156 expected csum 2862900604
cp: read error: I/O error
[ 3886.391203] BTRFS warning (device mmcblk0p1): csum failed ino 323920 off 1560576 csum 2066441104 expected csum 3706808044
[ 3886.406110] BTRFS warning (device mmcblk0p1): csum failed ino 323920 off 1560576 csum 959765478 expected csum 3706808044
cp: read error: I/O error
[ 3887.285312] BTRFS warning (device mmcblk0p1): csum failed ino 363917 off 221184 csum 1931920393 expected csum 3780468362
[ 3887.300138] BTRFS warning (device mmcblk0p1): csum failed ino 363917 off 221184 csum 1013013276 expected csum 3780468362
cp: read error: I/O error
[ 3887.464022] BTRFS warning (device mmcblk0p1): csum failed ino 395392 off 4096 csum 3975626296 expected csum 1806192017
[ 3887.479559] BTRFS warning (device mmcblk0p1): csum failed ino 395392 off 4096 csum 700285790 expected csum 1806192017
cp: read error: I/O error
[ 3899.233482] BTRFS warning (device mmcblk0p1): csum failed ino 249033 off 1503232 csum 925741667 expected csum 2275414379
[ 3899.286518] BTRFS warning (device mmcblk0p1): csum failed ino 249033 off 1503232 csum 1487212181 expected csum 2275414379
cp: read error: I/O error
[ 3900.165529] BTRFS warning (device mmcblk0p1): csum failed ino 336930 off 704512 csum 4254920376 expected csum 874828538
[ 3900.189274] BTRFS warning (device mmcblk0p1): csum failed ino 336930 off 712704 csum 3137478681 expected csum 4033273690
cp: read error: I/O error
[ 3915.725028] BTRFS warning (device mmcblk0p1): csum failed ino 481607 off 126976 csum 1462852723 expected csum 1997667385
[ 3915.739925] BTRFS warning (device mmcblk0p1): csum failed ino 481607 off 126976 csum 2344879825 expected csum 1997667385
cp: read error: I/O error
[ 3917.053128] BTRFS warning (device mmcblk0p1): csum failed ino 564134 off 667648 csum 169748162 expected csum 804521558
[ 3917.114894] BTRFS warning (device mmcblk0p1): csum failed ino 564134 off 667648 csum 3622290834 expected csum 804521558
cp: read error: I/O error
[ 3917.685595] BTRFS warning (device mmcblk0p1): csum failed ino 564144 off 4812800 csum 2131964205 expected csum 1859964771
[ 3918.204744] BTRFS warning (device mmcblk0p1): csum failed ino 564144 off 4812800 csum 1728518463 expected csum 1859964771
cp: read error: I/O error
[ 3964.021569] BTRFS warning (device mmcblk0p1): csum failed ino 241950 off 26378240 csum 312849888 expected csum 674177322
[ 3964.385554] BTRFS warning (device mmcblk0p1): csum failed ino 241950 off 29220864 csum 1798990495 expected csum 426956225
[ 3964.495606] BTRFS warning (device mmcblk0p1): csum failed ino 241950 off 26378240 csum 2634701816 expected csum 674177322
cp: read error: I/O error
[ 3964.563878] BTRFS warning (device mmcblk0p1): csum failed ino 241951 off 1318912 csum 1439882656 expected csum 3492617446
[ 3964.668794] BTRFS warning (device mmcblk0p1): csum failed ino 241951 off 1318912 csum 528139084 expected csum 3492617446
cp: read error: I/O error
[ 4018.435914] BTRFS warning (device mmcblk0p1): csum failed ino 344759 off 4096 csum 4236180166 expected csum 3924819362
[ 4019.123555] BTRFS warning (device mmcblk0p1): csum failed ino 345947 off 32768 csum 212375780 expected csum 93165916
[ 4019.137855] BTRFS warning (device mmcblk0p1): csum failed ino 345947 off 32768 csum 2011143750 expected csum 93165916
cp: read error: I/O error
[ 4023.139505] BTRFS warning (device mmcblk0p1): csum failed ino 371028 off 73728 csum 2124730816 expected csum 1807944217
[ 4023.150476] BTRFS warning (device mmcblk0p1): csum failed ino 371028 off 86016 csum 3133864245 expected csum 1334443974
[ 4023.164898] BTRFS warning (device mmcblk0p1): csum failed ino 371028 off 73728 csum 3567929649 expected csum 1807944217
cp: read error: I/O error
[ 4028.934947] BTRFS warning (device mmcblk0p1): csum failed ino 371417 off 4456448 csum 3625276283 expected csum 13301696
[ 4029.115219] BTRFS warning (device mmcblk0p1): csum failed ino 371417 off 4456448 csum 1708494626 expected csum 13301696
cp: read error: I/O error
[ 4087.047496] BTRFS warning (device mmcblk0p1): csum failed ino 534974 off 0 csum 3918643046 expected csum 785428908
[ 4087.061798] BTRFS warning (device mmcblk0p1): csum failed ino 534974 off 0 csum 130606735 expected csum 785428908
cp: read error: I/O error
[ 4087.083125] BTRFS warning (device mmcblk0p1): csum failed ino 534980 off 0 csum 918883964 expected csum 4159049038
[ 4087.097421] BTRFS warning (device mmcblk0p1): csum failed ino 534980 off 0 csum 341897192 expected csum 4159049038
cp: read error: I/O error
[ 4104.637915] BTRFS warning (device mmcblk0p1): csum failed ino 539037 off 24576 csum 3044430470 expected csum 2707909559
[ 4104.652302] BTRFS warning (device mmcblk0p1): csum failed ino 539037 off 24576 csum 3329720440 expected csum 2707909559
cp: read error: I/O error
[ 4104.745173] BTRFS warning (device mmcblk0p1): csum failed ino 539208 off 0 csum 1025392249 expected csum 766306806
[ 4104.759234] BTRFS warning (device mmcblk0p1): csum failed ino 539208 off 0 csum 3961826944 expected csum 766306806
cp: read error: I/O error
[ 4104.773575] BTRFS warning (device mmcblk0p1): csum failed ino 539209 off 0 csum 1096815611 expected csum 2459397948
[ 4104.787660] BTRFS warning (device mmcblk0p1): csum failed ino 539209 off 0 csum 2259419192 expected csum 2459397948
cp: read error: I/O error
[ 4104.812476] BTRFS warning (device mmcblk0p1): csum failed ino 539219 off 0 csum 1197889765 expected csum 2683953864
[ 4104.826536] BTRFS warning (device mmcblk0p1): csum failed ino 539219 off 0 csum 398596686 expected csum 2683953864
cp: read error: I/O error
[ 4105.047636] BTRFS warning (device mmcblk0p1): csum failed ino 539456 off 2269184 csum 4096204708 expected csum 2114505108
[ 4105.093343] BTRFS warning (device mmcblk0p1): csum failed ino 539456 off 2285568 csum 860288258 expected csum 1508217459
cp: read error: I/O error
[ 4114.128579] BTRFS warning (device mmcblk0p1): csum failed ino 544251 off 28672 csum 1203582189 expected csum 3368048254
[ 4114.143362] BTRFS warning (device mmcblk0p1): csum failed ino 544251 off 28672 csum 2397947497 expected csum 3368048254
cp: read error: I/O error
/ #

After you move it out, could you write here short step-by-step guide how to? That would be great.

There is already exist guide here:
https://www.turris.cz/doc/en/public/lxconmsata

1 Like

Zdravim,
brtrfs scrub is running in background in default - no message is given, you can check status using
btrfs scrub status /mountpoint
or add -B parameter - which force scrub to run in foreground and print results.

ZdravĂ­m,
I am not sure that scrub is running on my router now. After the btrfs scrub status /dev/mmcblk0p1 or btrfs scrub status / I am getting no stats available.

it takes approximately 20 sec. on / partition
and it do not show any stats after restart

Try run
btrfs scrub start /
followed by
btrfs scrub status /

or directly
btrfs scrub start -B /