Jump to content

Conmyster

Members
  • Content Count

    91
  • Joined

  • Last visited

Community Reputation

3 Neutral

About Conmyster

  • Rank
    Advanced Member

Converted

  • Gender
    Male

Recent Profile Visitors

The recent visitors block is disabled and is not being shown to other users.

  1. Thought as much, one of the script has been running since this morning at 8:00 and is at 7.2KB. Will need to watch it over the next 7 days and see how large the files and rotated logs get. All it stores in the log is when the move starts and when it finished with how long it took in seconds. So 2 lines. The script is running every 10mins unless it is already moving. So it has the potential to write 2 lines every 10mins.
  2. Hello, I have 2 scripts that automatically move files from local storage to GDrive. I currently have the logs going to a user share under /mnt/user/rclone/logs I also have setup logrotate in /etc/logrotate.d to rotate the logs daily and keep 7 of them. I wanted to know if it's okay to store logs in /var/log instead?
  3. One thing I just noticed is that when you echo the current PID into the pid file you use the full path instead of using the $PIDFILE to reference it? Equally the same once the script has run I should put rm -f $PIDFILE at the end
  4. Sorry I'm failing to understand how exactly that if statement works. I think if I am understanding it correctly it will check if the pid file exists then if it does it will compare the current pid with the pid in the pid file. However I'm unsure what it does after that...
  5. Hello, How would you go about doing this exactly?
  6. Okay, so I added the following to the start of the script that should work right? if pidof -o %PPID -x "$0"; then exit 1 fi Just thought I should add that I'm planning on having 2 scripts one for my TV Shows and one for Movies.
  7. Hello, I have a script which moves TV shows from local storage to my Google drive crypt. Can someone explain how the scheding works? For example I want to set the move script to run every 10mins. However if there are a large amount of files in the directory it could take a while to finish. How does user scripts handle this? Will it just not run the script or do I need to add some code in my script to handle this? Hope this makes sense.
  8. I love how easy it is to add more storage capacity compared to regular RAID. I also love how much unraid has improved over the years. In 2020, I would like to see multiple arrays and possibly multiple cache pools. Would be nice to have a share span those said arrays too. That way someone could have 60 or more drives and store close to or more than a 1PB in a 4U chassis.
  9. Hello, UPDATE: So it seems that as I am unable to set static routes within the ISP provided router I would be unable to get this working. As a temporary measure I have put the server back into the working VLAN. I have contacted my ISP to confirm if there is actually a way to set static routes on it and if not then I will need to see if I can set it into modem mode and get a separate wireless router (such as TP Link) which will support static routes. I recently got a new Ubiquiti EdgeSwitch 48 Lite and it seems that other subnets are unable to access the internet. Example: My unRAID server is on VLAN 3 with the IP of 10.0.0.2 with the Switch being 10.0.0.1 My ISP provided router is 192.168.0.1 and connected to port 1 of the switch, which is part of VLAN 2 and has an IP of 192.168.0.2 I have routing on the switch and setup routing for each VLAN however it is still not working. Unsure if someone from here can help? unRAID network page: EdgeSwitch Route Table:
  10. I mean if you are thinking it to be equivalent to say a Dell storage array, then I can tell you that they don't have file moving facilities. Not to mention you can move/copy files with linux mv and cp respectively. or there is midnight commander
  11. If you want to get things within your docker share back on cache then the best method would be to set it to "Prefer" then run the mover this way any files on your disks will be moved to the Cache. It is then up to you if you want to set the Cache to "Only" or leave it to "Prefer"
  12. Yeh I'm unsure why it waited for the parity sync for it to display a notification about the removed disk.. Would need a more experienced user with unraid to see why...
  13. Ah so likely due to the parity sync running. Although I don't think that should be the correct course of action by unraid....
  14. Ah okay, I'm unsure on how it would deal with loosing a drive during a parity sync. As I'm aware most single parity hardware raid (say raid 5) would just die. And I don't have a system to test that with myself.
  15. If you setup the notification system under Settings > Notification Settings Then it should of notified you of the errors on the drive... I would need to test myself though Edit: After pulling my disk 5, I got a notification within 5 seconds (Discord) This is what my main screen looks like too: After this I stopped the array, unassigned the device, started the array. Then stopped the array and reassigned the device and started the array. Data is now rebuilding fine.