Please always read this file before installing the package
Download software here: https://github.com/fritz-hh/scripts_NAS4Free/tags
- None
- None
- manageAcpi.sh: Fix an issue where just after a resume, the acpi.log file contained the same timestamp than just before starting to sleep (in S3). FreeBSD, seems to need a bit of time before synchronize the clock after resuming.
- Xigmanas (formerly NAS4Free) 13.2.0.5 - Heighliner (revision 9876)
- manageAcpi.sh: Record the timeslots where the ACPI state of the NAS was not tracked by manageAcpi.sh. (e.g. because the script was terminated or manually shutdown by the administrator) (#33)
- manageAcpi.sh: Code cleanup to increase readability and maintainability.
- All scripts: In case a script is is terminated by the user (e.g. CTRL-C), or if the NAS is shutdown by the user, release the lock, so that will start properly next time (#2)
- acpiStats.sh: Improve formatting of the log
- Xigmanas (formerly NAS4Free) 13.2.0.5 - Heighliner (revision 9876)
- None
- Code cleanup to increase readability and maintainability.
- None
- Xigmanas (formerly NAS4Free) 13.2.0.5 - Heighliner (revision 9876)
- manageAcpi.sh: Add an
-b
option to define that the NAS shall never go to sleep if an SMB connection to the NAS exists.
- From now on, use semantic versioning (see https://semver.org/)
- Remove all trailing spaces in the scripts.
- Use spaces for indentation instead of tabs (4 spaces per tab)
- manageAcpi.sh: Refactoring to improve maintainability
- None
- Xigmanas (formerly NAS4Free) 13.2.0.5 - Heighliner (revision 9876)
- None
- None
- manageAcpi.sh: Fix an issue where a temporary file never got deleted (because main is end endless loop that shall never return).
- scrubPools.sh: Silence warnings related to an incorrectly configured block size (ashift) Rationale: This configuration issue has a negative impact on the performance of the pool, but does not require any immediate action. Therefore, it shall not trigger a an email warning
- Xigmanas (formerly NAS4Free) 13.2.0.5 - Heighliner (revision 9876)
- None
- None
- checkPools.sh: Silence warnings related to an incorrectly configured block size (ashift) Rationale: This configuration issue has a negative impact on the performance of the pool, but does not require any immediate action. Therefore, it shall not trigger a an email warning
- checkTemp.sh: Fix regex to extract CPU core temperature as an integer value (lead to a crash under Xigmanas 13.2.0.5)
- Xigmanas (formerly NAS4Free) 13.2.0.5 - Heighliner (revision 9876)
- None
- None
- backupData.sh: (closes #21) Fix a bug that leads the backupData.sh script to set the whole destination pool to read only a the end of the backup. This is not a good idea if at least 1 filesystem of the destination pool is used for other purposes than backup. Now the script puts the zpool to readonly at the end of the script, only if it was readonly, when the script started.
- Xigmanas (formerly NAS4Free) 11.2.0.4 - Omnius (revision 6005)
- checkPools.sh and scrubPools.sh: In case of pool error, provide a more verbose status message in the log, so that it is possible to located the impacted files.
- None
- None
- Xigmanas (formerly NAS4Free) 11.2.0.4 - Omnius (revision 6005)
- backupData.sh: support for lz4 compression algorithm
- None
- manageSnapshots.sh: (fixes #23) Correct wrong behaviour in case zfs property listsnaps=ON
- Log messages improved
- NAS4Free 9.2.0.1 - Shigawire (revision 972) - Embedded
- backupData.sh: support of remote backup through ssh
- backupData.sh: check that the pool of the destination filesystem is different from the pool of each source filesystem
- backupData.sh: (closes #19) new option -c to set compression for the destination filesystems
- manageAcpi.sh: (closes #7) new switch -s to prevent shutdown in case of active ssh connection to the server
- manageSnapshots.sh: new switch -r to process recursively the filesystems at a given depth
- backupData.sh: (closes #8) allow any zfs fs as detination of the backup (not only a pool) (e.g. not only "backup_pool" but also "backup_pool/abc" are now supported)
- manageAcpi.sh: signature of -n switch changed (before [-n beg,end,acpi,delay,ips], after [-n ips,delay,acpi])
- reportFromLogs.sh: mention package version in report
- None
- NAS4Free 9.1.0.1 - Sandstorm (revision 531) - Embedded
- None
- None
- checkSpace.sh: (fixes #18): Minor fix regarding quota of volumes that may equal to the character: "-"
- NAS4Free 9.1.0.1 - Sandstorm (revision 531) - Embedded
- None
- backupData.sh: compression algorithm of destination pool changed from "gzip" to "lzjb"
- backupData.sh: (fixes #13) supports any snapshots names (even if they do not follow naming convention used by manageSnapshot.sh)
- commonLockFcts.sh: (affects all scripts) (fixes #14) lock acquisition now atomic to prevent that the same lock is acquired more once in case 2 scripts try to acquire the same lock at the same time
- checkSpace.sh and manageSnapshots.sh: (fixes #17) The script now supports providing as argument an fs name that contains more than one "/" (e.g.: "tank/data/user1")
- manageSnapshots.sh: Fixes a bug that occurs when the script is called with many arguments
- manageAcpi.sh: Ensure that "prevent sleep after wake" is never smaller than 300s (otherwise the server may always shutdown just after booting if other parameters are set incorrectly)
- NAS4Free 9.1.0.1 - Sandstorm (revision 531) - Embedded
- None
- config.sh: layout changed to segregate the variables that can be used by the users from the other variables
- All scripts: Fix #9 (script can now be called from any directory)
- manageSnapshots.sh: Fix #10 and #11 (corrects an erroneous argument check for switches -h -d -w and -m)
- backupData.sh: Correct syntax error preventing the script to run (bug introduced in v1.0-rc2)
- commonLockFcts.sh: robustness improved
- commonLogFcts.sh: robustness against bad log file name/path improved, and increased verbosity if error is detected
- NAS4Free 9.1.0.1 - Sandstorm (revision 531) - Embedded
- None
- reportFromLogs.sh / manageAcpi.sh: Format of the report / log slighty improved
- backupData.sh: logged data slightly improved
- backupData.sh: fixed major bug in test if the destination fs already exists (bug introduced in v1.0-rc1. It did not exist before)
- .gitattributes: config updated to ensure that files checked out follow unix new line convention (LF)
- NAS4Free 9.1.0.1 - Sandstorm (revision 531) - Embedded
- reportFromLogs.sh: Generate a summary for each log file (number of arnings/errors)
- improved readability of data logged (display as tables whenever possible: e.g.: for checkSpace.sh)
- checkSpace.sh: arguments "filesystem" and "threshold" are now optional (-f and -t)
- backupData.sh: argument "max_rollback" is now optional (-b)
- commonLockFcts.sh (impact on all scripts): Do not warn if a script cannot be started because the NAS is about to shut down (normal information message instead)
- library of funtions moved to subfolder "common"
- config.sh: default path to "log" and "tmp" folder changed
- all scripts: improved validation of mandatory and optional arguments
- commonLogFcts.sh: leading spaces of message now also logged if data are provided through a pipe
- commonLogFcts.sh: When logging, if no log file path is provided, echo text on std out instead
- commonLogFcts.sh: When returning a log file extract: Handle case of empty file
- NAS4Free 9.1.0.1 - Sandstorm (revision 531) - Embedded