{"id":11186,"date":"2014-03-13T23:59:07","date_gmt":"2014-03-13T14:59:07","guid":{"rendered":"http:\/\/oichinote.com\/plus\/?p=11186"},"modified":"2014-03-14T00:13:54","modified_gmt":"2014-03-13T15:13:54","slug":"recovering-zfs","status":"publish","type":"post","link":"https:\/\/oichinote.com\/plus\/2014\/03\/recovering-zfs.html","title":{"rendered":"ZFS\u5fa9\u65e7\u306e\u9053\u306f\u7d9a\u304f"},"content":{"rendered":"<p>\u66f8\u3044\u3066\u3044\u3066\u3064\u307e\u3089\u306a\u3044\u306e\u3067\u3001\u8aad\u307e\u308c\u3066\u3044\u308b\u65b9\u3082\u3064\u307e\u3089\u306a\u3044\u3068\u601d\u3044\u307e\u3059\u304c\u3001\u5730\u9053\u306bZFS\u306e\u5fa9\u65e7\u4f5c\u696d\u3092\u7d9a\u3051\u3066\u3044\u307e\u3059\u3002<\/p>\n<p>\u5fa9\u65e7\u3068\u8a00\u3063\u3066\u3082\u3001\u58ca\u308c\u3066\u3057\u307e\u3063\u305f\u30d5\u30a1\u30a4\u30eb\u306f\u3001\u3082\u3046\u3001\u3069\u3046\u306b\u3082\u306a\u3089\u306a\u3044\u306e\u3067\u3059\u3051\u308c\u3069\u3002<\/p>\n<p>\u7d50\u5c40\u3001\u901a\u5e38\u306esend\/recv\u304c\u3067\u304d\u306a\u304b\u3063\u305f\u306e\u3067\u3001rsync\u3067\u30b3\u30d4\u30fc\u3057\u3066\u3044\u307e\u3059\u3002\u3067\u3059\u304c\u3001\u30b3\u30d4\u30fc\u5148\u306f\u30b7\u30f3\u30b0\u30eb\u30c9\u30e9\u30a4\u30d6\u3002\u3061\u3087\u3063\u3068\u6050\u3044\u3067\u3059\u3002<\/p>\n<p>\u306a\u306e\u3067\u3001\u30df\u30e9\u30fc\u69cb\u6210\u306b\u3057\u3088\u3046\u3068\u3057\u305f\u306e\u3067\u3059\u304c\u3001\u5148\u306b\u4f5c\u3063\u305fpool\u304c2TB\u306e\u30c7\u30a3\u30b9\u30af\u3067\u3001\u305d\u3053\u306b\u53d6\u308a\u5916\u3057\u305f1.5TB\u306e\u30c7\u30a3\u30b9\u30af\u3092zpool attach\u3057\u3088\u3046\u3068\u3057\u3066\u3082\u6012\u3089\u308c\u307e\u3059\u3002\u5f53\u305f\u308a\u524d\u3067\u3059\u3002<\/p>\n[amazonjs asin=\"B00E3S5TRO\" locale=\"JP\"]\n<p>\u4ed5\u65b9\u306a\u304f\u30011.5TB\u306e\u30c7\u30a3\u30b9\u30af\u3092\u65b0\u3057\u3044pool\u306b\u8a2d\u5b9a\u3057\u3001\u305d\u3053\u306b2TB\u306epool\u304b\u3089\u30b3\u30d4\u30fc\u3057\u3066\u304f\u308b\u4e8b\u306b\u3057\u307e\u3057\u305f\u3002\u3053\u306e\u6642\u306e\u30b3\u30d4\u30fc\u306f\u3001\u666e\u901a\u306bzfs send\/recv\u304c\u4f7f\u3048\u307e\u3059\u3002<\/p>\n<p>\u6b21\u306e\u30a6\u30a7\u30d6\u30da\u30fc\u30b8\u3092\u53c2\u8003\u306b\u3055\u305b\u3066\u3044\u305f\u3060\u304d\u307e\u3057\u305f\u3002<\/p>\n<ul>\n<li><a href=\"http:\/\/d.hatena.ne.jp\/flying-foozy\/20110409\/1302362569\" target=\"_blank\">HOME \u7528\u9014\u3092\u5225\u306e ZFS pool \u306b\u79fb\u884c\u3059\u308b &#8211; \u5f77\u5fa8\u3048\u308b\u30d5\u30b8\u30ef\u30e9<\/a><\/li>\n<\/ul>\n<pre>\r\n# zpool create ypool gpt\/disk0\r\n# zfs snapshot zpool\/data@20140313\r\n# zfs send -vRp zpool\/data@20140313 | zfs receive -uvdF ypool\r\n<\/pre>\n<p>\u9806\u8abf\u306b\u3001\u30b3\u30d4\u30fc\u304c\u9032\u3093\u3067\u3044\u307e\u3059\u3002<\/p>\n<p>\u30b3\u30d4\u30fc\u304c\u7d42\u308f\u3063\u305f\u3089\u30011.5TB\u306e\u30c7\u30a3\u30b9\u30af\u306b\u30012TB\u306e\u30c7\u30a3\u30b9\u30af\u3092zpool attach\u3057\u3066\u30df\u30e9\u30fc\u69cb\u6210\u306b\u3057\u307e\u3059\u3002\u305d\u308c\u304c\u7d42\u308f\u3063\u305f\u3089\u3001\u30b3\u30d4\u30fc\u5143\u306epool\u3092\u7834\u58ca\u3057\u3066\u3001\u65b0\u3057\u304fpool\u3092\u4f5c\u308a\u76f4\u3057\u307e\u3059\u3002\u305d\u3057\u3066\u3001\u3055\u3089\u306b\u30b3\u30d4\u30fc\u3067\u3059\u3002<\/p>\n<p>\u3044\u3064\u306b\u306a\u3063\u305f\u3089\u3001\u5fa9\u6d3b\u3059\u308b\u3093\u3060\u308d\u3046\u3002\u3061\u306a\u307f\u306b\u3001\u305d\u3082\u305d\u3082\u306e\u76ee\u7684\u304c\u3001FreeBSD 9.1\u304b\u308910.0\u306b\u30d0\u30fc\u30b8\u30e7\u30f3\u30a2\u30c3\u30d7\u3059\u308b\u4e8b\u3067\u3059\u3002<\/p>\n<p>\u306f\u3041\u301c\u3002<\/p>\n","protected":false},"excerpt":{"rendered":"<p>\u66f8\u3044\u3066\u3044\u3066\u3064\u307e\u3089\u306a\u3044\u306e\u3067\u3001\u8aad\u307e\u308c\u3066\u3044\u308b\u65b9\u3082\u3064\u307e\u3089\u306a\u3044\u3068\u601d\u3044\u307e\u3059\u304c\u3001\u5730\u9053\u306bZFS\u306e\u5fa9\u65e7\u4f5c\u696d\u3092\u7d9a\u3051\u3066\u3044\u307e\u3059\u3002 \u5fa9\u65e7\u3068\u8a00\u3063\u3066\u3082\u3001\u58ca\u308c\u3066\u3057\u307e\u3063\u305f\u30d5\u30a1\u30a4\u30eb\u306f\u3001\u3082\u3046\u3001\u3069\u3046\u306b\u3082\u306a\u3089\u306a\u3044\u306e\u3067\u3059\u3051\u308c\u3069\u3002 \u7d50\u5c40\u3001\u901a\u5e38\u306esend\/recv\u304c\u3067 [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","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_feature_clip_id":0,"_jetpack_memberships_contains_paid_content":false,"footnotes":"","jetpack_publicize_message":"\u65b0\u3057\u3044\u8a18\u4e8b\u300eZFS\u5fa9\u65e7\u306e\u9053\u306f\u7d9a\u304f\u300f\u3092\u6295\u7a3f\u3057\u307e\u3057\u305f\u3002\u8aad\u3093\u3067\u3044\u305f\u3060\u3051\u308b\u3068\u5b09\u3057\u3044\u3067\u3059\u3002","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":[60,59],"tags":[],"class_list":["post-11186","post","type-post","status-publish","format-standard","hentry","category-freebsd","category-nas"],"jetpack_publicize_connections":[],"jetpack_featured_media_url":"","jetpack-related-posts":[{"id":11360,"url":"https:\/\/oichinote.com\/plus\/2014\/03\/last-stage-of-recovering-zfs.html","url_meta":{"origin":11186,"position":0},"title":"ZFS\u5fa9\u65e7\u306f\u5927\u8a70\u3081\u306b","author":"\u304a\u5e02\u306e\u304b\u305f","date":"2014\u5e743\u670830\u65e5","format":false,"excerpt":"\u30d0\u30ec\u30f3\u30bf\u30a4\u30f3\u30c7\u30fc\u9803\u306b\u3001FreeBSD 9.1\u309210.0\u306b\u30a2\u30c3\u30d7\u30b0\u30ec\u30fc\u30c9\u3057\u3088\u3046\u3068\u3057\u305f\u6642\u3001\u4e0a\u624b\u304f\u884c\u304d\u307e\u305b\u2026","rel":"","context":"FreeBSD","block_context":{"text":"FreeBSD","link":"https:\/\/oichinote.com\/plus\/category\/freebsd"},"img":{"alt_text":"","src":"","width":0,"height":0},"classes":[]},{"id":11362,"url":"https:\/\/oichinote.com\/plus\/2014\/03\/it-seems-zfs-works-well.html","url_meta":{"origin":11186,"position":1},"title":"ZFS\u4eee\u5fa9\u65e7\u3067\u304d\u305f\u307f\u305f\u3044","author":"\u304a\u5e02\u306e\u304b\u305f","date":"2014\u5e743\u670831\u65e5","format":false,"excerpt":"\u58ca\u308c\u305fZFS\u306e\u5fa9\u65e7\u4f5c\u696d\u3092\u3057\u3066\u3044\u307e\u3059\u3002 ZFS\u5fa9\u65e7\u306f\u5927\u8a70\u3081\u306b: \u30d7\u30e9\u30b9\u03b1\u7a7a\u9593 (2014\u5e743\u670830\u65e5)\u2026","rel":"","context":"FreeBSD","block_context":{"text":"FreeBSD","link":"https:\/\/oichinote.com\/plus\/category\/freebsd"},"img":{"alt_text":"","src":"","width":0,"height":0},"classes":[]},{"id":20256,"url":"https:\/\/oichinote.com\/plus\/2017\/06\/mooving-the-system-pool-to-another-disk.html","url_meta":{"origin":11186,"position":2},"title":"FreeBSD\u306eRoot on ZFS\u30b7\u30b9\u30c6\u30e0\u306e\u5225\u30c7\u30a3\u30b9\u30af\u3078\u306e\u79fb\u884c","author":"\u304a\u5e02\u306e\u304b\u305f","date":"2017\u5e746\u670817\u65e5","format":false,"excerpt":"FreeBSD10\u306eRoot\u3067\u4f7f\u3063\u3066\u3044\u308b\u30d7\u30fc\u30eb(rpool)\u3092\u5225\u306e\u30c7\u30a3\u30b9\u30af\u306b\u30b3\u30d4\u30fc\u3057\u3001\u305d\u306e\u30c7\u30a3\u30b9\u30af\u304b\u2026","rel":"","context":"FreeBSD","block_context":{"text":"FreeBSD","link":"https:\/\/oichinote.com\/plus\/category\/freebsd"},"img":{"alt_text":"Install\u958b\u59cb","src":"https:\/\/i0.wp.com\/oichinote.com\/plus\/files\/2017\/06\/20170614freebsd-1-install.jpg?resize=350%2C200&ssl=1","width":350,"height":200},"classes":[]},{"id":20201,"url":"https:\/\/oichinote.com\/plus\/2017\/06\/moving-zpool-data-to-another-drive.html","url_meta":{"origin":11186,"position":3},"title":"\ufeffZFS\u306e\u30c7\u30fc\u30bf\u30d7\u30fc\u30eb\u306e\u5f15\u8d8a\u3057","author":"\u304a\u5e02\u306e\u304b\u305f","date":"2017\u5e746\u670821\u65e5","format":false,"excerpt":"\u30b7\u30b9\u30c6\u30e0\u30d7\u30fc\u30eb\u306e\u79fb\u884c\u306f\u7d50\u69cb\u9762\u5012\u3067\u3057\u305f\u3002 AFT\u306a\u306e\u306b\u30d6\u30ed\u30c3\u30af\u30b5\u30a4\u30ba\u304c512B \u30c7\u30fc\u30bf\u30d7\u30fc\u30eb\u3082\u79fb\u884c\u3057\u307e\u2026","rel":"","context":"FreeBSD","block_context":{"text":"FreeBSD","link":"https:\/\/oichinote.com\/plus\/category\/freebsd"},"img":{"alt_text":"GW3.5AA-SUP3","src":"https:\/\/i0.wp.com\/oichinote.com\/plus\/files\/2017\/06\/20170621gw3.5aa-sup3.jpg?resize=350%2C200&ssl=1","width":350,"height":200},"classes":[]},{"id":20045,"url":"https:\/\/oichinote.com\/plus\/2017\/05\/salvage-lost-data.html","url_meta":{"origin":11186,"position":4},"title":"ZFS\u306esnapshot\u304b\u3089\u5931\u308f\u308c\u305f\u30c7\u30fc\u30bf\u3092\u5fa9\u5143","author":"\u304a\u5e02\u306e\u304b\u305f","date":"2017\u5e745\u67088\u65e5","format":false,"excerpt":"1\u5e74\u307b\u3069\u524d\u306b\u3001LaCie\u306e\u4e2d\u306b\u5165\u3063\u3066\u3044\u305f\u5916\u4ed8\u30511TB\u306eHDD\u304c\u6b7b\u4ea1\u3057\u307e\u3057\u305f\u3002\u3053\u306eHDD\u306e\u4e2d\u306b\u3057\u304b\u6b8b\u3057\u2026","rel":"","context":"FreeBSD","block_context":{"text":"FreeBSD","link":"https:\/\/oichinote.com\/plus\/category\/freebsd"},"img":{"alt_text":"[\u30d5\u30ea\u30fc\u30a4\u30e9\u30b9\u30c8] \u91d1\u306e\u5375\u306e\u80cc\u666f\u3067\u30a2\u30cf\u4f53\u9a13","src":"https:\/\/i0.wp.com\/oichinote.com\/plus\/files\/2017\/05\/gahag-0061150600-1-480x480.png?resize=350%2C200&ssl=1","width":350,"height":200},"classes":[]},{"id":20013,"url":"https:\/\/oichinote.com\/plus\/2017\/04\/replace-a-mirror-disk-of-zfs.html","url_meta":{"origin":11186,"position":5},"title":"ZFS\u306e\u30df\u30e9\u30fc\u30c7\u30a3\u30b9\u30af\u4ea4\u63db","author":"\u304a\u5e02\u306e\u304b\u305f","date":"2017\u5e744\u670829\u65e5","format":false,"excerpt":"FreeBSD\u306e\u30d5\u30a1\u30a4\u30eb\u30b7\u30b9\u30c6\u30e0\u306bZFS\u3092\u4f7f\u3063\u3066\u3044\u307e\u3059\u3002Mirror\u3057\u305fHDD\u30922\u30bb\u30c3\u30c8\u9023\u7d50\u3057\u3066\u3001\u5927\u2026","rel":"","context":"FreeBSD","block_context":{"text":"FreeBSD","link":"https:\/\/oichinote.com\/plus\/category\/freebsd"},"img":{"alt_text":"ZFS\u30d5\u30a1\u30a4\u30eb\u30b7\u30b9\u30c6\u30e0","src":"https:\/\/i0.wp.com\/oichinote.com\/plus\/files\/2013\/09\/20130926freebsd-zfs.png?resize=350%2C200&ssl=1","width":350,"height":200},"classes":[]}],"jetpack_sharing_enabled":true,"_links":{"self":[{"href":"https:\/\/oichinote.com\/plus\/wp-json\/wp\/v2\/posts\/11186","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/oichinote.com\/plus\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/oichinote.com\/plus\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/oichinote.com\/plus\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/oichinote.com\/plus\/wp-json\/wp\/v2\/comments?post=11186"}],"version-history":[{"count":4,"href":"https:\/\/oichinote.com\/plus\/wp-json\/wp\/v2\/posts\/11186\/revisions"}],"predecessor-version":[{"id":11190,"href":"https:\/\/oichinote.com\/plus\/wp-json\/wp\/v2\/posts\/11186\/revisions\/11190"}],"wp:attachment":[{"href":"https:\/\/oichinote.com\/plus\/wp-json\/wp\/v2\/media?parent=11186"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/oichinote.com\/plus\/wp-json\/wp\/v2\/categories?post=11186"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/oichinote.com\/plus\/wp-json\/wp\/v2\/tags?post=11186"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}