Unable to Read or Write to Cache Pool After SSD Trim


Recommended Posts

I am new to unraid & currently building my first setup. I have a pair of 1TB SSD drives for my cache poole with currently about 262GB used & 738GB free so far. I installed SSD Trim & scheduled it to run nightly at 1am. After the 1st run last night my VM stopped working and I am unable to open or write files in the cache pool. 

 

Fix Common Problems found the following errors:

Unable to write to cache - Drive mounted read-only or completely full

Unable to write to Docker Image - Docker Image either full or corrupted

 

When I try to run my VM I get the following error message:

Hook script execution failed: internal error: Child process (LC_ALL=C PATH=/bin:/sbin:/usr/bin:/usr/sbin HOME=/ /etc/libvirt/hooks/qemu BitTorrentVM prepare begin -) unexpected exit status 126: libvirt: error : cannot execute binary /etc/libvirt/hooks/qemu: Input/output error

 

If I try to edit the VM I get the following error message:

VM creation error
cannot create file '/etc/libvirt/qemu/BitTorrentVM.xml.new': Read-only file system

 

I tried to run a btrfs scrub but nothing happens and the scrub status is immediately aborted

 

I've attached my diagnostic file

 

unraidsvr-diagnostics-20200623-1037.zip

Link to comment

Problem with the Asmedia SATA controller that ended up dropping both cache devices:

 

Jun 23 02:54:05 UnRAIDSVR kernel: DMAR: [DMA Read] Request device [0a:00.0] fault addr 7fffff00000 [fault reason 06] PTE Read access is not set
Jun 23 02:54:35 UnRAIDSVR kernel: ata1.00: exception Emask 0x0 SAct 0x3c0007e SErr 0x0 action 0x6 frozen
...
Jun 23 02:55:31 UnRAIDSVR kernel: ata2: softreset failed (1st FIS failed)
Jun 23 02:55:31 UnRAIDSVR kernel: ata2: limiting SATA link speed to 3.0 Gbps
Jun 23 02:55:31 UnRAIDSVR kernel: ata2: hard resetting link
Jun 23 02:55:35 UnRAIDSVR kernel: ata1: softreset failed (1st FIS failed)
Jun 23 02:55:35 UnRAIDSVR kernel: ata1: reset failed, giving up
Jun 23 02:55:35 UnRAIDSVR kernel: ata1.00: disabled
...
Jun 23 02:55:36 UnRAIDSVR kernel: ata2: softreset failed (1st FIS failed)
Jun 23 02:55:36 UnRAIDSVR kernel: ata2: reset failed, giving up
Jun 23 02:55:36 UnRAIDSVR kernel: ata2.00: disabled
Jun 23 02:55:36 UnRAIDSVR kernel: ata2: EH complete

Try using the Intel ports instead.

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.