Jump to content

gfjardim

Community Developer
  • Content Count

    2029
  • Joined

  • Last visited

  • Days Won

    1

gfjardim last won the day on August 25 2018

gfjardim had the most liked content!

Community Reputation

56 Good

2 Followers

About gfjardim

  • Rank
    Advanced Member

Converted

  • Gender
    Undisclosed

Recent Profile Visitors

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

  1. gfjardim

    Portuguese Unraid Users

    I know @johnnie.black is Portuguese. I'm Brazilian. Not so many of us, "lusófonos", right here.
  2. This version I tested myself, and I see no reason it didn't work with you. Glad to being able to help you.
  3. Please try now: #!/bin/bash exec_while_mountpoint() { command=$1 mountpoint=$2 if mountpoint -q "$mountpoint"; then bash -c "$command" & pid=$! while mountpoint -q "$mountpoint" && kill -0 $pid &>/dev/null; do sleep 0.1 done if kill -0 $pid &>/dev/null; then echo killing pid $pid kill -9 $pid &>/dev/null fi fi } backup_disk="/mnt/disks/Data_Backup_1" exec_while_mountpoint "rclone sync '/mnt/user/Backup Items' '/mnt/disks/Data_Backup_1/Backup'" "$backup_disk" exec_while_mountpoint "rclone sync '/mnt/user/Media/Music' '/mnt/disks/Data_Backup_1/Music'" "$backup_disk" exec_while_mountpoint "rclone sync '/mnt/user/Media/Music (uncat)' '/mnt/disks/Data_Backup_1/Music (uncat)'" "$backup_disk" exec_while_mountpoint "rclone sync '/mnt/user/SACD' '/mnt/disks/Data_Backup_1/SACD'" "$backup_dir"
  4. gfjardim

    Preclear plugin

    I need to see the preclear plugin log (see main OP.)
  5. gfjardim

    Development version/license possible?

    I'm pretty sure that if you have a valid Unraid license and IS a plugin or container developer, if you ask Limetech you could be gifted with an extra license for developing purposes.
  6. Yes, it will skip the rsync command if the disk isn't present and abort it if the disk drop.
  7. #!/bin/bash exec_while_mountpoint() { command=$1 mountpoint=$2 if mountpoint -q "$mountpoint"; then $command & pid=$! while mountpoint -q "$mountpoint" && kill -0 $pid &>/dev/null; do sleep 0.1 done kill -9 $pid &>/dev/null fi } backup_disk="/mnt/disks/Data_Backup_1" exec_while_mountpoint "rclone sync '/mnt/user/Backup Items' '/mnt/disks/Data_Backup_1/Backup'" "$backup_disk" exec_while_mountpoint "rclone sync '/mnt/user/Media/Music' '/mnt/disks/Data_Backup_1/Music'" "$backup_disk" exec_while_mountpoint "rclone sync '/mnt/user/Media/Music (uncat)' '/mnt/disks/Data_Backup_1/Music (uncat)'" "$backup_disk" exec_while_mountpoint "rclone sync '/mnt/user/SACD' '/mnt/disks/Data_Backup_1/SACD'" "$backup_disk"
  8. gfjardim

    RootFs slowly filling up

    This command will give us a better look: find / -type d -mindepth 1 -maxdepth 1 ! -iname "sys" -a ! -iname "proc" -a ! -iname "dev" -a ! -iname "mnt" -exec bash -c "du -h -d 2 {}" \;
  9. You can use a script like this: #!/bin/bash command="ping cnn.com" mountpoint="/mnt/disks/Backup_Data_1" if mountpoint -q "$mountpoint"; then $command & pid=$! while mountpoint -q "$mountpoint" && kill -0 $pid &>/dev/null; do sleep 0.1 done kill -9 $pid &>/dev/null fi Change the command and the mountpoint variables in the beginning of the script to the values you actually use.
  10. @TODDLT, please send the script you use to invoke RClone.
  11. @TODDLT, any news about this?
  12. If it's the source of the problem, we can figure a way to control that.
  13. If your backup drive connection is dropping during the backup, the rclone process can write files directly to your RAM. This would explain why diskinfo service got invoked and why your RAM is filling up.
  14. Are you using any process to backup data around this time?
  15. After reading this, I think your problems are hardware related. The rc.diskinfo invocation means a disk got added, changed or removed. After the diskinfo service update the unassigned disk information, it writes a file located at the RAM rootfs. This means you got faulty or full memory.