July 12, 20232 yr I am pretty sure I did this to myself and I need help fixing this. For whatever reason last night I ran the balance and scrub at the same time and since then the cache drive is now throwing errors and in read-only. I have tried stopping the VMs and Docker and changing the cache on my shares to yes. I tried to invoke the mover to get the data off the cache drive and into my array. (not sure this is right). That did not work. I do have new memory coming in and maybe that will help? If not I am at a loss of what to do to fix this and keep my data. Any guidance would be appreciated and I am still pretty new to the inner workings of unraid.
July 12, 20232 yr Jul 12 08:09:24 MasterBlaster kernel: BTRFS info (device nvme0n1p1): bdev /dev/nvme0n1p1 errs: wr 0, rd 0, flush 0, corrupt 1, gen 0 First thing you'd want to do is run memtest from the boot menu (or if you're booting via UEFI, then set up a new stick from https://www.memtest86.com/ . Corruption is usually caused by bad memory
July 13, 20232 yr Community Expert After that you should backup and re-create the pool, since the fs is now corrupt and will likely keep going read-only.
July 13, 20232 yr Community Expert Just copy anything important somewhere else, like the array for example, you can use your favorite tool or for example the Dynamix File Manager plugin.
July 13, 20232 yr Author So i changed out my ram and I still cannot get the cache drive to write to the array. attached is the new diag. I feel lost, i disabled docker and vm, changed the cache prefer to yes and invoked the mover. its not doing anything and. if i use the file explorer on my pc and select the folders to move from the cache to a share on the array i get a permissions error. so what do i do to move the files, and then recreate the pool? masterblaster-diagnostics-20230713-1954.zip Edited July 14, 20232 yr by BigRed8150 more info
July 14, 20232 yr Community Expert Reboot, after array start type: btrfs balance cancel /mnt/cache and post new diags
July 14, 20232 yr Community Expert Wasn't fast enough, it must be done right after array start, to see if the cache doesn't go read-only, you have less then one minute, try again, disable array auto-start, reboot, open the terminal window and paste the command before array start, then do it right after the pool mounts.
July 14, 20232 yr Community Expert Still not fast enough, lets try another way, stop the array and type: mkdir /x mount -t btrfs -o skip_balance dev/nvme0n1p1 /x btrfs balance cancel /x umount /x then start array and post new diags.
July 14, 20232 yr Author when i run the mount command i get : root@MasterBlaster:~# mount -t btrfs -o skip_balance dev/nvme0n1p1 /x mount: /x: special device dev/nvme0n1p1 does not exist. root@MasterBlaster:~# I also tried it without the p1 , mount -t btrfs -o skip_balance dev/nvme0n1 /x Same result Edited July 14, 20232 yr by BigRed8150 misspell
July 14, 20232 yr Community Expert sorry, typo, should be: mount -t btrfs -o skip_balance /dev/nvme0n1p1 /x
July 14, 20232 yr I am having the same issue. Definitely following this thread. I ran a Memtest86 on all 4 ram sticks and received errors. Then I ran the test on each stick individually but they passed. My ram sticks are mismatched (one set is 8gb sticks at 3200mhz and the other 16gb sticks at 3000mhz) but I run them at the default 2133mhz. Been running this way for over a year and never had a problem with it. I guess I'm going to back up the cache drive and move all the data to the array and format the drive. During this process I learned that backup plugin was deprecated so the last backup I have is from March *facepalm*.
July 14, 20232 yr Author ok Im back and ran the commands, here is the diag file masterblaster-diagnostics-20230714-1709.zip
July 14, 20232 yr Author ok running that command and then a scrub brought eveything back online. so is the nvme bad and need replaced? or did replacing the ram do the trick?
July 15, 20232 yr Community Expert Due to the crash during balance I would still recommend backing up and restoring the pool, but now at least you should be able to use the mover to move the data to the array.
July 15, 20232 yr Author so i have done a unbalance move then copied back the files to run the docker and vms. After i got evrything up and running i tried a scrub with fix errors it finished. I am now doing a move and the cache drive is growing in used space....
July 15, 20232 yr Author with all of this mess my docker plex is operational but no access to the media. this is such a complete mess. what do i to get back to stable?
July 16, 20232 yr Community Expert Sorry, can't help with Plex as I've never used, best to use the container support thread/discord.
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.