{"id":3736,"date":"2014-09-15T14:42:55","date_gmt":"2014-09-15T19:42:55","guid":{"rendered":"http:\/\/icesquare.com\/wordpress\/?p=3736"},"modified":"2014-09-15T14:43:53","modified_gmt":"2014-09-15T19:43:53","slug":"this-rsync-lacks-old-style-compress-due-to-its-external-zlib-try-zz","status":"publish","type":"post","link":"https:\/\/icesquare.com\/wordpress\/this-rsync-lacks-old-style-compress-due-to-its-external-zlib-try-zz\/","title":{"rendered":"This rsync lacks old-style &#8211;compress due to its external zlib.  Try -zz."},"content":{"rendered":"<p>When I tried to run rsync (3.1.1) on my FreeBSD box today, the following message caught my attention:<\/p>\n<pre>\r\n#rsync -avzr --rsh=\"ssh -c arcfour\" --delete --compress-level=9  sourcemachine:\/source\/  \/target\/\r\n\r\n\r\nThis rsync lacks old-style --compress due to its external zlib.  Try -zz.\r\nContinuing without compression.\r\n<\/pre>\n<div style=\"margin-top:10px; margin-bottom:40px;\">\n<\/div>\n<p>\nBasically, rsync suggests that you should use the -zz option instead of the old style option. So I gave it a try, and of course, I got something like this:<\/p>\n<pre>\r\n#rsync -avr --rsh=\"ssh -c arcfour\" --delete -zz  sourcemachine:\/source\/  \/target\/\r\n\r\n\r\n#My target machine is CentOS \/ rsync (3.0.6)\r\nrsync: on remote machine: --new-compress: unknown option\r\nrsync error: syntax or usage error (code 1) at main.c(1422) [server=3.0.6]\r\nrsync: connection unexpectedly closed (0 bytes received so far) [Receiver]\r\nrsync error: error in rsync protocol data stream (code 12) at io.c(226) [Receiver=3.1.1]\r\n<\/pre>\n<p>The reason why we have all of these messy things because there is a bug in rsync 3.1.1. (rsync &#8211;version) To solve this problem, you will need to rebuild the rsync by skipping the ZLIB_BASE option:<\/p>\n<pre>\r\ncd \/usr\/ports\/net\/rsync\r\nsudo make config\r\n\r\n#Uncheck the ZLIB_BASE option\r\n\r\nsudo make reinstall clean\r\n<\/pre>\n<p>Now the rsync should be happy.<\/p>\n<p>&#8211;Derrick<\/p>\n<div style=\"margin-bottom:50px;\"> <\/div>\n<p><\/p>\n","protected":false},"excerpt":{"rendered":"<p>When I tried to run rsync (3.1.1) on my FreeBSD box today, the following message caught my attention: #rsync -avzr &#8211;rsh=&#8221;ssh -c arcfour&#8221; &#8211;delete &#8211;compress-level=9 sourcemachine:\/source\/ \/target\/ This rsync lacks <a class=\"more-link\" href=\"https:\/\/icesquare.com\/wordpress\/this-rsync-lacks-old-style-compress-due-to-its-external-zlib-try-zz\/\">Continue Reading &rarr;<\/a><\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"_jetpack_newsletter_access":"","_jetpack_dont_email_post_to_subs":false,"_jetpack_newsletter_tier_id":0,"_jetpack_memberships_contains_paywalled_content":false,"_jetpack_hide_featured_image":false,"_jetpack_featured_image_duplicate_dismissed":0,"_jetpack_feature_clip_id":0,"_jetpack_memberships_contains_paid_content":false,"footnotes":"","jetpack_publicize_message":"","jetpack_publicize_feature_enabled":true,"jetpack_social_post_already_shared":true,"jetpack_social_options":{"image_generator_settings":{"template":"highway","default_image_id":0,"font":"","enabled":false},"version":2},"jetpack_post_was_ever_published":false},"categories":[94,146,7,144,6,69],"tags":[171,166],"class_list":["post-3736","post","type-post","status-publish","format-standard","hentry","category-computer-problems-computer-help-pc-support","category-everyday-computer-problem","category-freebsd","category-sever-problem","category-technology","category-troubleshooting-technology","tag-freebsd","tag-rsync"],"jetpack_publicize_connections":[],"jetpack_shortlink":"https:\/\/wp.me\/p1sqzr-Yg","jetpack_sharing_enabled":true,"jetpack-related-posts":[{"id":3318,"url":"https:\/\/icesquare.com\/wordpress\/how-to-improve-rsync-performance\/","url_meta":{"origin":3736,"position":0},"title":"How to Improve rsync Performance","author":"Derrick","date":"October 8, 2013","format":false,"excerpt":"I need to transfer 10TB of data from one machine to another machine. Those 10TB of files are living in a large RAID which span across 7 different disks. The target machine has another large RAID which span across 12 different disks. It is not easy to copying those files\u2026","rel":"","context":"In &quot;FreeBSD&quot;","block_context":{"text":"FreeBSD","link":"https:\/\/icesquare.com\/wordpress\/category\/sever-problem\/freebsd\/"},"img":{"alt_text":"","src":"https:\/\/i0.wp.com\/icesquare.com\/wordpress\/wp-content\/uploads\/2014\/02\/speedometer.jpg?resize=350%2C200&ssl=1","width":350,"height":200,"srcset":"https:\/\/i0.wp.com\/icesquare.com\/wordpress\/wp-content\/uploads\/2014\/02\/speedometer.jpg?resize=350%2C200&ssl=1 1x, https:\/\/i0.wp.com\/icesquare.com\/wordpress\/wp-content\/uploads\/2014\/02\/speedometer.jpg?resize=525%2C300&ssl=1 1.5x, https:\/\/i0.wp.com\/icesquare.com\/wordpress\/wp-content\/uploads\/2014\/02\/speedometer.jpg?resize=700%2C400&ssl=1 2x, https:\/\/i0.wp.com\/icesquare.com\/wordpress\/wp-content\/uploads\/2014\/02\/speedometer.jpg?resize=1050%2C600&ssl=1 3x"},"classes":[]},{"id":4038,"url":"https:\/\/icesquare.com\/wordpress\/rsync-with-space-in-the-directory-name\/","url_meta":{"origin":3736,"position":1},"title":"Rsync with space in the directory name","author":"Derrick","date":"February 29, 2016","format":false,"excerpt":"I was looking for a way to include a directory name with space using rsync. So I google it, found a brunch of suggestions, which turned out that NONE of them really works. As always, I ended up coming the solution on my own. Here is how I did it:\u2026","rel":"","context":"In &quot;Computer Problems&quot;","block_context":{"text":"Computer Problems","link":"https:\/\/icesquare.com\/wordpress\/category\/technology\/computer-problems-computer-help-pc-support\/"},"img":{"alt_text":"","src":"","width":0,"height":0},"classes":[]},{"id":505,"url":"https:\/\/icesquare.com\/wordpress\/solvedfedora-repository-error-errno-14-pycurl-error-6\/","url_meta":{"origin":3736,"position":2},"title":"[Solved]Fedora Linux Repository Error ([Errno 14] PYCURL ERROR 6)","author":"Derrick","date":"January 4, 2010","format":false,"excerpt":"I was having trouble to update my Fedora Linux system by running sudo yum update. sudo yum update Loaded plugins: presto, refresh-packagekit Error: Cannot retrieve repository metadata (repomd.xml) for repository: fedora. Please verify its path and try again sometimes I see different sets of error: http:\/\/download.fedoraproject.org\/pu...ta\/repomd.xml: [Errno 14] PYCURL ERROR\u2026","rel":"","context":"In &quot;Computer Problems&quot;","block_context":{"text":"Computer Problems","link":"https:\/\/icesquare.com\/wordpress\/category\/technology\/computer-problems-computer-help-pc-support\/"},"img":{"alt_text":"Fedoraproject.org has downed.","src":"\/wordpress\/wp-content\/uploads\/2010\/01\/Fedora-Down-300x217.png","width":350,"height":200},"classes":[]},{"id":3438,"url":"https:\/\/icesquare.com\/wordpress\/zfs-performance-boostimprovement-how-i-push-the-io-speed-to-126mbps\/","url_meta":{"origin":3736,"position":3},"title":"ZFS Performance Boost\/Improvement: How I push the I\/O speed to 126MBps","author":"Derrick","date":"January 25, 2014","format":false,"excerpt":"This article is part of my main ZFS tutorial: How to improve ZFS performance. That article covers everything you need. If you already have the basic knowledge, or you just want to know how I push the I\/O speed to 120+ MBps, you can skip that article and read this\u2026","rel":"","context":"In &quot;Computer Problems&quot;","block_context":{"text":"Computer Problems","link":"https:\/\/icesquare.com\/wordpress\/category\/technology\/computer-problems-computer-help-pc-support\/"},"img":{"alt_text":"","src":"https:\/\/i0.wp.com\/icesquare.com\/wordpress\/wp-content\/uploads\/2014\/02\/speedometer.jpg?resize=350%2C200&ssl=1","width":350,"height":200,"srcset":"https:\/\/i0.wp.com\/icesquare.com\/wordpress\/wp-content\/uploads\/2014\/02\/speedometer.jpg?resize=350%2C200&ssl=1 1x, https:\/\/i0.wp.com\/icesquare.com\/wordpress\/wp-content\/uploads\/2014\/02\/speedometer.jpg?resize=525%2C300&ssl=1 1.5x, https:\/\/i0.wp.com\/icesquare.com\/wordpress\/wp-content\/uploads\/2014\/02\/speedometer.jpg?resize=700%2C400&ssl=1 2x, https:\/\/i0.wp.com\/icesquare.com\/wordpress\/wp-content\/uploads\/2014\/02\/speedometer.jpg?resize=1050%2C600&ssl=1 3x"},"classes":[]},{"id":4128,"url":"https:\/\/icesquare.com\/wordpress\/dropbox-with-freebsd\/","url_meta":{"origin":3736,"position":4},"title":"Dropbox on FreeBSD","author":"Derrick","date":"June 6, 2016","format":false,"excerpt":"I put my personal websites on a FreeBSD server. One of my websites is a photo album, which I want to read the content from a Dropbox. That Dropbox primarily runs on Mac, iPhone and iPad. I was trying to explore the possibilities to set up a Dropbox on FreeBSD.\u2026","rel":"","context":"In &quot;Computer Problems&quot;","block_context":{"text":"Computer Problems","link":"https:\/\/icesquare.com\/wordpress\/category\/technology\/computer-problems-computer-help-pc-support\/"},"img":{"alt_text":"","src":"https:\/\/i0.wp.com\/icesquare.com\/wordpress\/wp-content\/uploads\/2016\/06\/Dropbox_logo.jpg?resize=350%2C200&ssl=1","width":350,"height":200},"classes":[]},{"id":3447,"url":"https:\/\/icesquare.com\/wordpress\/zfs-compression-lz4-vs-lzjb\/","url_meta":{"origin":3736,"position":5},"title":"ZFS Compression: lz4 VS lzjb","author":"Derrick","date":"January 26, 2014","format":false,"excerpt":"ZFS offers a new compression method in the latest version: lz4. It claims to be better than lzjb. Since lzjb is pretty good already, I am curious to find out how good will lz4 be comparing to lzjb. According to my tests, lz4 is performing better than lzjb in terms\u2026","rel":"","context":"In &quot;Computer Problems&quot;","block_context":{"text":"Computer Problems","link":"https:\/\/icesquare.com\/wordpress\/category\/technology\/computer-problems-computer-help-pc-support\/"},"img":{"alt_text":"","src":"","width":0,"height":0},"classes":[]}],"jetpack_featured_media_url":"","_links":{"self":[{"href":"https:\/\/icesquare.com\/wordpress\/wp-json\/wp\/v2\/posts\/3736","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/icesquare.com\/wordpress\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/icesquare.com\/wordpress\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/icesquare.com\/wordpress\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/icesquare.com\/wordpress\/wp-json\/wp\/v2\/comments?post=3736"}],"version-history":[{"count":5,"href":"https:\/\/icesquare.com\/wordpress\/wp-json\/wp\/v2\/posts\/3736\/revisions"}],"predecessor-version":[{"id":3741,"href":"https:\/\/icesquare.com\/wordpress\/wp-json\/wp\/v2\/posts\/3736\/revisions\/3741"}],"wp:attachment":[{"href":"https:\/\/icesquare.com\/wordpress\/wp-json\/wp\/v2\/media?parent=3736"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/icesquare.com\/wordpress\/wp-json\/wp\/v2\/categories?post=3736"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/icesquare.com\/wordpress\/wp-json\/wp\/v2\/tags?post=3736"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}