{"id":20256,"date":"2017-06-17T18:49:34","date_gmt":"2017-06-17T09:49:34","guid":{"rendered":"https:\/\/oichinote.com\/plus\/?p=20256"},"modified":"2017-06-18T00:10:37","modified_gmt":"2017-06-17T15:10:37","slug":"mooving-the-system-pool-to-another-disk","status":"publish","type":"post","link":"https:\/\/oichinote.com\/plus\/2017\/06\/mooving-the-system-pool-to-another-disk.html","title":{"rendered":"FreeBSD\u306eRoot on ZFS\u30b7\u30b9\u30c6\u30e0\u306e\u5225\u30c7\u30a3\u30b9\u30af\u3078\u306e\u79fb\u884c"},"content":{"rendered":"<p>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\u3089\u8d77\u52d5\u51fa\u6765\u308b\u3088\u3046\u306b\u3057\u307e\u3057\u305f\u3002\u304b\u306a\u308a\u30cf\u30de\u3063\u305f\u306e\u3067\u3001\u30e1\u30e2\u3068\u3057\u3066\u6b8b\u3057\u3066\u304a\u304d\u307e\u3059\u3002<\/p>\n<p>FreeBSD11\u306eLiveCD\u3067\u7acb\u3061\u4e0a\u3052\u3001\u305d\u306eShell\u74b0\u5883\u306e\u4e2d\u3067\u4f5c\u696d\u3057\u307e\u3059\u3002<\/p>\n<ol>\n<li>USB\u8d77\u52d5\u30a4\u30e1\u30fc\u30b8\u306e\u4f5c\u6210<\/li>\n<li>LiveCD\u306e\u8d77\u52d5<\/li>\n<li>\u30b3\u30d4\u30fc\u5143\u30c7\u30a3\u30b9\u30af\u306e\u30b9\u30ca\u30c3\u30d7\u30b7\u30e7\u30c3\u30c8\u4f5c\u6210<\/li>\n<li>\u30b3\u30d4\u30fc\u5148\u30c7\u30a3\u30b9\u30af\u306e\u4f5c\u6210<\/li>\n<li>\u30c7\u30fc\u30bf\u30b3\u30d4\u30fc<\/li>\n<li>\u8d77\u52d5\u8a2d\u5b9a<\/li>\n<\/ol>\n<h3>1. USB\u8d77\u52d5\u30a4\u30e1\u30fc\u30b8\u306e\u4f5c\u6210<\/h3>\n<p>\u307e\u305a\u306f\u3001FreeBSD\u306e\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb\u30e1\u30c7\u30a3\u30a2\u3092\u4f5c\u308a\u307e\u3059\u3002USB\u30e1\u30e2\u30ea\u3092\u4f7f\u3046\u306e\u304c\u4fbf\u5229\u3067\u3059\u3002\u6b21\u306e\u30a6\u30a7\u30d6\u30da\u30fc\u30b8\u304b\u3089\u30ea\u30f3\u30af\u3092\u305f\u3069\u308a\u3001\u201d\u2026-amd64-memstick.img\u201d\u3092\u30c0\u30a6\u30f3\u30ed\u30fc\u30c9\u3057\u307e\u3059\u3002\u4f8b\u3048\u3070\u3001\u201dFreeBSD-11.0-RELEASE-amd64-memstick.img\u201d\u3067\u3059\u3002<\/p>\n<ul>\n<li><a href=\"https:\/\/www.freebsd.org\/ja\/where.html\" target=\"_blank\" rel=\"noopener\">FreeBSD \u3092\u5165\u624b\u3059\u308b<\/a><\/li>\n<\/ul>\n<p>\u3053\u306e\u5f8c\u3001\u30c0\u30a6\u30f3\u30ed\u30fc\u30c9\u3057\u305f\u30a4\u30e1\u30fc\u30b8\u30d5\u30a1\u30a4\u30eb\u3092USB\u30e1\u30e2\u30ea\u306b\u66f8\u304d\u8fbc\u307f\u307e\u3059\u3002of\u3067\u3001USB\u30e1\u30e2\u30ea\u30b9\u30c6\u30a3\u30c3\u30af\u3092\u6307\u5b9a\u3059\u308b\u306e\u3067\u3059\u304c\u3001\u3053\u308c\u3092\u9593\u9055\u3046\u3068\u65e2\u5b58\u306e\u30c7\u30fc\u30bf\u3092\u7834\u58ca\u3057\u3066\u3057\u307e\u3044\u307e\u3059\u3002macOS\u306e\u5834\u5408\u3060\u3068\u3001diskutil list\u3092\u3001USB\u30e1\u30e2\u30ea\u3092\u633f\u3059\u524d\u3068\u633f\u3057\u305f\u5f8c\u3067\u9055\u3044\u3092\u898b\u308c\u3070\u308f\u304b\u308a\u307e\u3059\u3002\u4ee5\u4e0b\u306e\u4f8b\u306f\u3001\/dev\/disk6\u3060\u3063\u305f\u5834\u5408\u3067\u3059\u3002<\/p>\n<pre>$ diskutil umountDisk \/dev\/disk6\r\n$ sudo dd if=FreeBSD-11.0-RELEASE-amd64-memstick.img of=\/dev\/disk6 bs=512k\r\n$ diskutil eject \/dev\/disk6\r\n<\/pre>\n<p>\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb\u30e1\u30c7\u30a3\u30a2\u3092\u4f5c\u308b\u6642\u3001\u6700\u521d\u79c1\u306f\u3001USB\u30e1\u30e2\u30ea\u306b\u66f8\u304d\u8fbc\u3080\u30a4\u30e1\u30fc\u30b8\u30d5\u30a1\u30a4\u30eb\u3068\u3057\u3066\u3001DVD\u7528\u30a4\u30e1\u30fc\u30b8\u3092\u4f7f\u3063\u3066\u3044\u3066\u3001USB\u30e1\u30e2\u30ea\u304b\u3089\u8d77\u52d5\u3067\u304d\u305a\u306b\u56f0\u308a\u307e\u3057\u305f\u3002<\/p>\n<h3>2. LiveCD\u306e\u8d77\u52d5<\/h3>\n<p><img loading=\"lazy\" decoding=\"async\" class=\"alignnone size-full wp-image-20576\" src=\"https:\/\/oichinote.com\/plus\/files\/2017\/06\/20170614freebsd-1-install.jpg\" alt=\"Install\u958b\u59cb\" width=\"480\" height=\"360\" srcset=\"https:\/\/oichinote.com\/plus\/files\/2017\/06\/20170614freebsd-1-install.jpg 480w, https:\/\/oichinote.com\/plus\/files\/2017\/06\/20170614freebsd-1-install-150x113.jpg 150w\" sizes=\"auto, (max-width: 480px) 100vw, 480px\" \/><\/p>\n<p>\u4e00\u756a\u53f3\u306e<span class=\"css_btn_class\">Libe CD<\/span>\u3092\u9078\u3073\u307e\u3059\u3002FreeBSD11\u304c\u8d77\u52d5\u3057\u3001\u30ed\u30b0\u30a4\u30f3\u753b\u9762\u306b\u306a\u308a\u307e\u3059\u3002\u30a2\u30ab\u30a6\u30f3\u30c8\u540droot\u306e\u30d1\u30b9\u30ef\u30fc\u30c9\u7121\u3057\u3067\u30ed\u30b0\u30a4\u30f3\u3067\u304d\u307e\u3059\u3002<\/p>\n<h3>3. \u30b3\u30d4\u30fc\u5143\u30c7\u30a3\u30b9\u30af\u306e\u30b9\u30ca\u30c3\u30d7\u30b7\u30e7\u30c3\u30c8\u4f5c\u6210<\/h3>\n<p>\u30b3\u30d4\u30fc\u5143\u306epool\u306f\u3001\u30d7\u30fc\u30eb\u540d\u3092\u5909\u3048\u3066import\u3057\u3066\u304a\u304d\u307e\u3059\u3002<\/p>\n<pre>\r\n# zpool import -f -R \/media rpool rpool-org\r\n<\/pre>\n<p>\u6b21\u306b\u3001\u30b3\u30d4\u30fc\u5143\u306eFreeBSD10\u306e\u30b9\u30ca\u30c3\u30d7\u30b7\u30e7\u30c3\u30c8\u3092\u4f5c\u308a\u307e\u3059\u3002<\/p>\n<pre>\r\n# zfs snapshot -r rpool-org@20170616\r\n<\/pre>\n<h3>4. \u30b3\u30d4\u30fc\u5148\u30c7\u30a3\u30b9\u30af\u306e\u4f5c\u6210<\/h3>\n<p>gpart\u3068zpool\/zfs\u3092\u4f7f\u7528\u3057\u307e\u3059\u3002\u30b3\u30d4\u30fc\u5148\u306e\u30c7\u30a3\u30b9\u30af\u306f\u3001\/dev\/ada0\u306b\u3064\u306a\u304c\u3063\u3066\u3044\u308b\u3082\u306e\u3068\u3057\u307e\u3059\u3002<\/p>\n<p>\u307e\u305a\u306f\u3001GPT\u30d1\u30fc\u30c6\u30a3\u30b7\u30e7\u30f3\u306e\u4f5c\u6210\u3067\u3059\u3002<\/p>\n<pre># gpart destroy ada0\r\n# gpart create -s gpt ada0\r\n# gpart add -a 4k -t freebsd-boot -s 512k ada0\r\n# gpart add -a 4k -t freebsd-zfs -s 128G -l zroot ada0\r\n# gpart add -a 4k -t freebsd-zfs -s 8G -l zil ada0\r\n# gpart add -a 4k -t freebsd-zfs -l l2arc ada0\r\n# gpart bootcode -b \/boot\/pmbr -p \/boot\/gptzfsboot -i 1 ada0<\/pre>\n<p>\u4f7f\u7528\u4e2d\u306e\u30c7\u30a3\u30b9\u30af\u3060\u3068gpart destroy\u3067\u30a8\u30e9\u30fc\u306b\u306a\u308a\u307e\u3059\u3002\u305d\u306e\u5834\u5408\u306fdestroy\u306e\u5f8c\u306b-F\u30aa\u30d7\u30b7\u30e7\u30f3\u3092\u3064\u3051\u3066\u3001\u5f37\u5236\u7684\u306bdestroy\u3067\u304d\u307e\u3059\u3002<\/p>\n<p>\u3082\u3057\u3001\u305d\u306e\u30c7\u30a3\u30b9\u30af\u306e\u4e2d\u306b\u3001ZFS\u3067\u4f7f\u3063\u3066\u3044\u305f\u30d7\u30fc\u30eb\u304c\u3042\u308b\u5834\u5408\u3001\u3044\u304d\u306a\u308agpart destroy\u3059\u308b\u3068\u30cf\u30de\u308a\u307e\u3059\u3002\u5143\u306e\u30d7\u30fc\u30eb\u3092zpool destroy\u3067\u7834\u68c4\u3057\u3066\u304a\u3044\u3066\u304f\u3060\u3055\u3044\u3002\u305d\u3046\u3057\u306a\u3044\u3068\u3001\u4e8c\u5ea6\u3068import\u3082\u7834\u68c4\u3082\u51fa\u6765\u306a\u3044\u3001\u30be\u30f3\u30d3\u306e\u30d7\u30fc\u30eb\u304c\u3067\u304d\u307e\u3059\u3002\u3053\u306e\u30be\u30f3\u30d3\u30d7\u30fc\u30eb\u306f\u3001dd\u30670\u3092\u66f8\u304d\u8fbc\u307e\u306a\u3044\u3068\u6d88\u3048\u306a\u3044\u3088\u3046\u3067\u3059\u3002<\/p>\n<p>gpart create\u3067GPT\u30c7\u30a3\u30b9\u30af\u306b\u3057\u307e\u3059\u3002<\/p>\n<p>\u305d\u306e\u5f8c\u3001gpart add\u3067\u3001\u8d77\u52d5\u9818\u57df\u3001\u30c7\u30fc\u30bf\u9818\u57df\u3001\u30ad\u30e3\u30c3\u30b7\u30e5\u9818\u57df\u306e\u78ba\u4fdd\u3092\u3057\u307e\u3059\u3002-a 4k\u3092\u3064\u3051\u308b\u4e8b\u3067\u30014k\u30a2\u30e9\u30a4\u30f3\u306eAFT\u30c7\u30a3\u30b9\u30af\u306b\u5bfe\u5fdc\u3067\u304d\u307e\u3059\u3002freebsd-boot\u306f512k\u3067\u3001\u8a2d\u5b9a\u53ef\u80fd\u306a\u6700\u5927\u30b5\u30a4\u30ba\u306b\u3057\u307e\u3059\u3002zil(\u30ed\u30b0)\u9818\u57df\u3092\u78ba\u4fdd\u3057\u3066\u304a\u304d\u307e\u3059\u3002\u3053\u306e\u5927\u304d\u3055\u306f\u3001\u30e1\u30a4\u30f3\u30e1\u30e2\u30ea\u306e\u534a\u5206\u306b\u3057\u307e\u3059\u3002\u4f7f\u7528\u3057\u3066\u3044\u308b\u30db\u30b9\u30c8\u306f16GB\u306e\u30e1\u30e2\u30ea\u3092\u8f09\u305b\u3066\u3044\u308b\u306e\u3067\u30018GB\u3092\u6307\u5b9a\u3057\u3066\u3044\u307e\u3059\u3002\u6b8b\u308a\u306e\u9818\u57df\u3092l2arc\u7528(\u30ad\u30e3\u30c3\u30b7\u30e5)\u306b\u78ba\u4fdd\u3057\u3066\u304a\u304d\u307e\u3059\u3002<\/p>\n<p>\u6b21\u306b\u3001ZPOOL\u306e\u8a2d\u5b9a\u3067\u3059\u3002<\/p>\n<pre># zpool create -R \/mnt rpool gpt\/zroot\r\n# zfs create rpool\/root\r\ncannot mount '\/mnt\/rpool\/root': failed to create mountpoint\r\nfilesystem successfully created, but not mounted\r\n# zfs set mountpoint=\/ rpool\/root\r\n# zpool export rpool\r\n# zpool import -R \/mnt rpool<\/pre>\n<p>\u307e\u305a\u3001zpool\u3067ZFS\u306e\u30d7\u30fc\u30eb\u3092\u4f5c\u6210\u3057\u307e\u3059\u3002-R \/mnt\u3067\u3001\/mnt\u306b\u30de\u30a6\u30f3\u30c8\u3055\u308c\u308b\u69d8\u306b\u3059\u308b\u306e\u304c\u809d\u3067\u3059\u3002<\/p>\n<p>zfs create\u3067root\u3068\u8a00\u3046\u540d\u524d\u306e\u30c7\u30fc\u30bf\u30bb\u30c3\u30c8\u3092\u4f5c\u308a\u3001\u3053\u306e\u4e0b\u306b\u5404\u30c7\u30fc\u30bf\u30bb\u30c3\u30c8\u3092\u4f5c\u308a\u307e\u3059\u30022\u6bb5\u69cb\u6210\u306b\u3059\u308b\u306e\u306f\u3001snapshot\u3092send\/recv\u3067\u30ea\u30b9\u30c8\u30a2\u3059\u308b\u6642\u306b\u7c21\u5358\u306b\u51fa\u6765\u308b\u3088\u3046\u306b\u3059\u308b\u70ba\u3067\u3059\u3002<\/p>\n<p>\u305f\u3060\u3001\u3053\u306e\u6642\u70b9\u3067\u3001\/mnt\/rpool\/root\u3092\u4f5c\u308c\u306a\u3044\u3068\u8a00\u3046\u30a8\u30e9\u30fc\u306b\u306a\u308a\u307e\u3059\u3002\u3053\u306e\u70ba\u3001set mountpoint=\/\u3092\u8a2d\u5b9a\u3057\u307e\u3059\u3002\u8a2d\u5b9a\u5f8c\u3001\u6b63\u3057\u304f\u30de\u30a6\u30f3\u30c8\u3055\u305b\u308b\u70ba\u306b\u3001\u4e00\u65e6export\u3057\u3066\u3001\u518d\u5ea6import\u3057\u307e\u3059\u3002\u3053\u306e\u6642\u3082-R \/mnt\u304c\u5fc5\u8981\u3067\u3059\u3002<\/p>\n<h3>5. \u30c7\u30fc\u30bf\u30b3\u30d4\u30fc<\/h3>\n<p>ZFS\u3092\u4f7f\u3046\u3068\u672c\u5f53\u306b\u4fbf\u5229\u3060\u306a\u3041\u3068\u601d\u3046\u306e\u304c\u3001zfs send\/recv\u306b\u3088\u308b\u30c7\u30fc\u30bf\u30b3\u30d4\u30fc\u3067\u3059\u3002<\/p>\n<pre>\r\n# zfs send -pR rpool-org@20170616 | zfs recv -uvdF rpool\r\n<\/pre>\n<p>zfs send\u306ep\u30aa\u30d7\u30b7\u30e7\u30f3\u306f\u30d7\u30ed\u30d1\u30c6\u30a3\u3082\u305d\u306e\u307e\u307e\u30b3\u30d4\u30fc\u3059\u308b\u8a2d\u5b9a\u3067\u3001R\u30aa\u30d7\u30b7\u30e7\u30f3\u306f\u968e\u5c64\u3082\u5bfe\u8c61\u306b\u3059\u308b\u8a2d\u5b9a\u3067\u3059\u3002<\/p>\n<p>zfs recv\u306eu\u30aa\u30d7\u30b7\u30e7\u30f3\u306f\u3001\u30b3\u30d4\u30fc\u7d42\u4e86\u5f8c\u306b\u30de\u30a6\u30f3\u30c8\u3057\u306a\u3044\u8a2d\u5b9a\u3067\u3059\u3002recv\u306e\u6642\u306f\u3044\u3064\u3082u\u30aa\u30d7\u30b7\u30e7\u30f3\u3092\u4ed8\u3051\u308b\u3088\u3046\u306b\u3057\u305f\u65b9\u304c\u5b89\u5168\u3067\u3059\u3002d\u30aa\u30d7\u30b7\u30e7\u30f3\u306f\u968e\u5c64\u306e\u30c7\u30a3\u30ec\u30af\u30c8\u30ea\u3092\u4f5c\u308b\u8a2d\u5b9a\u3001F\u30aa\u30d7\u30b7\u30e7\u30f3\u306fsend\u306eR\u30aa\u30d7\u30b7\u30e7\u30f3\u306b\u5bfe\u5fdc\u3059\u308b\u968e\u5c64\u3092\u6271\u3046\u8a2d\u5b9a\u3067\u3059\u3002v\u30aa\u30d7\u30b7\u30e7\u30f3\u306fverbose\u8a2d\u5b9a\u3067\u3059\u3002\u51fa\u529b\u30e1\u30c3\u30bb\u30fc\u30b8\u304c\u8c4a\u5bcc\u306b\u306a\u308a\u307e\u3059\u3002<\/p>\n<p>\u79c1\u306e\u5834\u5408\u3001\/usr\/local\u4ee5\u4e0b\u306f\u3001\u5225\u306e\u30d7\u30fc\u30eb(upool)\u306b\u5165\u308c\u3066\u3044\u307e\u3057\u305f\u3002\u3053\u308c\u3082\u30b3\u30d4\u30fc\u3057\u3066\u304d\u307e\u3059\u3002<\/p>\n<pre>\r\n# zpool import -R \/media upool\r\n# zfs snapshot -r upool\/usr\/local@20170616 \r\n# zfs send -pR upool\/usr\/local@20170513 | zfs recv -nuvdF rpool\/root\r\n# zfs send -pR upool\/usr\/local@20170513 | zfs recv -uvdF rpool\/root\r\n<\/pre>\n<p>zfs recv\u3067\u3001\u6700\u521dn\u30aa\u30d7\u30b7\u30e7\u30f3\u3092\u4f7f\u3063\u3066\u3001\u30c9\u30e9\u30a4\u30e9\u30f3(dry run)\u3057\u3066\u3044\u307e\u3059\u3002\u3053\u308c\u306f\u3001recv\u3067\u53d7\u3051\u53d6\u3063\u305f\u30c7\u30fc\u30bf\u3092\u30c7\u30a3\u30b9\u30af\u3078\u306f\u66f8\u304d\u8fbc\u307e\u305a\u3001\u6319\u52d5\u3060\u3051\u78ba\u8a8d\u3059\u308b\u30aa\u30d7\u30b7\u30e7\u30f3\u3067\u3059\u3002recv\u3067\u53d7\u3051\u53d6\u308b\u30c7\u30a3\u30ec\u30af\u30c8\u30ea\u304c\u6b63\u3057\u3044\u304b\u3092\u78ba\u8a8d\u3059\u308b\u305f\u3081\u306b\u4f7f\u3044\u307e\u3059\u3002<\/p>\n<p>\u3053\u306e\u78ba\u8a8d\u304c\u7d42\u308f\u3063\u305f\u3089\u3001n\u30aa\u30d7\u30b7\u30e7\u30f3\u7121\u3057\u3067\u5b9f\u884c\u3057\u307e\u3059\u3002<\/p>\n<h3>6. \u8d77\u52d5\u8a2d\u5b9a<\/h3>\n<p>\u3053\u3053\u307e\u3067\u3067\u30d0\u30c3\u30af\u30a2\u30c3\u30d7\u306f\u7d42\u308f\u308a\u3067\u3059\u304c\u3001\u3053\u306e\u307e\u307e\u3067\u306f\u8d77\u52d5\u3057\u307e\u305b\u3093\u3002\u30d6\u30fc\u30c8\u30ed\u30fc\u30c0\u306e\u30b3\u30d4\u30fc\u304c\u7d42\u308f\u3063\u3066\u3044\u306a\u3044\u305f\u3081\u3067\u3059\u3002<\/p>\n<pre>\r\n# gpart bootcode -b \/media\/boot\/pmbr -p \/media\/boot\/gptzfsboot -i 1 ada0\r\n<\/pre>\n<p>\/media\/boot\u304b\u3089\u30b3\u30d4\u30fc\u3057\u3066\u304f\u308b\u306e\u304c\u809d\u3067\u3059\u3002\/media\u306f\u3001\u30b3\u30d4\u30fc\u5143\u30c7\u30a3\u30b9\u30af\u3067\u3059\u3002\u3053\u306e\u4e2d\u306epmbr\u3068gptzfsboot\u3092\u4f7f\u308f\u306a\u3044\u3068\u3001ZFS\u306e\u30d0\u30fc\u30b8\u30e7\u30f3\u304c\u5408\u308f\u305a\u306b\u3001\u8d77\u52d5\u3067\u304d\u307e\u305b\u3093\u3002\u6700\u521d\u3001\/boot\u306b\u5165\u3063\u3066\u3044\u308bFreeBSD11\u306e\u3082\u306e\u3092\u4f7f\u3063\u3066\u3044\u307e\u3057\u305f\u3002\u3053\u306e\u72b6\u614b\u3060\u3068\u8d77\u52d5\u305b\u305a\u3001\u539f\u56e0\u7279\u5b9a\u306b\u6642\u9593\u304c\u304b\u304b\u308a\u3001\u304b\u306a\u308a\u30cf\u30de\u308a\u307e\u3057\u305f\u3002<\/p>\n<p>loader.conf\u306e\u4e2d\u8eab\u3092\u78ba\u8a8d\u3057\u307e\u3059\u3002\u6b21\u306e\u3088\u3046\u306b\u306a\u3063\u3066\u3044\u308c\u3070OK\u3067\u3059\u3002<\/p>\n<pre class=\"hljs\"><code class=\"ini\">zfs_load=&quot;YES&quot;\r\nvfs.root.mountfrom=&quot;zfs:rpool\/root&quot;\r\n<\/code><\/pre>\n<p>\u518d\u8d77\u52d5\u306f\u3001reboot\u30b3\u30de\u30f3\u30c9\u304b<kbd class=\"css_kbd_class\">ctrl<\/kbd>+<kbd class=\"css_kbd_class\">alt<\/kbd>+<kbd class=\"css_kbd_class\">del<\/kbd>\u3092\u4f7f\u3044\u307e\u3059\u3002<\/p>\n<p>\u3053\u308c\u3067\u8d77\u52d5\u51fa\u6765\u308c\u3070\u3001\u6210\u529f\u3067\u3059\u3002<\/p>\n[amazonjs asin=\"B00CPG04JE\" locale=\"JP\"]\n","protected":false},"excerpt":{"rendered":"<p>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\u3089\u8d77\u52d5\u51fa\u6765\u308b\u3088\u3046\u306b\u3057\u307e\u3057\u305f\u3002\u304b\u306a\u308a\u30cf\u30de\u3063\u305f\u306e\u3067\u3001\u30e1\u30e2\u3068\u3057\u3066\u6b8b\u3057\u3066\u304a\u304d\u307e\u3059\u3002 FreeBSD11\u306eLiveCD\u3067\u7acb\u3061\u4e0a\u3052\u3001 [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":20576,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"jetpack_post_was_ever_published":false,"_jetpack_newsletter_access":"","_jetpack_dont_email_post_to_subs":false,"_jetpack_newsletter_tier_id":0,"_jetpack_memberships_contains_paywalled_content":false,"_jetpack_memberships_contains_paid_content":false,"footnotes":"","jetpack_publicize_message":"\u65b0\u3057\u3044\u8a18\u4e8b\u300eFreeBSD\u306eRoot on ZFS\u30b7\u30b9\u30c6\u30e0\u306e\u5225\u30c7\u30a3\u30b9\u30af\u3078\u306e\u79fb\u884c\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}},"categories":[60,34,59],"tags":[],"class_list":["post-20256","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-freebsd","category-mac","category-nas"],"jetpack_publicize_connections":[],"jetpack_featured_media_url":"https:\/\/oichinote.com\/plus\/files\/2017\/06\/20170614freebsd-1-install.jpg","jetpack-related-posts":[{"id":20537,"url":"https:\/\/oichinote.com\/plus\/2017\/06\/install-freebsd11-with-hand-made-partition.html","url_meta":{"origin":20256,"position":0},"title":"\u30d1\u30fc\u30c6\u30a3\u30b7\u30e7\u30f3\u3092shell\u3067\u8a2d\u5b9a\u3057\u3066Root on ZFS\u306bFreeBSD11\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb","author":"\u304a\u5e02\u306e\u304b\u305f","date":"2017\u5e746\u670814\u65e5","format":false,"excerpt":"FreeBSD10\u306e\u5165\u3063\u305fZPOOL\u304b\u3089\u5225\u306e\u30c7\u30a3\u30b9\u30af\u306b\u30ea\u30b9\u30c8\u30a2\u3057\u3088\u3046\u3068\u3057\u307e\u3057\u305f\u304c\u3046\u307e\u304f\u3044\u304b\u305a\u3001Fre\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":7985,"url":"https:\/\/oichinote.com\/plus\/2013\/04\/install-freebsd-with-full-zfs.html","url_meta":{"origin":20256,"position":1},"title":"FreeBSD9\u3067Full ZFS\u30b7\u30b9\u30c6\u30e0\u4f5c\u6210\u306e\u5b9f\u9a13[\u8ffd\u8a18\u3042\u308a]","author":"\u304a\u5e02\u306e\u304b\u305f","date":"2013\u5e744\u670829\u65e5","format":false,"excerpt":"FreeBSD\u52c9\u5f37\u30b7\u30ea\u30fc\u30ba\u306e\u4e00\u74b0\u3067\u3059\u3002 FreeBSD\u306e\u52c9\u5f37\u4e2d: \u30d7\u30e9\u30b9\u03b1\u7a7a\u9593 (2012\u5e7411\u67083\u2026","rel":"","context":"NAS","block_context":{"text":"NAS","link":"https:\/\/oichinote.com\/plus\/category\/nas"},"img":{"alt_text":"\u30b7\u30b9\u30c6\u30e0\u7528\u30d7\u30fc\u30eb","src":"https:\/\/i0.wp.com\/oichinote.com\/plus\/files\/2013\/04\/20130428zfs_rpool.png?resize=350%2C200","width":350,"height":200},"classes":[]},{"id":19706,"url":"https:\/\/oichinote.com\/plus\/2017\/03\/install-freebsd11-to-parallels12.html","url_meta":{"origin":20256,"position":2},"title":"Parallels12\u306bFreeBSD11\u3092\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb","author":"\u304a\u5e02\u306e\u304b\u305f","date":"2017\u5e743\u670818\u65e5","format":false,"excerpt":"\u4eca\u3001NAS\u3068\u3057\u3066\u4f7f\u3063\u3066\u3044\u308bFreeBSD\u304c10.0\u3068\u30b5\u30dd\u30fc\u30c8\u5207\u308c\u306e\u72b6\u614b\u3067\u3059\u3002\u305d\u306e\u305f\u3081\u3001\u6b21\u306e\u554f\u984c\u304c\u767a\u751f\u2026","rel":"","context":"FreeBSD","block_context":{"text":"FreeBSD","link":"https:\/\/oichinote.com\/plus\/category\/freebsd"},"img":{"alt_text":"\u30ab\u30b9\u30bf\u30de\u30a4\u30ba\u7d42\u4e86","src":"https:\/\/i0.wp.com\/oichinote.com\/plus\/files\/2017\/03\/20170318parallels-customize-done.png?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":20256,"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":1586,"url":"https:\/\/oichinote.com\/plus\/2010\/05\/mac-a08c.html","url_meta":{"origin":20256,"position":4},"title":"Mac\u7528\u306e\u5916\u4ed8\u3051\u30cf\u30fc\u30c9\u30c7\u30a3\u30b9\u30af\u3092\u8cb7\u3044\u307e\u3057\u305f","author":"\u304a\u5e02\u306e\u304b\u305f","date":"2010\u5e745\u670811\u65e5","format":false,"excerpt":"\u6628\u5e7412\u6708\u306e\u4e8b\u306a\u306e\u3067\u3059\u304c\u3001Mac\u7528\u306b\u5916\u4ed8\u3051\u30cf\u30fc\u30c9\u30c7\u30a3\u30b9\u30af\u3092\u8cb7\u3044\u307e\u3057\u305f\u3002Firewire 800\/40\u2026","rel":"","context":"\u30d1\u30bd\u30b3\u30f3\u30fb\u30a4\u30f3\u30bf\u30fc\u30cd\u30c3\u30c8","block_context":{"text":"\u30d1\u30bd\u30b3\u30f3\u30fb\u30a4\u30f3\u30bf\u30fc\u30cd\u30c3\u30c8","link":"https:\/\/oichinote.com\/plus\/category\/computer"},"img":{"alt_text":"","src":"","width":0,"height":0},"classes":[]},{"id":20615,"url":"https:\/\/oichinote.com\/plus\/2017\/06\/home-server-is-restored.html","url_meta":{"origin":20256,"position":5},"title":"\u30b5\u30fc\u30d0\u30fc\u5fa9\u6d3b[\u8ffd\u8a18\u3042\u308a]","author":"\u304a\u5e02\u306e\u304b\u305f","date":"2017\u5e746\u670818\u65e5","format":false,"excerpt":"\u3084\u3063\u3068\u5fa9\u6d3b\u3057\u307e\u3057\u305f! \u30b5\u30fc\u30d0\u30fc\u306b\u4f7f\u3063\u3066\u3044\u308bCPU\u304c\u58ca\u308c\u305f\u306e\u304c5\u6708\u4e2d\u9803\u3067\u3059\u3002 \u305d\u308c\u304b\u30891\u30f6\u6708\u3001\u9577\u304b\u3063\u305f\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] \u8d64\u3044\u60aa\u9b54\u306e\u683c\u597d\u3092\u3057\u305f\u5916\u56fd\u4eba\u5973\u6027","src":"https:\/\/i0.wp.com\/oichinote.com\/plus\/files\/2017\/02\/gatag-00002308-480x480.jpg?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\/20256","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=20256"}],"version-history":[{"count":12,"href":"https:\/\/oichinote.com\/plus\/wp-json\/wp\/v2\/posts\/20256\/revisions"}],"predecessor-version":[{"id":20613,"href":"https:\/\/oichinote.com\/plus\/wp-json\/wp\/v2\/posts\/20256\/revisions\/20613"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/oichinote.com\/plus\/wp-json\/wp\/v2\/media\/20576"}],"wp:attachment":[{"href":"https:\/\/oichinote.com\/plus\/wp-json\/wp\/v2\/media?parent=20256"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/oichinote.com\/plus\/wp-json\/wp\/v2\/categories?post=20256"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/oichinote.com\/plus\/wp-json\/wp\/v2\/tags?post=20256"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}