al_uk Posted February 15, 2015 Share Posted February 15, 2015 I have a 500GB cache drive which contains my XEN vms and Docker image. Should I change it to BTRFS. If so, then is the process as follows? Stop all VMs Stop all Dockers Copy cache drive contents to array disk Stop array Unassign cache drive Format cache drive *How do I get Unraid to recognise this drive as new and then let me format as BTRFS? Reassign cache drive - Start array Copy cache drive conents from array disk Stop array Start array for Docker and VM to restart I am running b12 Cheers Quote Link to comment
itimpi Posted February 15, 2015 Share Posted February 15, 2015 You process is not quite right! After stopping the array, do not unassign the drive but instead click on the drive and change the format to btrfs. On restarting the array you will be offered the option to reformat it. Note that you will lose all the current contents if you go through this route so make sure you are ready for that to happen. Perhaps more relevant is why do you actually want to change the format to BTRFS? The main reason I can think of is because you want to use drive pooling which is not available for XFS. If you do not want that then I would suggest sticking with XFS as it more stable. Quote Link to comment
al_uk Posted February 15, 2015 Author Share Posted February 15, 2015 Thanks for the correction on the process! I think I want to change to BTRFS because of TRIM support in BTRFS to reduce the wear on the SSD drive? But happy to be corrected again :-) Quote Link to comment
BRiT Posted February 15, 2015 Share Posted February 15, 2015 I have my cache drive as XFS because it seems to be a more mature filesystem. I have not seen people report drive filesystem corruptions on XFS but have seen multiple folks reporting BTRFS corruption issues. But its up to you. Depending on your SSD you might not need explicit fstrim, as most will run garbage collection cycles when there is low activity. Quote Link to comment
BRiT Posted February 15, 2015 Share Posted February 15, 2015 Also, everyone with an SSD should read the data write torture series over at TechReport.com . They have taken typical average SSD and written several petabytes of data to them to find their breaking points. its a very interesting set of reports. Quote Link to comment
lionelhutz Posted February 15, 2015 Share Posted February 15, 2015 Data on my BTRFS cache keeps getting corrupted. I'm switching it to XFS right now. Quote Link to comment
StevenD Posted February 15, 2015 Share Posted February 15, 2015 Data on my BTRFS cache keeps getting corrupted. I'm switching it to XFS right now. This too happened to me. Ive been on XFS for a couple of months now with no issues. Quote Link to comment
archedraft Posted February 15, 2015 Share Posted February 15, 2015 Data on my BTRFS cache keeps getting corrupted. I'm switching it to XFS right now. I also had my BTRFS drive become corrupt. Been in XFS for the last 2 months and very happy I switched. Quote Link to comment
al_uk Posted February 15, 2015 Author Share Posted February 15, 2015 I get the message, thanks for the feedback. I'll stick with xfs. :-) Thanks. Quote Link to comment
jonp Posted February 16, 2015 Share Posted February 16, 2015 Data on my BTRFS cache keeps getting corrupted. I'm switching it to XFS right now. Data on my BTRFS cache keeps getting corrupted. I'm switching it to XFS right now. I also had my BTRFS drive become corrupt. Been in XFS for the last 2 months and very happy I switched. Been using a 3 drive btrfs array for many months now and no corruption. Quote Link to comment
lionelhutz Posted February 16, 2015 Share Posted February 16, 2015 The first time I changed drives and slots due to seeing csumerrors. I started getting 100's of these again and two of my Mariadb tables were unreadable due to them being corrupted. Feb 15 05:27:50 MediaServer kernel: BTRFS info (device sdf1): csum failed ino 173885 off 7553024 csum 1736272833 expected csum 2004874111 Quote Link to comment
WeeboTech Posted February 16, 2015 Share Posted February 16, 2015 Data on my BTRFS cache keeps getting corrupted. I'm switching it to XFS right now. Data on my BTRFS cache keeps getting corrupted. I'm switching it to XFS right now. I also had my BTRFS drive become corrupt. Been in XFS for the last 2 months and very happy I switched. Been using a 3 drive btrfs array for many months now and no corruption. Array and/or cache drive with dockers? If I remember correctly BTRFS cache with dockers has issues with corruption. Quote Link to comment
Interstellar Posted February 16, 2015 Share Posted February 16, 2015 BRTFS with 3 dockers (one .img file - 20GB in size) all OK here so far and has been for about 5 months now. Quote Link to comment
jonp Posted February 16, 2015 Share Posted February 16, 2015 Data on my BTRFS cache keeps getting corrupted. I'm switching it to XFS right now. Data on my BTRFS cache keeps getting corrupted. I'm switching it to XFS right now. I also had my BTRFS drive become corrupt. Been in XFS for the last 2 months and very happy I switched. Been using a 3 drive btrfs array for many months now and no corruption. Array and/or cache drive with dockers? If I remember correctly BTRFS cache with dockers has issues with corruption. Array and cache. The docker corruption issues happen inside the loop back image, not on the parent filesystem. And worth noting this is fixed in the next release. Quote Link to comment
BRiT Posted February 16, 2015 Share Posted February 16, 2015 Data on my BTRFS cache keeps getting corrupted. I'm switching it to XFS right now. Data on my BTRFS cache keeps getting corrupted. I'm switching it to XFS right now. I also had my BTRFS drive become corrupt. Been in XFS for the last 2 months and very happy I switched. Been using a 3 drive btrfs array for many months now and no corruption. Array and/or cache drive with dockers? If I remember correctly BTRFS cache with dockers has issues with corruption. Array and cache. The docker corruption issues happen inside the loop back image, not on the parent filesystem. And worth noting this is fixed in the next release. Which I'm sure will be released soon. Quote Link to comment
JonathanM Posted February 16, 2015 Share Posted February 16, 2015 And worth noting this is fixed in the next release. Which I'm sure will be released soon. More news later. Quote Link to comment
jonp Posted February 16, 2015 Share Posted February 16, 2015 Data on my BTRFS cache keeps getting corrupted. I'm switching it to XFS right now. Data on my BTRFS cache keeps getting corrupted. I'm switching it to XFS right now. I also had my BTRFS drive become corrupt. Been in XFS for the last 2 months and very happy I switched. Been using a 3 drive btrfs array for many months now and no corruption. Array and/or cache drive with dockers? If I remember correctly BTRFS cache with dockers has issues with corruption. Array and cache. The docker corruption issues happen inside the loop back image, not on the parent filesystem. And worth noting this is fixed in the next release. Which I'm sure will be released soon. It will. Yes. Quote Link to comment
lionelhutz Posted February 16, 2015 Share Posted February 16, 2015 Don't you have the option of setting up a redundant self correcting array when using BTRFS? Quote Link to comment
rmciii Posted August 13, 2015 Share Posted August 13, 2015 I also had my BTRFS drive become corrupt and reformatted to BTRFS 3 times. I give up! This time I reformatted to XFS. Quote Link to comment
gundamguy Posted August 13, 2015 Share Posted August 13, 2015 Don't you have the option of setting up a redundant self correcting array when using BTRFS? The short answer is yes. The long answer is I'm not exactly sure how this functionality works yet, and some people have had problems getting the BTRFS array to balance after a drive fails. I wonder what it is causing BTRFS problems, becuase it seems that this isn't as ioslated as I originally thought. Quote Link to comment
zParticle Posted August 30, 2015 Share Posted August 30, 2015 I'm new to unRAID, and was really glad to find this thread and learn I'm not the only one experiencing inexplicable BTRFS pool corruption. I've switched to a single XFS drive for the cache and it's been stable so far. I was originally using two 1TB SSDs which would work fine for a day or three until the logs suddenly started spamming BTRFS errors and the cache pool would eventually report unmountable. After troubleshooting everything else in the chain and rebuilding multiple times, I'm glad to finally have a possible fix, even if it means a little less redundancy. One hint: you have to set your cache device count to 1 before it will let you choose a different disk format. Took me too long to figure that out! Quote Link to comment
al_uk Posted December 17, 2015 Author Share Posted December 17, 2015 Hi, I'm just revisiting this thread after upgrading to 6.1.6. Is the advice still to stick with single cache and xfs with manual backups? I've run out of space on my 500GB SSD, so I'm considering upgrading to dual 1TB SSDs in a cache pool. I read some threads saying that it wasn't clear how to recover and rebuild from a drive failure in a pool. Quote Link to comment
dmacias Posted December 17, 2015 Share Posted December 17, 2015 I haven't had good luck with btrfs but I haven't tried it in a while. I had a few 120GB for a cache drive but decided to split them up after having corruption too many times. One for cache, one for dockers and vm's and a third to a different computer. Quote Link to comment
lionelhutz Posted December 19, 2015 Share Posted December 19, 2015 According to LimeTech, any BTRFS issues are caused by your hardware being bad. BTRFS is perfect.......... Quote Link to comment
spencers Posted March 9, 2016 Share Posted March 9, 2016 Data on my BTRFS cache keeps getting corrupted. I'm switching it to XFS right now. Data on my BTRFS cache keeps getting corrupted. I'm switching it to XFS right now. I also had my BTRFS drive become corrupt. Been in XFS for the last 2 months and very happy I switched. Been using a 3 drive btrfs array for many months now and no corruption. Array and/or cache drive with dockers? If I remember correctly BTRFS cache with dockers has issues with corruption. Array and cache. The docker corruption issues happen inside the loop back image, not on the parent filesystem. And worth noting this is fixed in the next release. Well my BTRFS cache drive went tits up out of nowhere this afternoon. Ashamedly no backup of my docker apps or virtual machines. Wish the mentioned fix would have prevented this huge pain in my neck. Going XFS this time around. Quote Link to comment
Recommended Posts
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.