October 27, 20169 yr Hi guys. Running Unraid 6.2 and I currently have a data drive only server (3 data, 1 parity). Since it is recommended to run docker etc... off an SSD, I have purchased a Samsung evo 750 (120GB) SSD. How do I add this to Unraid and make it available as the "apps" drive? How do I setup this to work as a cache drive as well? Can I move my current docker configuration and data to the new drive or will I have to re-build everything? Many thanks in advance.
October 30, 20169 yr Assign the SSD as cache disk, it can then be used for apps drive as well as caching writes. I would use XFS if you only plan on using a single cache device, use BTRFS if you plan to add another one in the future.
October 30, 20169 yr Author Thanks. XFS supports trim etc... right? (I have read some time ago that was a reason to use BTRFS)
October 31, 20169 yr Author Thanks, last question :-) Do I need to manually move my "appdata" across or will this be done automatically on adding a cache drive? At the moment its on the root of disk 1.
October 31, 20169 yr Make sure the appdata share is set to "use cache disk: Prefer", then stop docker service and run mover.
November 1, 20169 yr Author Ok, the "system" share I don't need to touch or should set that to cache prefer as well? Also, mover, is this a plugin, an app or something as I can't find any references in the UI? Thanks.
November 1, 20169 yr Ok, the "system" share I don't need to touch or should set that to cache prefer as well? Also, mover, is this a plugin, an app or something as I can't find any references in the UI? Thanks. having a share set as 'Cache Prefer' instead of 'cache only' makes no difference if you have a Cache drive when you start. The main difference is when you do not have one initially, and later add one. In such a scenario the mover application will move any files for that share that are on the data disks to the cache disk when it runs. Mover is a built-in application that handles moving share files to/from the cache disk. By default it runs once a day in the early hours although you can change this frequency under the Scheduler settings. You can also manually invoke it any time by pressing the 'Move Now' button at the bottom of the Main tab.
November 1, 20169 yr Author Ok, is there some sort of simple guide for adding a simple "app drive" for docker etc...? I have no need for a "mover" script as my server is only powered up as and when I need it (I.e. to listen to music).
November 7, 20169 yr Author Sounds like the setup I need. Well I finally got all the cables required and have installed the SSD. Followed the instructions to add a new Cache drive, but it has come up as being BTRFS formatted, not XFS (which is the default in the disk settings). Can I reformat easily enough or is there a reason Unraid prefers BTRFS for Cache drives? Then I need to stop docker, do all that, move the image, then run mover? (where do I find that again??) Thanks.
November 7, 20169 yr Followed the instructions to add a new Cache drive, but it has come up as being BTRFS formatted, not XFS (which is the default in the disk settings). Can I reformat easily enough or is there a reason Unraid prefers BTRFS for Cache drives? If you have more than 1 cache slot visible with the array stopped, I think it forces BTRFS, since XFS doesn't support pooling in unraid. If you format the cache as XFS, then you will have to reformat to BTRFS if you ever decide you want cache pooling. If your server is rock solid, good UPS, never crashes, then BTRFS is fine.
November 7, 20169 yr Author ok, thanks for the clarification. I ended up reformatting as XFS as I won't be using a cache pool. I'm in the process of moving everything across... docker, app data etc... It's exciting!
Archived
This topic is now archived and is closed to further replies.