-
Notifications
You must be signed in to change notification settings - Fork 308
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #832 from phreaker0/prepare-2.2.0
prepare 2.2.0
- Loading branch information
Showing
9 changed files
with
170 additions
and
8 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1 +1 @@ | ||
2.1.0 | ||
2.2.0 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,3 +1,21 @@ | ||
sanoid (2.2.0) unstable; urgency=medium | ||
|
||
[overall] documentation updates, small fixes (@azmodude, @deviantintegral, @jimsalterjrs, @alexhaydock, @cbreak-black, @kd8bny, @JavaScriptDude, @veeableful, @rsheasby, @Topslakr, @mavhc, @adam-stamand, @joelishness, @jsoref, @dodexahedron, @phreaker0) | ||
[syncoid] implemented flag for preserving properties without the zfs -p flag (@phreaker0) | ||
[syncoid] implemented target snapshot deletion (@mat813) | ||
[syncoid] support bookmarks which are taken in the same second (@delxg, @phreaker0) | ||
[syncoid] exit with an error if the specified src dataset doesn't exist (@phreaker0) | ||
[syncoid] rollback is now done implicitly instead of explicit (@jimsalterjrs, @phreaker0) | ||
[syncoid] append a rand int to the socket name to prevent collisions with parallel invocations (@Gryd3) | ||
[syncoid] implemented support for ssh_config(5) files (@endreszabo) | ||
[syncoid] snapshot hold/unhold support (@rbike) | ||
[sanoid] handle duplicate key definitions gracefully (@phreaker0) | ||
[syncoid] implemented removal of conflicting snapshots with force-delete option (@phreaker0) | ||
[sanoid] implemented pre pruning script hook (@phreaker0) | ||
[syncoid] implemented direct connection support (bypass ssh) for the actual data transfer (@phreaker0) | ||
|
||
-- Jim Salter <[email protected]> Tue, 18 Jul 2023 10:04:00 +0200 | ||
|
||
sanoid (2.1.0) unstable; urgency=medium | ||
|
||
[overall] documentation updates, small fixes (@HavardLine, @croadfeldt, @jimsalterjrs, @jim-perkins, @kr4z33, @phreaker0) | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,4 @@ | ||
%global version 2.1.0 | ||
%global version 2.2.0 | ||
%global git_tag v%{version} | ||
|
||
# Enable with systemctl "enable sanoid.timer" | ||
|
@@ -111,6 +111,8 @@ echo "* * * * * root %{_sbindir}/sanoid --cron" > %{buildroot}%{_docdir}/%{name} | |
%endif | ||
|
||
%changelog | ||
* Tue Jul 18 2023 Christoph Klaffl <[email protected]> - 2.2.0 | ||
- Bump to 2.2.0 | ||
* Tue Nov 24 2020 Christoph Klaffl <[email protected]> - 2.1.0 | ||
- Bump to 2.1.0 | ||
* Wed Oct 02 2019 Christoph Klaffl <[email protected]> - 2.0.3 | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,66 @@ | ||
#!/bin/bash | ||
|
||
# test preserving locally set properties from the src dataset to the target one | ||
|
||
set -x | ||
set -e | ||
|
||
. ../../common/lib.sh | ||
|
||
POOL_IMAGE="/tmp/syncoid-test-9.zpool" | ||
MOUNT_TARGET="/tmp/syncoid-test-9.mount" | ||
POOL_SIZE="1000M" | ||
POOL_NAME="syncoid-test-9" | ||
|
||
truncate -s "${POOL_SIZE}" "${POOL_IMAGE}" | ||
|
||
zpool create -m none -f "${POOL_NAME}" "${POOL_IMAGE}" | ||
|
||
function cleanUp { | ||
zpool export "${POOL_NAME}" | ||
} | ||
|
||
# export pool in any case | ||
trap cleanUp EXIT | ||
|
||
zfs create -o recordsize=16k -o xattr=on -o mountpoint=none -o primarycache=none "${POOL_NAME}"/src | ||
zfs create -V 100M -o volblocksize=8k "${POOL_NAME}"/src/zvol8 | ||
zfs create -V 100M -o volblocksize=16k -o primarycache=all "${POOL_NAME}"/src/zvol16 | ||
zfs create -V 100M -o volblocksize=64k "${POOL_NAME}"/src/zvol64 | ||
zfs create -o recordsize=16k -o primarycache=none "${POOL_NAME}"/src/16 | ||
zfs create -o recordsize=32k -o acltype=posixacl "${POOL_NAME}"/src/32 | ||
|
||
../../../syncoid --preserve-properties --recursive --debug --compress=none "${POOL_NAME}"/src "${POOL_NAME}"/dst | ||
|
||
|
||
if [ "$(zfs get recordsize -H -o value -t filesystem "${POOL_NAME}"/dst)" != "16K" ]; then | ||
exit 1 | ||
fi | ||
|
||
if [ "$(zfs get mountpoint -H -o value -t filesystem "${POOL_NAME}"/dst)" != "none" ]; then | ||
exit 1 | ||
fi | ||
|
||
if [ "$(zfs get xattr -H -o value -t filesystem "${POOL_NAME}"/dst)" != "on" ]; then | ||
exit 1 | ||
fi | ||
|
||
if [ "$(zfs get primarycache -H -o value -t filesystem "${POOL_NAME}"/dst)" != "none" ]; then | ||
exit 1 | ||
fi | ||
|
||
if [ "$(zfs get recordsize -H -o value -t filesystem "${POOL_NAME}"/dst/16)" != "16K" ]; then | ||
exit 1 | ||
fi | ||
|
||
if [ "$(zfs get primarycache -H -o value -t filesystem "${POOL_NAME}"/dst/16)" != "none" ]; then | ||
exit 1 | ||
fi | ||
|
||
if [ "$(zfs get recordsize -H -o value -t filesystem "${POOL_NAME}"/dst/32)" != "32K" ]; then | ||
exit 1 | ||
fi | ||
|
||
if [ "$(zfs get acltype -H -o value -t filesystem "${POOL_NAME}"/dst/32)" != "posix" ]; then | ||
exit 1 | ||
fi |