Releases: fritz-hh/scripts_NAS4Free
Releases · fritz-hh/scripts_NAS4Free
v2.5.3
New features
- None
Changes
- None
Fixes
- 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.
Tested with
- Xigmanas (formerly NAS4Free) 13.2.0.5 - Heighliner (revision 9876)
v2.5.2
New features
- 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) - In case a script is terminated by the user (e.g. CTRL-C) or if the NAS is shutdown,
release the lock, so that will start properly next time (#2)
Changes
- manageAcpi.sh: Code cleanup to increase readability and maintainability.
Fixes
- acpiStats.sh: Improve formatting of the log
Tested with
- Xigmanas (formerly NAS4Free) 13.2.0.5 - Heighliner (revision 9876)
v2.5.1
v2.5.0
New features
- manageAcpi.sh: Add an
-b
option to define that the NAS shall never go to sleep if an SMB connection to the NAS exists.
Changes
- 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
Fixes
- None
Tested with
- Xigmanas (formerly NAS4Free) 13.2.0.5 - Heighliner (revision 9876)
v2.4
New features
- None
Changes
- None
Fixes
- 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
Tested with
- Xigmanas (formerly NAS4Free) 13.2.0.5 - Heighliner (revision 9876)
v2.3
New features
- None
Changes
- None
Fixes
- 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)
Tested with
- Xigmanas (formerly NAS4Free) 13.2.0.5 - Heighliner (revision 9876)
v2.2
New features
- None
Changes
- None
Fixes
- 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.
Tested with
- Xigmanas (formerly NAS4Free) 11.2.0.4 - Omnius (revision 6005)
v2.1
New features
- 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.
Changes
- None
Fixes
- None
Tested with
- Xigmanas (formerly NAS4Free) 11.2.0.4 - Omnius (revision 6005)