dcruff Posted January 14, 2022 Share Posted January 14, 2022 I rebooted my server and now my cache is Unmountable: not mounted. The status of the 1 TB Samsung SSD still shows green but I can't find a way to mount the drive. embyserver-diagnostics-20220114-0906.zip Quote Link to comment
JorgeB Posted January 14, 2022 Share Posted January 14, 2022 Jan 14 07:56:37 EmbyServer kernel: BTRFS info (device nvme0n1p1): bdev /dev/nvme0n1p1 errs: wr 0, rd 0, flush 0, corrupt 2943, gen 0 Btrfs is detecting data corruption, start by running memtest. Quote Link to comment
dcruff Posted January 15, 2022 Author Share Posted January 15, 2022 (edited) So, after running memtest, I don't see any log file created but on the screen I see BTRFS: errors. Is this fixable like a chkdsk/f, or is my new Samsung 1 TB SSD toast? Or do I reformat it? Edited January 15, 2022 by dcruff Quote Link to comment
dcruff Posted January 15, 2022 Author Share Posted January 15, 2022 I'm starting to wonder if I even need a cache drive to help out my Emby performance. I've now got all of my media moved over to my array and I'm not worried about any performance issues while moving more data to the array. What bothers me most right now is that my Emby docker disappeared and I'm not sure if I'll have to reset all of my Emby configuration back up. Quote Link to comment
JorgeB Posted January 16, 2022 Share Posted January 16, 2022 13 hours ago, dcruff said: Or do I reformat it? Run a scrub, any corrupt files will be listed in the syslog, delete/replace those from backups. Quote Link to comment
dcruff Posted January 16, 2022 Author Share Posted January 16, 2022 Problems of being a noob, but, how do I scrub the cache drive? Please believe me, I've been searching all over. Quote Link to comment
itimpi Posted January 16, 2022 Share Posted January 16, 2022 1 minute ago, dcruff said: Problems of being a noob, but, how do I scrub the cache drive? Please believe me, I've been searching all over. Click on the drive on the Main tab and select the Scrub option. Quote Link to comment
dcruff Posted January 16, 2022 Author Share Posted January 16, 2022 (edited) That sounds so easy, but I don't see a 'scrub' option. Could that be because the drive is "Unmountable: not mounted"? Under the "Scrub Status" the 'scrub' button is greyed out with a statement that "Scrub is only available when array is Started". The cache SSD is not part of an array. Edited January 17, 2022 by dcruff Quote Link to comment
JorgeB Posted January 17, 2022 Share Posted January 17, 2022 Yes, scrub will only work on a mounted filesystem, reboot and post new diags after array start but if it doesn't mount now and there's any important data there see here for some recovery options. Quote Link to comment
dcruff Posted January 17, 2022 Author Share Posted January 17, 2022 I think that I'm too green of a linux user to understand your instructions. Maybe the best question might be, do I have any data that should be restored from off of the SSD. This is a new install and the only data that I really care about is already on the drive array. The cache was just there for performance. Apparently, the SSD cache drive had information about the dockers also (Emby and Krusader) and that's why the dockers have disappeared. I made sure to store all EMBY meta data for my movies in local nfo files in the actual media folders along with associated artwork so I don't think that I'd have to re-massage the media files. I may have lost some Emby configuration and setup informtion, but I'm not sure. It seems odd that Emby would store that information on the cache. I thought that everything stored on a cache drive was just temporary. Can I just reformat the cache and re-install the dockers? Do I really need the cache? Can I add a cache SSD later after successfully setting up Emby again? Or, should I see if there is something worth salvaging on the cache SSD? I know that's a lot of question but I just want to get Emby up and running finally on Unraid. I'm still running it on my old Windows server until this is ready. Quote Link to comment
JorgeB Posted January 17, 2022 Share Posted January 17, 2022 52 minutes ago, dcruff said: Can I just reformat the cache and re-install the dockers? Yes, will also need to re-configure them. 52 minutes ago, dcruff said: Do I really need the cache? Up to you. 52 minutes ago, dcruff said: Can I add a cache SSD later after successfully setting up Emby again? Yes. Quote Link to comment
dcruff Posted January 19, 2022 Author Share Posted January 19, 2022 Reinstalled the Emby Docker and re-set up the media categories and everything appears to be working well. All of my 4,000 movies and series seem to be in tact. The Unraid server has also been running solidly. I then formatted the 1 TB cache but have not enabled it for any of the shares. I think that the cache was at the center of most of my problems over the last couple of weeks. I'm going to run the system without the cache for a while before starting to use it again. I'm still curious what performance improvements I might see while streaming. Quote Link to comment
trurl Posted January 19, 2022 Share Posted January 19, 2022 42 minutes ago, dcruff said: I'm going to run the system without the cache for a while before starting to use it again. I'm still curious what performance improvements I might see while streaming. Ideally, you want appdata, domains, system shares on fast pool (cache) so dockers/VMs will perform better and won't keep array disks spinning since these files are always open. Quote Link to comment
Solution dcruff Posted January 19, 2022 Author Solution Share Posted January 19, 2022 I just checked my shares on Unraid to add cacheing to my appdata and domains and saw that they already had their caches turned back on. Apparently, when I reformatted and mounted the SSD cache drive, it automatically turned the cache on for several of the shares. I'm still debating whether I want to use it for media library. I'm also a little bothered that it turned all of those shares to "Yes : Cache" without my doing so. So far, it has been running smoothly though. Quote Link to comment
trurl Posted January 20, 2022 Share Posted January 20, 2022 23 hours ago, trurl said: Ideally, you want appdata, domains, system shares on fast pool (cache) so dockers/VMs will perform better and won't keep array disks spinning since these files are always open. Disable Docker and VM Manager in Settings, set those shares to cache-prefer, run mover to get them moved to cache. 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.