Hi all,
I'm a linux novice and would like some help creating a bash script that I can setup on a cron. The purpose of the script is to write the size of each user's home directory to a csv file every night. I have it working great right now, but would like to add a third column that contains the...
Being a total linux/freensd noob, I had no idea why my scripts were running on boot. they were throwing all kinds of errors. So I'm trying to post what I finally got to work here so others don't have to struggle for as long as I did...someone please correct me if I'm wrong
1. in your script...
I need to run a postinit script, which I've carefully written to use only full command paths. It works perfectly when I run it manually, but when I set it to be run automatically as a postinit script, it's never run.
Now, the script is on an encrypted volume, but I've been unencrypting it as...
I have installed Sonarr, Radarr, Lidarr, Sabnzbd and Tautulli in separate iocage jails as per this Resource.
I want to have an easy way to install the apps in a separate jail as per the Resource link, as well as an easy way to backup and restore the separate data directories for them. You have...
on my freenas I connected a USB disk to backup the data of my volume, I have provided a startup script to mount the disk on the backup_usb folder at startup but it does not work although the script I have scheduled it as a task Postinit
why?
Hello
i'm trying to get a program (plexdrive) to start at boot.
so far i tried this in command at postinit:
/usr/local/bin/screen -dmS plexdrive_screen /bin/sh /usr/local/bin/plexdrive mount -c /mnt/SSD0/home/kenny/.plexdrive -o allow_other /mnt/SSD0/PlexRemote
Also tried in script postinit...
Freenas 11.1
I setup a cron task in the GUI, and have tried running it, but it does not seem to run. I've set it up as the root user, and put the full path to the shell script it's supposed to run.
I'm trying to test to see if this works by using the "Run Now" button.
The command...
A friend of mine, who is into home automation, wanted to install the domoticz system with drivers for the Aeotec Z-Stick Z-Wave USB stick into FreeNAS 11.1. I took as a challenge to find out, how difficult would it be to write a fairly complex, but fully automatic installation script of a...
When I upgraded my FreeNAS box, I installed an LSI HBA, so now I have drives that are daX, and adaX. I have a script that checks to see if a drive is spun down (I have a secondary pool that is rarely used and stays in power down standby) and not wake it up just to take it's temperature.
I...
As part of the process of upgrading my FreeNAS box, I'm going through and sorting all my scripts.
I put together this script to aid in drive identification so that when a drive fails it's easier to locate the correct drive for replacement.
The similar scripts I have come across used smartctl...
Has anyone used syncoid to script replication of ZFS snapshots on FreeNAS?
( https://github.com/jimsalterjrs/sanoid/blob/master/syncoid )
FYI it's a huge perl script that uses zfs commands to do replication tasks. At first glance it looks like it could be really useful, but before I dig into...
Hello all. I've been playing around with my commandlinefu to keep it strong. There are definitely some great scripts out here to keep an eye on one's FreeNAS box. I just wanted to share this one in hopes someone might like it or a scripting/security guru could tell me how dumb of an idea it is...
I currently have an init script that looks like this on my zfs vol:
#!/bin/bash
/usr/local/bin/plexdrive mount --uid=1000 --gid=1000 --cache-file=/mnt/Data/Docker/plexdrive/cache.bolt -c /mnt/Data/Docker/plexdrive -o allow_other /mnt/Data/PlexDriveEncrypted &
/usr/local/bin/rclone mount...
I tried to create a volume out of 2 x 500 GB hdds and get this from the window:
Request Method: POST
Request URL: http://192.168.100.64/storage/volumemanager/
Software Version: FreeNAS-11.0-U2 (e417d8aa5)
Exception Type: MiddlewareError
Exception Value:
[MiddlewareError: b'Unable to GPT format...
Bonjour à vous,
Je configure un freenas lié à un Windows server 2012. (le freenas est bien dans le domaine)
J'aimerais que mon freenas fasse des snapshots tout les x temps et les envoie sur mon windows server.
Je pensais donc faire un instantané pérodique (ex: le vendredi soir)
Et sur le WS...
Supposing I want to build custom monitoring scripts or what have you, is there a location (perhaps /usr/local/sbin?) where they won't get pwned by an upgrade?
Hi,
I have a script that is designed to pull a couple of spreadsheets via a curl request. I've tested the script multiple times and works perfectly within the shell, however when I try to set it up as a cron job, not only does the script not run at the specified time, it doesn't run at all even...
Hello Everyone,
I'm fairly new to the FreeNAS community, I've been using it for a couple of months. I'm truly loving it. At home I've been using NAS4Free due to my NAS being an Aspire Home Server with an Intel Atom, 4TB storage (with not the best retention), and 2GB RAM (I've had it for like 6...
Funktioniert eigentlich das Script in den HowTo`s mit dem man automatiscjh MAils versenden kann mit Smart-Infos und anderen Systeminformationen auch mit der aktuellen 9.10er Version von Freenas?
Hab mich durch das englische HowTo gekämpft, will aber nichts kaputmachen. Vielleicht gibt es ja...
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.