October 17, 20241 yr Help! I have a btrfs cache pool with 3 SSDs. I noticed it's in Raid1 mode, so I thought it would be an amazing idea to change it to Raid0, so I can reap all the speed that I deserve. I used the balance thingy, but nothing happened. (or so I thought). So my next brilliant idea was to use the balance thingy again to change into single mode. Again, nothing happened. I thought I saw some errors, so I panicked and tried to switch back to raid1. (Here comes the balance thingy again.) Now I can't do anything. Can't create a new pool, can't un-assign a disk, can't change shares to mount it to my PC, can't install appdata backup. I ran btrfs device usage /mnt/cache and it shows 5 data profiles Am I cooked? Help me Obi-One Kenobi, you're my only hope. patisonas-diagnostics-20241017-0955.zip
October 17, 20241 yr Community Expert Two of devices are completely full, you can try to cancel the balance, then move/delete some data, then try again. Stop the array and type mkdir /x mount -t btrfs - o skip_balance /dev/sdb1 /x btrfs balance cancel /x umount /x Now start the array, if docker and VM services are using the pool disable them so no new writes are made to the pool, then remove some data until both full devices are left with a least a few GBs of free/unallocated space
October 17, 20241 yr Author Thank you JorgeB, you're the best. That allowed me to access appdata and delete some unused leftover folders. But I still see multiple profiles: Isn't this a problem? I think I want to get rid of 2 SSDs and leave the big 2TB SSD in there as a single cache disk with xfs. Should I create a new pool? How can I do it without losing data?
October 17, 20241 yr Community Expert You should now be able to balance the pool to the desired profile, you can do that in the pool page.
October 17, 20241 yr Author It appears stuck on 69% left, and the log keeps repeating: Oct 17 13:29:01 PatisoNAS kernel: BTRFS info (device sde1): found 1 extents, stage: update data pointers over and over. It did the same before on my previous attempts to balance.
October 17, 20241 yr Community Expert In that case you would recommend backing up the pool, reformatting with the correct profile, and then restore the data.
October 17, 20241 yr Author Ok, excuse my noobness, but how do i backup the cache? Do I install an app, or simply copy and paste? People mention ca backup, but it's not an option anymore. I tried installing appdata backup but it throws an error: plugin: unable to create parent directory for /boot/config/plugins/appdata.backup/appdata.backup-2024.09.25.tgz Also I can't change the SMB setting of the appdata share to export so I can mount it on my PC. I change export to yes and it turns it back to no.
October 17, 20241 yr Community Expert You can use this procedure from the 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.
October 17, 20241 yr Author Unfortunately, I can't disable the docker, nor the VMs, nor change the use cache setting of the shares. Any setting I change is returned to its previous status immediately. Enable VMs Enable docker SMB export share Edited October 17, 20241 yr by Ilias
October 17, 20241 yr Community Expert If changes are not saving this suggests your flash drive might be having problems.
October 18, 20241 yr Author Here you go. I will try to swap the flash drive as well later tonight. patisonas-diagnostics-20241018-1459.zip
October 18, 20241 yr Community Expert Solution It's not the pool, but the flash drive is read-only: Oct 18 14:40:00 PatisoNAS emhttpd: error: put_config, 578: Read-only file system (30): fopen: /boot/config/ident.cfg.new Try running chkdsk on your desktop
October 21, 20241 yr Author The flash drive was FUBAR, you were right. I think it went belly up and switched to permanent read-only. chdsk couldn't fix it, I changed it with a fresh one, moved the cache to the array, deleted the pool, created a new one with xfs, restored the docker apps from previous installations and now everything seems to be fine. I only lost the homeassistant VM but it's not a big deal, I'll build it from scratch. Serves me right for using a cheapo giveaway flashdisk from a google seminar. I wonder if this was the problem all along.
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.