Cache read only till reboot


Recommended Posts

Hello,

 

I got some problems yesterday evening.

First my NVME Cache went Read Only. I copied all the files to my Array and wanted to reformat it from BTRFS in to XFS.

My Array did not stop so I forced a reboot with sudo reboot -f

After the reboot my Cache started working fine again :D

I see some errors related to my OS flash drive, but I dont know what to do with them.

How bad is this error? Everything seems to run fine at the moment.

 

I read a lot of posts that BTRFS works really bad on NVME and gets easily corrupt. Is this true?

Should I reformat my cache? With Sata SSD Cache I had no problems in 3 years.

 

Cache error log before reboot:

Quote

Jan 11 21:20:54 unraid nginx: 2024/01/11 21:20:54 [error] 10117#10117: *3212683 upstream prematurely closed connection while reading response header from upstream, client: 192.168.178.110, server: , request: "GET /logterminal/jellyfin.log/ws HTTP/1.1", upstream: "http://unix:/var/tmp/jellyfin.log.sock:/ws", host: "192.168.178.200"

Jan 11 21:21:15 unraid kernel: loop: Write error at byte offset 93716480, length 4096.

Jan 11 21:21:15 unraid kernel: loop: Write error at byte offset 40042496, length 4096.

Jan 11 21:21:15 unraid kernel: I/O error, dev loop2, sector 183040 op 0x1:(WRITE) flags 0x1800 phys_seg 20 prio class 2

Jan 11 21:21:15 unraid kernel: I/O error, dev loop2, sector 78208 op 0x1:(WRITE) flags 0x1800 phys_seg 20 prio class 2

Jan 11 21:21:15 unraid kernel: BTRFS error (device loop2): bdev /dev/loop2 errs: wr 1, rd 0, flush 0, corrupt 0, gen 0

Jan 11 21:21:15 unraid kernel: BTRFS error (device loop2): bdev /dev/loop2 errs: wr 2, rd 0, flush 0, corrupt 0, gen 0

Jan 11 21:21:15 unraid kernel: BTRFS: error (device loop2) in btrfs_commit_transaction:2494: errno=-5 IO failure (Error while writing out transaction)

 

OS Flash error:

Quote

Jan 12 02:14:18 unraid kernel: critical medium error, dev sda, sector 59595752 op 0x0:(READ) flags 0x0 phys_seg 1 prio class 2

Jan 12 02:14:18 unraid kernel: sd 0:0:0:0: [sda] tag#0 UNKNOWN(0x2003) Result: hostbyte=0x00 driverbyte=DRIVER_OK cmd_age=0s

Jan 12 02:14:18 unraid kernel: sd 0:0:0:0: [sda] tag#0 Sense Key : 0x3 [current] 

Jan 12 02:14:18 unraid kernel: sd 0:0:0:0: [sda] tag#0 ASC=0x11 ASCQ=0x0 

Jan 12 02:14:18 unraid kernel: sd 0:0:0:0: [sda] tag#0 CDB: opcode=0x28 28 00 03 8d 5d e0 00 00 40 00

Jan 12 02:14:18 unraid kernel: critical medium error, dev sda, sector 59596256 op 0x0:(READ) flags 0x80700 phys_seg 7 prio class 2

Jan 12 02:14:18 unraid kernel: sd 0:0:0:0: [sda] tag#0 UNKNOWN(0x2003) Result: hostbyte=0x00 driverbyte=DRIVER_OK cmd_age=0s

Jan 12 02:14:18 unraid kernel: sd 0:0:0:0: [sda] tag#0 Sense Key : 0x3 [current] 

Jan 12 02:14:18 unraid kernel: sd 0:0:0:0: [sda] tag#0 ASC=0x11 ASCQ=0x0 

Jan 12 02:14:18 unraid kernel: sd 0:0:0:0: [sda] tag#0 CDB: opcode=0x28 28 00 03 8d 5d 60 00 00 08 00

Jan 12 02:14:18 unraid kernel: critical medium error, dev sda, sector 59596128 op 0x0:(READ) flags 0x0 phys_seg 1 prio class 2

 

Another error I cant fix:

Quote

ca.update.applications/scripts/updateApplications.php >/dev/null 2>&1

Jan 12 08:34:01 unraid crond[1860]: failed parsing crontab for user root: Invalid frequency setting of  /usr/local/emhttp/plugins/ca.update.applications/scripts/updateApplications.php >/dev/null 2>&1

 

unraid-diagnostics-20240112-0902.zip

Link to comment
29 minutes ago, Pascal51882 said:

Jan 11 21:21:15 unraid kernel: I/O error, dev loop2, sector 183040 op 0x1:(WRITE) flags 0x1800 phys_seg 20 prio class 2

Jan 11 21:21:15 unraid kernel: I/O error, dev loop2, sector 78208 op 0x1:(WRITE) flags 0x1800 phys_seg 20 prio class 2

Jan 11 21:21:15 unraid kernel: BTRFS error (device loop2): bdev /dev/loop2 errs: wr 1, rd 0, flush 0, corrupt 0, gen 0

Jan 11 21:21:15 unraid kernel: BTRFS error (device loop2): bdev /dev/loop2 errs: wr 2, rd 0, flush 0, corrupt 0, gen 0

Jan 11 21:21:15 unraid kernel: BTRFS: error (device loop2) in btrfs_commit_transaction:2494: errno=-5 IO failure (Error while writing out

These are about the docker image, you can recreate it.

 

30 minutes ago, Pascal51882 said:

Jan 12 02:14:18 unraid kernel: critical medium error, dev sda, sector 59595752 op 0x0:(READ) flags 0x0 phys_seg 1 prio class 2

If these continue you should replace the flash drive, or at least try to re-format it to see if it helps.

 

 

 

 

Link to comment

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.