Jaytie Posted February 8, 2023 Share Posted February 8, 2023 Hi guys, since the general opinion about this question seems to differ a lot, I wanna ask it here again. I know this is not the first time asked but: What is the recommended choice when using a single cache drive (nvme), XFS or BTRFS? I'm not planning to add another drive to the cache-pool. All my Docker-Containers + their persistent volumes are sitting permanently on the cache. Right now the pool drive is formatted with BTRFS, since it has native Trim support in Unraid. I read about XFS being more stable and has better performance. I would need the Dynamix TRIM Tool for manual TRIM handling... What would you choose? Just let it be and use BTRFS or switch to XFS? Thanks in advance! Quote Link to comment
MAM59 Posted February 8, 2023 Share Posted February 8, 2023 I use XFS, not planning to make a RAID array in the cache pool too. So no need for the BTRFS overhead and potential risk of corruption. But, that is just my 2cents, others may love BTRFS... (I also will not go for ZFS once it is released in the next version) 1 Quote Link to comment
Jaytie Posted February 8, 2023 Author Share Posted February 8, 2023 Okay thanks! Since I'm using a single drive, I'm asking myself if there are any benefits of using BTRFS other than not having to enable TRIM via the Dynamix Plugin. I'm using a external HDD for Synology backups ie. that is formatted with btrfs because the Synology NAS is able to read that in case of an emergency, so there is a (small) benefit. But for the cache drive? Quote Link to comment
primeval_god Posted February 9, 2023 Share Posted February 9, 2023 (edited) BTRFS does offer snapshots if you have any need of them. I use single drive BTRFS for my cache drive and use snapshots to backup my appdata folder (not backup against drive failure but against accidental deletion of configuration breaking). It also offers the ability to do send and receive between BTRFS drives. I have not personally had any issues with corruptions on BTRFS file systems and have a mix of BTRFS and XFS drives in my array. Edited February 9, 2023 by primeval_god Quote Link to comment
Jaytie Posted February 10, 2023 Author Share Posted February 10, 2023 (edited) Thanks for your insight! I switched to xfs for my single cache nvme for now since the only thing I want is a fast accessable and reliable drive for all my Appdata. No other features needed atm. Might change in the future, let's see Only question that's left: I need to enable TRIM manually for that drive, right? Edited February 10, 2023 by Jaytie Quote Link to comment
AMDman13 Posted February 17, 2023 Share Posted February 17, 2023 I also have enabled my cache drive with xfs. I am completely new and am trying to figure out if I still need to TRIM manual and how to do so. Quote Link to comment
MAM59 Posted February 17, 2023 Share Posted February 17, 2023 5 hours ago, AMDman13 said: if I still need to TRIM manual and how to do so. There is a "Trim" Tab / section in the current version of unraid (before you needed to install a plugin). Go to Settings -> schedules page (where you can manage the parity check runs) and see the section/Tab about TRIM. Beware! When TRIM runs, the disk will be taken offline temporarily! This could interrupt ongoing transfers, so make sure you pick a time in which nothing is going on! Quote Link to comment
Jaytie Posted February 17, 2023 Author Share Posted February 17, 2023 SSD TRIM Settings are implemented in Unraid at least in my Version (6.11.5). As @MAM59 said under Settings -> Scheduler -> SSD TRIM Settings Quote Link to comment
AMDman13 Posted February 17, 2023 Share Posted February 17, 2023 Thanks guys! Found it. Thanks for the tip on setting it during a time that the disk won't be used. I am all set. 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.