{"id":827,"date":"2008-02-28T01:00:00","date_gmt":"2008-02-27T16:00:00","guid":{"rendered":"https:\/\/ecoop.net\/memo\/2008-02-28-1.html"},"modified":"2026-08-10T14:44:41","modified_gmt":"2026-08-10T05:44:41","slug":"2008-02-28-1","status":"publish","type":"post","link":"https:\/\/www.ecoop.net\/memo\/archives\/2008-02-28-1.html","title":{"rendered":"FreeBSD 7.0-RELEASE"},"content":{"rendered":"<p>\n\u6628\u65e5 7.0 \u304c\u3068\u3046\u3068\u3046<a href=\"http:\/\/www.freebsd.org\/releases\/7.0R\/announce.html\">\u30ea\u30ea\u30fc\u30b9<\/a>\u3055\u308c\u305f\u3088\u3046\u3067\u3059\u3002<br \/>\n&nbsp;<br \/>\n&#8211; SMP \u74b0\u5883\u3067\u306e\u30d1\u30d5\u30a9\u30fc\u30de\u30f3\u30b9\u5411\u4e0a(\u30d9\u30f3\u30c1\u30de\u30fc\u30af\u3084 DB \u51e6\u7406\u306b\u3064\u3044\u3066 FreeBSD 6.X \u7cfb\u306e 350% \u301c 1500%, Linux 2.6.24 \u306e 115% \u306e\u6027\u80fd)<br \/>\n&#8211; ULE \u30b9\u30b1\u30b8\u30e5\u30fc\u30e9\u306e\u5927\u5e45\u306a\u6539\u5584(\u305f\u3060\u30577.0\u3067\u306f 4BSD \u30b9\u30b1\u30b8\u30e5\u30fc\u30e9\u304c\u30c7\u30d5\u30a9\u30eb\u30c8\u3067\u9078\u629e\u3055\u308c\u308b\u30027.1 \u4ee5\u964d\u306f ULE \u30b9\u30b1\u30b8\u30e5\u30fc\u30e9\u304c\u30c7\u30d5\u30a9\u30eb\u30c8\u306b\u306a\u308b\u4e88\u5b9a)<br \/>\n&#8211; \u30d5\u30a1\u30a4\u30eb\u30b7\u30b9\u30c6\u30e0 Sun ZFS \u306e\u8a66\u9a13\u7684\u30b5\u30dd\u30fc\u30c8\u3002<br \/>\n&#8211; \u30b8\u30e3\u30fc\u30ca\u30eb\u30d5\u30a1\u30a4\u30eb\u30b7\u30b9\u30c6\u30e0\u306e\u30bb\u30c3\u30c8\u30a2\u30c3\u30d7\u306b gjournal \u304c\u4f7f\u3048\u308b\u3088\u3046\u306b\u306a\u308a\u3001\u4eee\u60f3\u30b9\u30c8\u30ec\u30fc\u30b8\u30c7\u30d0\u30a4\u30b9\u3092\u6271\u3046\u306e\u306b gvirstor \u304c\u4f7f\u3048\u308b\u3088\u3046\u306b\u306a\u3063\u305f\u3002<br \/>\n&#8211; \u30d5\u30a1\u30a4\u30eb\u30b7\u30b9\u30c6\u30e0 XFS \u3067\u8aad\u307f\u8fbc\u307f\u306e\u307f(Read-only)\u30e2\u30fc\u30c9\u3092\u30b5\u30dd\u30fc\u30c8\u3002<br \/>\n&#8211; \u30d5\u30a1\u30a4\u30eb\u30b7\u30b9\u30c6\u30e0 unionfs \u3092\u30d5\u30a3\u30c3\u30af\u30b9\u3002<br \/>\n&#8211; iSCSI initiator<br \/>\n&#8211; \u3044\u304f\u3064\u304b\u306e\u30cd\u30c3\u30c8\u30ef\u30fc\u30af\u30c9\u30e9\u30a4\u30d0\u3067 TSO, LRO \u3092\u30b5\u30dd\u30fc\u30c8<br \/>\n&#8211; SCTP(Stream Control Transmission Protocol)\u306e\u8a66\u9a13\u7684\u30b5\u30dd\u30fc\u30c8<br \/>\n&#8211; \u30ef\u30a4\u30e4\u30ec\u30b9(802.11)\u30b5\u30dd\u30fc\u30c8\u306e\u591a\u91cf\u306a\u6539\u5584\u3002<br \/>\n&#8211; OpenBSD \u306e\u30cd\u30c3\u30c8\u30ef\u30fc\u30af\u30ea\u30f3\u30af\u30a2\u30b0\u30ea\u30b2\u30fc\u30b7\u30e7\u30f3(lagg(4))\u3092\u53d6\u308a\u8fbc\u3093\u3060\u3002<br \/>\n&#8211; \u30e1\u30e2\u30ea\u30a2\u30ed\u30b1\u30fc\u30bf(malloc(3))\u3068\u3057\u3066\u65b0\u3057\u304f\u9ad8\u6027\u80fd\u306a jemalloc \u3092\u63a1\u7528\u3002<br \/>\n&#8211; freebsd-update(8) \u3067\u30bb\u30ad\u30e5\u30ea\u30c6\u30a3\u30d5\u30a3\u30c3\u30af\u30b9,\u4e0d\u5177\u5408\u4fee\u6b63\u3060\u3051\u3067\u306a\u304f\u30ea\u30ea\u30fc\u30b9\u30d0\u30fc\u30b8\u30e7\u30f3\u306e\u30a2\u30c3\u30d7\u30b0\u30ec\u30fc\u30c9\u3092\u6b63\u5f0f\u306b\u30b5\u30dd\u30fc\u30c8\u3059\u308b\u3088\u3046\u306b\u306a\u3063\u305f\u3002<br \/>\n&#8211; X.Org 7.3, KDE 3.5.8, GNOME 2.20.2 \u306b\u5bfe\u5fdc<br \/>\n&#8211; GCC 4.2.1 \u306b\u5bfe\u5fdc<br \/>\n&#8211; BIND 9.4.2 \u306b\u5bfe\u5fdc<br \/>\n&nbsp;<br \/>\n\u30a2\u30ca\u30a6\u30f3\u30b9\u306b\u5f93\u3044 freebsd-update-upgrade.tgz \u3092\u53d6\u5f97\u5f8c<\/p>\n<blockquote><p>sh freebsd-update.sh -f freebsd-update.conf -r 7.0-RELEASE upgrade\n<\/p><\/blockquote>\n<p>\u3068\u3057\u305f\u3089 \n<\/p>\n<blockquote><p>Looking up update.FreeBSD.org mirrors&#8230; 1 mirrors found.<br \/>\nFetching metadata signature for 6.3-STABLE from update1.FreeBSD.org&#8230; failed.<br \/>\nNo mirrors remaining, giving up.\n<\/p><\/blockquote>\n<p>\u3068\u6012\u3089\u308c\u3066\u3057\u307e\u3063\u305f\u3002<br \/>\n\u305f\u3057\u304b\u306b http:\/\/update1.freebsd.org\/ \u306b\u306f STABLE \u304c\u306a\u3044\u3002<br \/>\n\u540c\u3058\u30d0\u30fc\u30b8\u30e7\u30f3\u3067\u3042\u308c\u3070(uname -r \u3068\u304b sysctl kern.version \u3067\u306f) RELEASE = STABLE \u3060\u3063\u305f\u3068\u601d\u3046\u306e\u3067\n<\/p>\n<blockquote><p>$ cat freebsd-upgrade.sh.patch<br \/>\n534a535<br \/>\n\uff1e           sed -E &#8216;s,-STABLE,-RELEASE,&#8217; |\n<\/p><\/blockquote>\n<p>\u3068\u30d1\u30c3\u30c1\u3092\u3042\u3066\u3066\u3084\u308a\u3001\u30de\u30cb\u30e5\u30a2\u30eb\u3069\u304a\u308a\n<\/p>\n<blockquote><p>$ uname -r<br \/>\n6.2-STABLE<br \/>\n$ su<br \/>\n# sh freebsd-update.sh -f freebsd-update.conf -r 7.0-RELEASE upgrade<br \/>\n# sh freebsd-update.sh -f freebsd-update.conf install<br \/>\n# shutdown -r now<br \/>\n(\u30ea\u30d6\u30fc\u30c8\u5f8c root \u3067\u30ed\u30b0\u30a4\u30f3)<br \/>\n# portmanager -u -f <br \/>\n(ports \u30ea\u30d3\u30eb\u30c9)<br \/>\n(\u203b\u4ed6\u81ea\u5206\u3067\u30d3\u30eb\u30c9\u3057\u3066\u3044\u305f\u3082\u306e\u304c\u3042\u308c\u3070\u500b\u5225\u306b\u30ea\u30d3\u30eb\u30c9\u3059\u308b)<br \/>\n# sh freebsd-update.sh -f freebsd-update.conf install # \u3082\u3046\u3044\u3061\u3069\u3002<br \/>\n# shutdown -r now<br \/>\n(\u30ea\u30d6\u30fc\u30c8\u5f8c \u4e00\u822c\u30e6\u30fc\u30b6\u3067\u30ed\u30b0\u30a4\u30f3)<br \/>\n$ uname -r<br \/>\n7.0-RELEASE\n<\/p><\/blockquote>\n<p>\u3068\u3001\u3053\u308c\u3067\u3044\u3051\u307e\u3057\u305f\u3002<br \/>\n\u305f\u3060\u3057\u3001jail \u74b0\u5883\u304c\u3042\u308b\u5834\u5408\u3001freebsd-update-upgrade \u30b9\u30af\u30ea\u30d7\u30c8\u306f jail \u74b0\u5883\u3092\u8003\u616e\u3057\u3066\u306a\u3044\u306e\u304b\n<\/p>\n<blockquote><p># .\/freebsd-update.sh -f freebsd-update.conf -r 7.0-RELEASE -b \/path\/to\/jail upgrade<br \/>\nfreebsd-update.sh: Cannot upgrade from 7.0-RELEASE to itself\n<\/p><\/blockquote>\n<p>\u3068 jail \u74b0\u5883\u3092\u66f4\u65b0\u3059\u308b\u3068\u304d\u3082 uname -r \u3092\u898b\u3066\u30ab\u30fc\u30cd\u30eb\u304c\u65e2\u306b\u30a2\u30c3\u30d7\u30b0\u30ec\u30fc\u30c9\u6e08\u307f\u3060\u304b\u3089\u66f4\u65b0\u306e\u5fc5\u8981\u304c\u306a\u3044\u3001\u3068\u3044\u308f\u308c\u3066\u3057\u307e\u3044\u307e\u3057\u305f\u3002<br \/>\n&nbsp;<br \/>\n\u3053\u306e\u305f\u3081 jail \u74b0\u5883\u3092\u66f4\u65b0\u3059\u308b\u306e\u306b\u7d50\u5c40 \/usr\/src \u304b\u3089\u3044\u3064\u3082\u306e\u624b\u9806\u3092\u8e0f\u3093\u3067\u66f4\u65b0\u3057\u307e\u3057\u305f\u3002\n<\/p>\n<blockquote><p># cat \/etc\/supfile<br \/>\n&nbsp;&nbsp;<br \/>\n&nbsp;*default host=cvsup1.jp.FreeBSD.org<br \/>\n&nbsp;*default base=\/usr<br \/>\n&nbsp;*default prefix=\/usr<br \/>\n&nbsp;*default release=cvs tag=RELENG_7<br \/>\n&nbsp;*default delete use-rel-suffix<br \/>\n&nbsp;*default compress<br \/>\n&nbsp;src-all<br \/>\n&nbsp;<br \/>\n# csup \/etc\/supfile<br \/>\n# cd \/usr\/src<br \/>\n# make buildworld<br \/>\n# JAILDIR=\/path\/to\/jail<br \/>\n# make installworld DESTDIR=$JAILDIR<br \/>\n# mergemaster -D $JAILDIR<br \/>\n&nbsp;<br \/>\n# shutdown -r now\n<\/p><\/blockquote>\n<p>\u3042\u3068\u306f\u30db\u30b9\u30c8\u3068\u540c\u69d8\u306b portmanager -u -f \u3067 ports \u3092\u66f4\u65b0\u3057\u307e\u3059\u3002\n<\/p>\n<blockquote><p>$ su<br \/>\n# mount_null \/usr\/ports \/path\/to\/jail\/usr\/ports<br \/>\n# jls<br \/>\n&nbsp;&nbsp;&nbsp;JID  IP Address      Hostname                      Path<br \/>\n&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;1  192.168.2.11    myjail                        \/path\/to\/jail<br \/>\n# jexec 1 bash # jail \u306b\u63a5\u7d9a<br \/>\n# cd \/usr\/ports\/ports-mgmt\/portmanager\/<br \/>\n# make install<br \/>\n# portmanager -u -y -f<br \/>\n# exit # jail \u304b\u3089\u5207\u65ad<br \/>\n# \/etc\/rc.d\/jail restart\n<\/p><\/blockquote>\n<p>&nbsp;<br \/>\n\u8ffd\u8a18(2008-03-21):<br \/>\nportmanager \u3067\u306f\u66f4\u65b0\u3082\u308c\u304c\u3042\u308b\u5834\u5408\u3001Shared Library \u307e\u308f\u308a\u3067\u8272\u3005\u30a8\u30e9\u30fc\u304c\u51fa\u307e\u3059\u3002<br \/>\n\u305f\u3068\u3048\u3070\u3001FreeBSD 6.2 \u306e\u3068\u304d ports \u30a4\u30f3\u30b9\u30c8\u30fc\u30eb\u3057\u305f emacs \u3092 FreeBSD 7.0 \u306b\u3057\u3066\u304b\u3089\u5b9f\u884c\u3057\u3088\u3046\u3068\u3059\u308b\u3068 libz.so.3 \u304c\u306a\u3044\u3068\u6012\u3089\u308c\u308b\u3002\u3042\u308b\u3044\u306f\u65b0\u3057\u304f ports \u304b\u3089\u30d7\u30ed\u30b0\u30e9\u30e0\u3092\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb\u3057\u3088\u3046\u3068\u3057\u305f\u3089 lib*.so.* \u3068\u3044\u3046\u5171\u6709\u30e9\u30a4\u30d6\u30e9\u30ea\u304c\u306a\u3044\u305f\u3081\u306b\u30b3\u30f3\u30d1\u30a4\u30eb\u4e2d\u306b\u8272\u3005\u30a8\u30e9\u30fc\u304c\u3067\u3066\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb\u3067\u304d\u306a\u304b\u3063\u305f\u3002\u3068\u3044\u3046\u3088\u3046\u306a\u73fe\u8c61\u3067\u3059\u3002<br \/>\n&nbsp;<br \/>\n\u3053\u306e\u5834\u5408\u306e\u5bfe\u7b56\u306f \n<\/p>\n<blockquote><p>portupgrade -rf &#8220;\u554f\u984c\u306e\u3042\u308bport&#8221; \n<\/p><\/blockquote>\n<p>\u3067\u30ea\u30d3\u30eb\u30c9\u3057\u3066\u307f\u308b\u3002\u305d\u308c\u3067\u3060\u3081\u306a\u3089\n<\/p>\n<blockquote><p>pkg_deinstall -r &#8220;\u30d1\u30c3\u30b1\u30fc\u30b8\u540d&#8221;\n<\/p><\/blockquote>\n<p>\u3067\u3044\u3063\u305f\u3093\u8a72\u5f53\u306e\u30d1\u30c3\u30b1\u30fc\u30b8\u3068\u4f9d\u5b58\u30d1\u30c3\u30b1\u30fc\u30b8\u3092\u524a\u9664\u3057\u3066\n<\/p>\n<blockquote><p>portinstall -r &#8220;\u30d1\u30c3\u30b1\u30fc\u30b8\u540d&#8221;\n<\/p><\/blockquote>\n<p>\u3067\u524a\u9664\u3057\u305f\u3082\u306e\u3092\u518d\u3073\u5165\u308c\u306a\u304a\u3059\u3068\u89e3\u6c7a\u3057\u307e\u3059\u3002<\/p>\n","protected":false},"excerpt":{"rendered":"<p>\u6628\u65e5 7.0 \u304c\u3068\u3046\u3068\u3046\u30ea\u30ea\u30fc\u30b9\u3055\u308c\u305f\u3088\u3046\u3067\u3059\u3002 &nbsp; &#8211; SMP \u74b0\u5883\u3067\u306e\u30d1\u30d5\u30a9\u30fc\u30de\u30f3\u30b9\u5411\u4e0a(\u30d9\u30f3\u30c1\u30de\u30fc\u30af\u3084 DB \u51e6\u7406\u306b\u3064\u3044\u3066 FreeBSD 6.X \u7cfb\u306e 350% \u301c 1500%, Linux &hellip; <a href=\"https:\/\/www.ecoop.net\/memo\/archives\/2008-02-28-1.html\" class=\"more-link\">\u7d9a\u304d\u3092\u8aad\u3080 <span class=\"screen-reader-text\">FreeBSD 7.0-RELEASE<\/span><\/a><\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[141],"tags":[25],"class_list":["post-827","post","type-post","status-publish","format-standard","hentry","category-lifehack","tag-freebsd"],"jetpack_featured_media_url":"","_links":{"self":[{"href":"https:\/\/www.ecoop.net\/memo\/wp-json\/wp\/v2\/posts\/827","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.ecoop.net\/memo\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.ecoop.net\/memo\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.ecoop.net\/memo\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/www.ecoop.net\/memo\/wp-json\/wp\/v2\/comments?post=827"}],"version-history":[{"count":1,"href":"https:\/\/www.ecoop.net\/memo\/wp-json\/wp\/v2\/posts\/827\/revisions"}],"predecessor-version":[{"id":1740,"href":"https:\/\/www.ecoop.net\/memo\/wp-json\/wp\/v2\/posts\/827\/revisions\/1740"}],"wp:attachment":[{"href":"https:\/\/www.ecoop.net\/memo\/wp-json\/wp\/v2\/media?parent=827"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.ecoop.net\/memo\/wp-json\/wp\/v2\/categories?post=827"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.ecoop.net\/memo\/wp-json\/wp\/v2\/tags?post=827"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}