February 28, 20251 yr Community Expert Btrfs is detecting data corruption on the pool, and it won't move corrupt files, run a scrub on the pool and post the results.
February 28, 20251 yr Community Expert The syslog is full of BTRFS errors showing on the cache However no disks are showing up under with SMART status making me wonder if they have all dropped offline due to a problem with the controller? How are they connected. I also notice that you have no Minimum Free Space value configured for the 'global_cache' pool. You really need this to be set to something larger than the biggest file you intend to cache as btrfs file systems are prone to getting errors if they get too full.
March 2, 20251 yr On 2/28/2025 at 12:00 PM, JorgeB said: Btrfs is detecting data corruption on the pool, and it won't move corrupt files, run a scrub on the pool and post the results. The scrub button didn't appear until I stopped the array and then start it again. UUID: 72b21186-bd49-4186-a5c2-8710c07e0875 Scrub started: Sun Mar 2 06:36:20 2025 Status: finished Duration: 0:22:41 Total to scrub: 908.82GiB Rate: 683.79MiB/s Error summary: no errors found Tried to do a second scrub, but again, had to start/stop array to see the scrub button appear. But, new problem... pressing the button just reloaded the page and it didn't show that scrub was running. Had to reboot and it finally did a second scrub: UUID: 72b21186-bd49-4186-a5c2-8710c07e0875 Scrub started: Sun Mar 2 07:46:51 2025 Status: aborted Duration: 0:02:15 Total to scrub: 910.50GiB Rate: 692.01MiB/s Error summary: no errors found Edited March 3, 20251 yr by taflix
March 2, 20251 yr On 2/28/2025 at 12:01 PM, itimpi said: The syslog is full of BTRFS errors showing on the cache However no disks are showing up under with SMART status making me wonder if they have all dropped offline due to a problem with the controller? How are they connected. Is there a "Device Manager" equivalent in UNRAID that we can use to look up device names? Oh wait nvm, I found it in my Amazon purchase history: LSI 9207-8i 6Gbs SAS HBA P20 IT Mode For ZFS FreeNAS unRAID +2* 8087 SATA Cable On 2/28/2025 at 12:01 PM, itimpi said: I also notice that you have no Minimum Free Space value configured for the 'global_cache' pool. You really need this to be set to something larger than the biggest file you intend to cache as btrfs file systems are prone to getting errors if they get too full. Thanks! I had no idea these "best practices" existed when I first started using UNRAID and setting up this cache pool. I like the "?" feature and best practices would do well there besides explaining what the feature does. I set up 10% of the total space to be minimum free, is that a "best practice" amount? I also found some posts about scrubbing and set that to once/month as that seems to be the "best practice" recommendation. Thanks for the help over the weekend guys! Edited March 3, 20251 yr by taflix
March 2, 20251 yr Community Expert 11 minutes ago, taflix said: I was hoping it would find some? That doesn't make much sense, reboot and post new diags after array start.
March 2, 20251 yr 14 hours ago, JorgeB said: That doesn't make much sense, reboot and post new diags after array start. This diagnostics is taking a while, it seems to be stuck at? mkdir -p /boot/logs /usr/local/emhttp/plugins/fix.common.problems/scripts/scan.php diagnostics Fix Common Problems Scan: Downloading Support Files Fix Common Problems Scan: 1% HPApresent Fix Common Problems Scan: 2% checkServerDate Fix Common Problems Scan: 3% eth0NoIP Fix Common Problems Scan: 4% isArrayStarted Fix Common Problems Scan: 5% impliedArrayFilesOnCache Fix Common Problems Scan: 7% cacheOnlyFilesOnArray Fix Common Problems Scan: 8% arrayOnlyFilesOnCache Fix Common Problems Scan: 9% pluginUpdateCheck Fix Common Problems Scan: 10% dockerUpdateCheck Fix Common Problems Scan: 11% autoUpdateCheck Fix Common Problems Scan: 13% sameShareDifferentCase Fix Common Problems Scan: 14% outsideCommunication Fix Common Problems Scan: 15% dockerAppdataCacheOnly Fix Common Problems Scan: 16% disabledDisksPresent Fix Common Problems Scan: 17% missingDisksPresent Fix Common Problems Scan: 19% readErrorsPresent Fix Common Problems Scan: 20% fileSystemErrors Fix Common Problems Scan: 21% pluginsUpToDate Fix Common Problems Scan: 22% dockerUpToDate Fix Common Problems Scan: 23% dockerConfigUserShare Fix Common Problems Scan: 25% varLogFilled Fix Common Problems Scan: 26% dockerImageFull Fix Common Problems Scan: 27% rootfsFull Fix Common Problems Scan: 28% scheduledParityChecks Fix Common Problems Scan: 29% shareIncludeExcludeSet Fix Common Problems Scan: 30% shareIncludeExcludeSameDisk Fix Common Problems Scan: 32% UDmountedSlaveMode Fix Common Problems Scan: 33% checkNotifications Fix Common Problems Scan: 34% blacklistedPluginsInstalled Fix Common Problems Scan: 35% illegalShareName Fix Common Problems Scan: 36% writeToDriveTest Fix Common Problems Scan: 38% flashDriveFull Fix Common Problems Scan: 39% checkForHack Fix Common Problems Scan: 40% checkForModeration Fix Common Problems Scan: 41% pluginNotCompatible Reboot and try again? Or, wait it out? Nevermind, I tried it again in a new tab and diagnostics worked! Thank you. taflix-unraid-diagnostics-20250302-0932.zip I tried to do a 3rd scrub after reboot and the scrub button did nothing. This time, the scrub button on my machine only worked after I stopped the array and start it again. Here are results of 3rd scrub: UUID: 72b21186-bd49-4186-a5c2-8710c07e0875 Scrub started: Sun Mar 2 08:43:06 2025 Status: finished Duration: 0:22:46 Total to scrub: 909.58GiB Rate: 681.85MiB/s Error summary: no errors found And what is says under Balance Status (in case you need this too?) Device size: 1.07TiB Device allocated: 921.75GiB Device unallocated: 171.88GiB Device missing: 0.00B Device slack: 0.00B Used: 909.58GiB Free (estimated): 183.98GiB (min: 98.04GiB) Free (statfs, df): 0.00B Data ratio: 1.00 Metadata ratio: 2.00 Global reserve: 512.00MiB (used: 0.00B) Multiple profiles: no Data Metadata System Id Path RAID0 RAID1 RAID1 Unallocated Total Slack -- --------- --------- ---------- -------- ----------- --------- ----- 1 /dev/sdj1 292.85GiB 1.00GiB 32.00MiB 171.88GiB 465.76GiB - 2 /dev/sdk1 231.85GiB 1.00GiB 32.00MiB 1.05MiB 232.88GiB - 3 /dev/sdh1 167.68GiB - - 1.02MiB 167.68GiB - 4 /dev/sdl1 167.68GiB - - 1.02MiB 167.68GiB - 5 /dev/sdi1 59.62GiB - - 1.02MiB 59.62GiB - -- --------- --------- ---------- -------- ----------- --------- ----- Total 919.69GiB 1.00GiB 32.00MiB 171.88GiB 1.07TiB 0.00B Used 907.59GiB 1020.73MiB 80.00KiB Thank you guys! Edited March 3, 20251 yr by taflix
March 2, 20251 yr Another diagnostics, just in case you need it. taflix-unraid-diagnostics-20250302-1044.zip
March 2, 20251 yr Community Expert I think you need to be using single mode instead of raid0 for that pool of different sized drives. Personally, I would rethink using so many small drives for the pool.
March 3, 20251 yr 6 hours ago, trurl said: I think you need to be using single mode instead of raid0 for that pool of different sized drives. Personally, I would rethink using so many small drives for the pool. Thanks! I'll look into what single mode is. Meanwhile, any ideas to get the cache pool working again?
March 3, 20251 yr Community Expert Before there weren't corruption errors, they were transid errors, I made a mistake looking at the diags. The current problem is that the pool is running out of space and going read only, like trurl mentioned, you need to convert to single profile, but disable any services writing to the pool and free up some space first, or it will likely fail
March 3, 20251 yr 8 hours ago, JorgeB said: Before there weren't corruption errors, they were transid errors, I made a mistake looking at the diags. The current problem is that the pool is running out of space and going read only, like trurl mentioned, you need to convert to single profile, \ Sorry I don't understand, do you mean this? 8 hours ago, JorgeB said: but disable any services writing to the pool What services, would that be, for example? Do you mean just stop anything that would write to the shares? 8 hours ago, JorgeB said: and free up some space first, or it will likely fail And then try the Mover again? The mover hasn't been working but do you think it will if we do all the preceding steps? Thanks Jorge!
March 3, 20251 yr Community Expert 10 minutes ago, taflix said: What services, would that be, for example? If docker and/or VM services are using the pool, disable them, then reboot, and if the pool doesn't go read-only immediately, try moving some data to the array, using the mover or manually, then convert to single.
March 5, 20251 yr On 3/3/2025 at 10:35 AM, JorgeB said: If docker and/or VM services are using the pool, disable them, then reboot, and if the pool doesn't go read-only immediately, try moving some data to the array, using the mover or manually, then convert to single. I'm going to try to manually move everything off the global_cache pool following your steps. Then, I'll redo the entire cache pool. I'm also going to upgrade the parity drive from 14 TB to 24 TB while I'm at it, so I can increase the ceiling for future storage upgrades. Any tips for that are appreciated! Thanks Jorge and everyone else who contributed! Edited March 5, 20251 yr by taflix
March 27, 20251 yr cache disk full and moving not working. I have no mover plugins installed. When manually try to run, it starts and instantly stops, moving nothing. What is the fix for this bug?
March 27, 20251 yr Community Expert 3 minutes ago, optiman said: What is the fix Probably something with your settings. Attach Diagnostics to your NEXT post in this thread.
March 27, 20251 yr ok, diags attached. I know for sure that this worked prior to upgrading to v7 and I've made no changes to my settings. tower-diagnostics-20250327-1235.zip
March 27, 20251 yr I also no longer see the option to use Cache drive on the Shares tab?? Where do I configure a share to use cache initially, and them mover runs to push those files to array?
March 27, 20251 yr Community Expert 2 minutes ago, optiman said: I also no longer see the option to use Cache drive on the Shares tab?? Where do I configure a share to use cache initially, and them mover runs to push those files to array? The terminology changed a few releases ago (although the functionality is the same). It is covered here in the online documentation accessible via the ‘Manual’ link at the bottom of the GUI or the DOCS link at the top of each forum page. The Unraid OS->Manual section in particular covers most features of the current Unraid release.
March 27, 20251 yr Ok that was it. After upgrading to 7, my some of my shares were set to use cache only and some were set to use array only. I found that changing the primary storage to cache, then the option for secondary shows up, so make that array. Moving is running now. Thanks!
March 27, 20251 yr well spoke too soon. The mover ran for a bit, then stopped, leaving a ton of files on the cache drive. It's still not working. I have now manually moved all files to my user shares, cache drive is clean again. Went back to my share settings, and again a couple were changed back to cache only, so changed those again to cache --> arrray sending some new files to my server to see if the mover does it's job.
March 27, 20251 yr and now the mover ran as it should, so now everything seems to be working. Puzzled as to what happened here.
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.