Michael H Posted January 17, 2022 Share Posted January 17, 2022 1 hour ago, dlandon said: What is your disk hardware? parity is a 10 tb seagate ironwolf, the 2 data disks are 10 tb wd red. all connected via the hp p840 raid controller in hba mode. something about the raid controller is already fishy, as for smart data i had to manually set all drives to smart controller type = sat to show temperatures on the main tab, although with default smart also worked but would only show * in main tab as temperature. Quote Link to comment
dlandon Posted January 17, 2022 Author Share Posted January 17, 2022 You might be onto something there. @JorgeB is the disk and controller whizard. Maybe he can offer some assistance. Quote Link to comment
JorgeB Posted January 17, 2022 Share Posted January 17, 2022 36 minutes ago, Michael H said: p840 raid controller Not familiar with that one, but we don't recommend RAID controllers for Unraid, only true HBAs. Quote Link to comment
Michael H Posted January 17, 2022 Share Posted January 17, 2022 i wouldnt mind replacing it, but i have no idea how to check what would be compatible with my backplane. is there anything in particular i have to worry about? or can i just google pictures from connectors to find out what kind of connector that is and buy a card that has 2 of the same? Quote Link to comment
JorgeB Posted January 17, 2022 Share Posted January 17, 2022 27 minutes ago, Michael H said: or can i just google pictures from connectors to find out what kind of connector that is and buy a card that has 2 of the same? Googling the p840 looks like it uses double wide SFF-8087, which is uncommon, first time I've seen those, but if you get for example one of the recommended LSI HBAs you just need to need to get a cable that matches the LSI on one end, regular SFF-8087 (SAS2 models) or SFF-8643 (SAS3 models) and whatever you have on your backplane. Quote Link to comment
Michael H Posted January 17, 2022 Share Posted January 17, 2022 (edited) i think the double wide is because one of the cables actually goes to 2 connections on the backplane (the other one has half as many connections): https://www.houseofsystems.de/778559-001 the backplane i have is here: https://www.serverschmiede.com/de/hp-dl380-gen9-g9-12x-35-lff-hdd-12g-sas-sata-backplane-742794-001-777284-001 maybe from that port you can tell me what hba and cables to get? with my limited knowledge i would say i need s card that has 4 ssf-8087 ports and 3 ssf-8087 to ssf-8087 cables? sorry to bother you, but server hardware is not my strong side and 250 euros+ is not something i want to blindly try... and back to the topic: as you are the disk controller wizard: have you seen this "no spindown" behaviour with other cards and is it common that they only spin up the data and not the parity drive? Edited January 17, 2022 by Michael H Quote Link to comment
JorgeB Posted January 18, 2022 Share Posted January 18, 2022 Backplane appears to use regular SFF-8087, so you just need a couple of SFF-8087 to SFF8087 cables, or SFF-8643 to SFF-8087 if you go with a SAS3 model. Quote Link to comment
dalben Posted February 16, 2022 Share Posted February 16, 2022 Is there a way to exclude a particular share(s) from being monitored or at least logged? The Unraid server is also acting as a syslog server in my setup and due to the quirks of the Unraid syslog server setup, syslog needs to be on an array/pool drive. At the moment every syslog entry is monitored and logged by this plugin. It's info I don't really need. Quote Link to comment
dlandon Posted February 17, 2022 Author Share Posted February 17, 2022 Normally the syslog server is on the cache or a pool device. Cache and Pool devices can be set to not be monitored. The syslog server doesn't have to be on a array device. Quote Link to comment
dalben Posted February 17, 2022 Share Posted February 17, 2022 21 hours ago, dlandon said: Normally the syslog server is on the cache or a pool device. Cache and Pool devices can be set to not be monitored. The syslog server doesn't have to be on a array device. Understood, but what I needed File Activity for was to monitor what was happening on one of my pools. The same pool the syslog is on. At 19:30pm every day I had something deleting/archiving some files in a particular share and for the life of me I couldn't find what was doing it. But all good now. Was just wondering if there was an option somewhere that I wasn't aware of. Scrolling past the syslog entries won't kill me. Quote Link to comment
dlandon Posted February 17, 2022 Author Share Posted February 17, 2022 Cache and pool devices are not normally spinners. You can organize the log by shares and only look at the ones you want. 1 Quote Link to comment
tris203 Posted March 6, 2022 Share Posted March 6, 2022 I cant get this to log any information. The process seemingly starts, but now rows are listed in the file activity section I have checked the syslog and cant see any errors about inotifywatches. Mar 6 23:13:43 Unraid ool www[4853]: /usr/local/emhttp/plugins/file.activity/scripts/rc.file.activity 'start' Mar 6 23:13:43 Unraid file.activity: Starting File Activity I can see the process running root@Unraid:~# ps aux | grep inotify root 5371 0.0 0.0 2588 780 ? S 21:46 0:00 inotifywait -q /boot/changes.txt -e move_self,delete_self,modify root 8363 1.6 0.0 3044 2216 ? D 23:13 0:00 inotifywait -mrqs -e open,attrib,move,create,delete,modify --excludei (appdata|syslogs) --timefmt %b %d %H:%M:%S --format %T %e => %w%f --fromfile /tmp/file.activity/file.activity.disks root 9147 0.0 0.0 3904 1944 pts/2 S+ 23:14 0:00 grep inotify Diags attached unraid-diagnostics-20220306-2312.zip Quote Link to comment
dlandon Posted March 6, 2022 Author Share Posted March 6, 2022 I don't see anything in your diagnostics that would be an issue, You are creating file activity that would be logged? Try creating a file on one of your shares and then save it. Does it log that file activity? Quote Link to comment
tris203 Posted March 6, 2022 Share Posted March 6, 2022 17 minutes ago, dlandon said: I don't see anything in your diagnostics that would be an issue, You are creating file activity that would be logged? Try creating a file on one of your shares and then save it. Does it log that file activity? I was opening files from my general share and nothing was being logged Quote Link to comment
dlandon Posted March 7, 2022 Author Share Posted March 7, 2022 What's a general share, and how were you opening them? Did you try my test to see if it would log that? Quote Link to comment
tris203 Posted March 7, 2022 Share Posted March 7, 2022 (edited) 23 minutes ago, dlandon said: What's a general share, and how were you opening them? Did you try my test to see if it would log that? Sorry, just a regular SMB share called "General" which stores photos, documents etc. I havae also tried creating a new file in there. Nothing logged as a side note, I also have the openfiles plugin, and opening files shows records in there but not in the file activity plugin Edited March 7, 2022 by tris203 Quote Link to comment
dlandon Posted March 7, 2022 Author Share Posted March 7, 2022 Does the status in the upper right hand corner of the file activity show 'Running'? Quote Link to comment
tris203 Posted March 7, 2022 Share Posted March 7, 2022 (edited) 6 hours ago, dlandon said: Does the status in the upper right hand corner of the file activity show 'Running'? It does. Running in green Edited March 7, 2022 by tris203 Quote Link to comment
dlandon Posted March 7, 2022 Author Share Posted March 7, 2022 I'm not sure what your issue is, but it works fine for me on 6.10-rc. Quote Link to comment
rbreen Posted March 13, 2022 Share Posted March 13, 2022 The plug in seems to stop after 60 seconds? Any troubleshooting I can do? Seems to start fine, but nothing logs to screen, refresh a few times and then status returns to stopped. Quote Link to comment
dlandon Posted March 13, 2022 Author Share Posted March 13, 2022 13 minutes ago, rbreen said: The plug in seems to stop after 60 seconds? Any troubleshooting I can do? Seems to start fine, but nothing logs to screen, refresh a few times and then status returns to stopped. Post your diagnostics. Quote Link to comment
vohk Posted March 17, 2022 Share Posted March 17, 2022 Having a similar as described above. Diagnostics attached. Hit start, Unraid progress animation shows for a few seconds, page refreshes. Status never changes from 'Stopped'. Ah, figured it out. Plugin will not start if "Enable for Cache and Pool Disks?" is set to "Yes". Seems to be working if toggled off. box-diagnostics-20220317-1251.zip Quote Link to comment
Bovin Posted April 4, 2022 Share Posted April 4, 2022 Plugin will not start in my box. no any error in cli or syslog. Please help check this. root@Bovin-lab:~# /usr/local/emhttp/plugins/file.activity/scripts/rc.file.activity 'start' Starting File Activity... root@Bovin-lab:~# /usr/local/emhttp/plugins/file.activity/scripts/rc.file.activity 'start' Starting File Activity... root@Bovin-lab:~# ps aux | grep inotif root 12345 0.0 0.0 3984 2352 pts/0 S+ 18:09 0:00 grep inotif bovin-lab-diagnostics-20220404-1812.zip Quote Link to comment
dlandon Posted April 4, 2022 Author Share Posted April 4, 2022 34 minutes ago, Bovin said: Plugin will not start in my box. no any error in cli or syslog. Please help check this. root@Bovin-lab:~# /usr/local/emhttp/plugins/file.activity/scripts/rc.file.activity 'start' Starting File Activity... root@Bovin-lab:~# /usr/local/emhttp/plugins/file.activity/scripts/rc.file.activity 'start' Starting File Activity... root@Bovin-lab:~# ps aux | grep inotif root 12345 0.0 0.0 3984 2352 pts/0 S+ 18:09 0:00 grep inotif bovin-lab-diagnostics-20220404-1812.zip 76.69 kB · 0 downloads This normally happens when there aren't enough notify watches, but there is generally a log entry saying there aren't enough. Try using the 'Tips and Tweaks' plugin and increase the "Max Watches 'fs.inotify.max_user_watches':" value and then starting file activity. Quote Link to comment
Bovin Posted April 4, 2022 Share Posted April 4, 2022 1 hour ago, dlandon said: This normally happens when there aren't enough notify watches, but there is generally a log entry saying there aren't enough. Try using the 'Tips and Tweaks' plugin and increase the "Max Watches 'fs.inotify.max_user_watches':" value and then starting file activity. thanks for your quick response. I use the default value 524288. Now I tried 1524288. The problem is persisted. By the way, I am run on 6.10.0-rc4. Any known compatible issues? 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.