{"id":1832,"date":"2012-12-07T01:33:18","date_gmt":"2012-12-06T16:33:18","guid":{"rendered":"http:\/\/peta.okechan.net\/blog\/?p=1832"},"modified":"2012-12-20T14:29:41","modified_gmt":"2012-12-20T05:29:41","slug":"zfs%e3%81%ae%e3%83%97%e3%83%bc%e3%83%ab%e3%81%ae%e3%83%87%e3%83%90%e3%82%a4%e3%82%b9%e5%90%8d%e3%81%8c%e3%81%8a%e3%81%8b%e3%81%97%e3%81%8f%e3%81%aa%e3%81%a3%e3%81%9f","status":"publish","type":"post","link":"https:\/\/peta.okechan.net\/blog\/archives\/1832","title":{"rendered":"ZFS\u306e\u30d7\u30fc\u30eb\u306e\u30c7\u30d0\u30a4\u30b9\u540d\u304c\u304a\u304b\u3057\u304f\u306a\u3063\u305f"},"content":{"rendered":"<p>FreeNAS 8\u304c\u51fa\u305f\u5f8c\u3082FreeNAS Legacy\u3068\u3057\u3066\u958b\u767a\u304c\u7d99\u7d9a\u3057\u3066\u3044\u305fFreeNAS 0.7\u7cfb\u304c\u3001\u6700\u8fd1NAS4Free\u3068\u3044\u3046\u540d\u524d\u306b\u5909\u308f\u308a\u307e\u3057\u305f\u306d\uff08<del datetime=\"2012-12-20T05:13:46+00:00\">\u3082\u3057\u304f\u306f\u30d5\u30a9\u30fc\u30af\u3057\u305f\uff1f<\/del><a href=\"http:\/\/wiki.nas4free.org\/doku.php#history\" target=\"_blank\">FreeNAS 0.7\u7cfb\u306e\u30d7\u30ed\u30b8\u30a7\u30af\u30c8\u3092\u76f4\u63a5\u7684\u306b\u7d99\u627f\u3057\u305f\u3082\u306e\u306e\u3088\u3046\u3067\u3059\u3002<\/a>\uff09\u3002<br \/>\n\u79c1\u3082\u5c11\u3057\u524d\u306bLegacy\u304b\u3089NAS4Free\u306b\u30a2\u30c3\u30d7\u30b0\u30ec\u30fc\u30c9\u3057\u307e\u3057\u305f\u3002<br \/>\nWebGUI\u304b\u3089\u666e\u901a\u306b\u30a2\u30c3\u30d7\u30b0\u30ec\u30fc\u30c9\u51fa\u6765\u305f\u306e\u3067\u672c\u5f53\u306b\u4e2d\u8eab\u306f\u3042\u307e\u308a\u5909\u308f\u3063\u3066\u306a\u3044\u307f\u305f\u3044\u3067\u3059\u3002<\/p>\n<p>\u3067\u3001NAS4Free\u3092\u3057\u3070\u3089\u304f\u4f7f\u3063\u3066\u305f\u3093\u3067\u3059\u304c\u3001\u3042\u308b\u65e5ZFS\u306e\u30d7\u30fc\u30eb\u3092\u78ba\u8a8d\u3057\u3066\u307f\u308b\u30681\u3064\u3060\u3051\u30c7\u30d0\u30a4\u30b9\u540d\u304c\u304a\u304b\u3057\u304f\u306a\u3063\u3066\u308b\u4e8b\u306b\u6c17\u3065\u304d\u307e\u3057\u305f\u3002<br \/>\n\uff08\u5148\u306b\u66f8\u3044\u3066\u304a\u304d\u307e\u3059\u304c\u3001\u3053\u306e\u554f\u984c\u306e\u539f\u56e0\u306fNAS4Free\u3067\u306f\u306a\u3044\u3067\u3059\u3002\uff09<\/p>\n<pre class=\"brush: bash; title: ; notranslate\" title=\"\">\r\nfreenas:~# zpool status tank\r\n  pool: tank\r\n state: ONLINE\r\n  scan: resilvered 44K in 0h0m with 0 errors on Sun Nov 25 22:19:43 2012\r\nconfig:\r\n\r\n\tNAME                     STATE     READ WRITE CKSUM\r\n\ttank                     ONLINE       0     0     0\r\n\t  raidz2-0               ONLINE       0     0     0\r\n\t    ada2                 ONLINE       0     0     0\r\n\t    ada3                 ONLINE       0     0     0\r\n\t    ada5                 ONLINE       0     0     0\r\n\t    ada6                 ONLINE       0     0     0\r\n\t    ada7                 ONLINE       0     0     0\r\n\t    ext2fs\/aaa           ONLINE       0     0     0\r\n\r\nerrors: No known data errors\r\n<\/pre>\n<p>\uff08resilvered\u306e\u6642\u9593\u304c\u304a\u304b\u3057\u3044\u306e\u306f\u3059\u3050\u306b\u30ad\u30e3\u30f3\u30bb\u30eb\u3057\u305f\u304b\u3089\u3002\uff09<\/p>\n<p>\u306a\u3093\u3060\u3088 ext2fs\/aaa \u3063\u3066\uff01<br \/>\n\u4e0a\u306e\u7d50\u679c\u304b\u3089\u4e88\u60f3\u3059\u308b\u306b\u3001 ext2fs\/aaa \u3068\u3044\u3046\u8b0e\u306e\u30c7\u30d0\u30a4\u30b9\u304c ada4 \u306e\u30d5\u30ea\u3092\u3057\u3066\u308b\u307f\u305f\u3044\u3060\u3051\u3069\u3001\u30d7\u30fc\u30eb\u306f\u666e\u901a\u306b\u4f7f\u3048\u3066\u308b\u3068\u3044\u3046\u3002<br \/>\n\u3067\u3082\u3055\u3001ZFS\u306e\u30d7\u30fc\u30eb\u306e\u69cb\u6210\u30c7\u30a3\u30b9\u30af\u306a\u308f\u3051\u3060\u304b\u3089ext2fs\u306a\u8a33\u306a\u3044\u3058\u3083\u3093w<\/p>\n<p>\u3068\u306b\u304b\u304fext2fs\u3068\u3044\u3046\u306e\u306f\u7f6e\u3044\u3068\u3044\u3066\u3001aaa\u3068\u3044\u3046\u306e\u306fGEOM LABEL\u3067\u4ed8\u3051\u305f\u30e9\u30d9\u30eb\u3063\u307d\u3044\u3057\u3001aaa\u3068\u3044\u3046\u9069\u5f53\u306a\u540d\u524d\u304b\u3089\u3082\u81ea\u5206\u3067\u8a2d\u5b9a\u3057\u3066\u5fd8\u308c\u3066\u308b\u53ef\u80fd\u6027\u5927\u3060\u3068\u5224\u65ad\u3057\u307e\u3057\u305f\u3002<\/p>\n<pre class=\"brush: bash; title: ; notranslate\" title=\"\">\r\nfreenas:~# glabel status\r\n                  Name  Status  Components\r\n            ext2fs\/aaa     N\/A  ada4\r\n            (\u4ee5\u4e0b\u7565)\r\n\r\nfreenas:~# glabel list ada4\r\nGeom name: ada4\r\nProviders:\r\n1. Name: ext2fs\/aaa\r\n   Mediasize: 2000398934016 (1.8T)\r\n   Sectorsize: 512\r\n   Stripesize: 4096\r\n   Stripeoffset: 0\r\n   Mode: r0w0e0\r\n   secoffset: 0\r\n   offset: 0\r\n   seclength: 3907029168\r\n   length: 2000398934016\r\n   index: 0\r\nConsumers:\r\n1. Name: ada4\r\n   Mediasize: 2000398934016 (1.8T)\r\n   Sectorsize: 512\r\n   Stripesize: 4096\r\n   Stripeoffset: 0\r\n   Mode: r0w0e0\r\n<\/pre>\n<p>\u3067\u3001\u78ba\u8a8d\u3057\u3066\u307f\u305f\u3089\u6848\u306e\u5b9aGEOM LABEL\u3060\u3063\u305f\u306e\u3067\u6d88\u3057\u3066\u307f\u308b\u3053\u3068\u306b\u3057\u307e\u3057\u305f\u3002<\/p>\n<pre class=\"brush: bash; title: ; notranslate\" title=\"\">\r\nfreenas:~# zpool export tank\r\nfreenas:~# glabel destroy aaa\r\nfreenas:~# glabel status\r\n                  Name  Status  Components\r\n            (\u7565)\r\n<\/pre>\n<p>\u30e9\u30d9\u30eb\u304c\u6d88\u3048\u305f\u3063\u307d\u3044\u306e\u3067\u518d\u8d77\u52d5\u3057\u305f\u304c\u3001\u306a\u3093\u3068 ext2fs\/aaa \u304c\u5fa9\u6d3bw<\/p>\n<p>man\u3067\u8abf\u3079\u305f\u3089 glabel destroy \u306f This command does not touch on-disk metadata! \u3068\u66f8\u3044\u3066\u3042\u308b\u306e\u3067\u6c38\u7d9a\u7684\u306b\u53cd\u6620\u3055\u308c\u306a\u3044\u307f\u305f\u3044\u3067\u3059\u3002<\/p>\n<p>clear \u306a\u3089 \u30c7\u30a3\u30b9\u30af\u306e\u30e1\u30bf\u30c7\u30fc\u30bf\u3092\u5f04\u3063\u3066\u304f\u308c\u308b\u3089\u3057\u3044\u306e\u3067\u4f7f\u3063\u3066\u307f\u307e\u3057\u305f\u3002<\/p>\n<pre class=\"brush: bash; title: ; notranslate\" title=\"\">\r\nfreenas:~# zpool export tank\r\nfreenas:\/# glabel clear ada\uff14\r\nCan't clear metadata on ada4: Invalid argument.\r\nglabel: Not fully done.\r\n<\/pre>\n<p>\u5b9f\u884c\u3067\u304d\u306a\u3044\u3002\u3069\u3086\u3053\u3068\u301c\uff1f<\/p>\n<p>\u691c\u7d22\u3057\u305f\u3089\u3053\u3046\u3044\u3046\u8a18\u4e8b\u3092\u767a\u898b\u3057\u307e\u3057\u305f\u3002<br \/>\n<a href=\"http:\/\/tangerina.jp\/blog\/2012\/05\/220611\/\" target=\"_blank\">\u307b\u3093\u306e\u308a\u6280\u8853\u7cfb\u306e\u30d6\u30ed\u30b0<\/a><\/p>\n<p>\u5c11\u3005\u554f\u984c\u304c\u9055\u3046\u3093\u3067\u3059\u304c\u3001\u305d\u306e\u306a\u304b\u3067GEOM\u306e\u30e1\u30bf\u30c7\u30fc\u30bf\u3092\u6d88\u3059\u65b9\u6cd5\u3068\u3057\u3066\u3001 dd \u3067\u30d1\u30fc\u30c6\u30a3\u30b7\u30e7\u30f3\u306e\u60c5\u5831\u3092\u6d88\u3059\u3002\u306a\u3093\u3066\u5c11\u3005\u8352\u3063\u307d\u3044\u65b9\u6cd5\u304c\u8f09\u3063\u3066\u305f\u3093\u3067\u3059\u304c\u3001\u307e\u3041raidz2\u3060\u3057\u30c7\u30a3\u30b9\u30af1\u53f0\u5206\u30c7\u30fc\u30bf\u304c\u6d88\u3048\u3066\u3082\u554f\u984c\u306a\u3044\u3088\u306d\u3068\u3044\u3046\u3053\u3068\u3067\u3001\u601d\u3044\u5207\u3063\u3066\u5b9f\u884c\u3057\u3066\u307f\u307e\u3057\u305f\u3002<\/p>\n<pre class=\"brush: bash; title: ; notranslate\" title=\"\">\r\nfreenas:~# glabel destroy aaa\r\nfreenas:~# glabel status\r\n                  Name  Status  Components\r\n            (\u7565)\r\nfreenas:~# dd if=\/dev\/zero of=\/dev\/ada4 bs=512 count=1 skip=1\r\n<\/pre>\n<p>\u3057\u304b\u3057\u3053\u308c\u3067\u518d\u8d77\u52d5\u3057\u3066\u3082\u3060\u3081\u3002<br \/>\n\uff08\u3061\u306a\u307f\u306b\u3001\u30ea\u30f3\u30af\u5148\u3068\u540c\u3058\u304fZFS\u306e\u30d7\u30fc\u30eb\u306b\u306f\u5f71\u97ff\u7121\u3044\u307f\u305f\u3044\u3067\u3057\u305f\u3002\uff09<\/p>\n<p>\u8abf\u3079\u3066\u307f\u308b\u3068\u3001\u300cglabel label \u30e9\u30d9\u30eb\u540d \u30c7\u30d0\u30a4\u30b9\u540d\u300d\u3067\u30e9\u30d9\u30eb\u3092\u4ed8\u3051\u305f\u5834\u5408\u306f\u3001 \/dev\/label\/\u30e9\u30d9\u30eb\u540d \u306b\u306a\u308b\u3089\u3057\u304f\u3001\u5143\u3005 aaa \u3068\u3044\u3046\u30e9\u30d9\u30eb\u306f glabel \u3067\u4ed8\u3051\u305f\u308f\u3051\u3058\u3083\u306a\u304b\u3063\u305f\u307f\u305f\u3044\u3067\u3059\u3002<br \/>\n\uff08\u305f\u3060\u3057\u3001\u30e9\u30d9\u30eb\u306e\u4ed5\u7d44\u307f\u81ea\u4f53\u306fGEOM LABEL\u3067\u52d5\u3044\u3066\u308b\u306e\u306f\u9593\u9055\u3044\u306a\u3044\u3067\u3059\u3002\uff09<\/p>\n<p>\u3055\u3089\u306b\u8abf\u3079\u308b\u3068\u3001\u300ctunefs -L \u30e9\u30d9\u30eb\u540d \u30c7\u30d0\u30a4\u30b9\u540d\u300d\u3067UFS\u306a\u30d1\u30fc\u30c6\u30a3\u30b7\u30e7\u30f3\u306b\u30e9\u30d9\u30eb\u3092\u4ed8\u3051\u308b\u3053\u3068\u304c\u3067\u304d\u3001\u305d\u306e\u5834\u5408\u306f \/dev\/ufs\/\u30e9\u30d9\u30eb\u540d \u306b\u306a\u308b\u3089\u3057\u3044\u3002<\/p>\n<p>\u3067\u3001ext2\u7248\u3092\u63a2\u3057\u305f\u3089\u3042\u308a\u307e\u3057\u305f\u3002<\/p>\n<pre class=\"brush: bash; title: ; notranslate\" title=\"\">\r\nfreenas:~# tune2fs -L &quot;&quot; \/dev\/ada4\r\ntune2fs 1.42.6 (21-Sep-2012)\r\n<\/pre>\n<p>\u30b3\u30ec\u3067\u30e9\u30d9\u30eb\u304c\u6d88\u3048\u3001\u518d\u8d77\u52d5\u3057\u305f\u3089ZFS\u30d7\u30fc\u30eb\u306e\u30c7\u30d0\u30a4\u30b9\u540d\u3082\u76f4\u308a\u307e\u3057\u305f\u3002<\/p>\n<p>\u30bf\u30a4\u30c8\u30eb\u306b\u306f\u300cZFS\u306e\u30d7\u30fc\u30eb\u306e\u30c7\u30d0\u30a4\u30b9\u540d\u304c\u304a\u304b\u3057\u304f\u306a\u3063\u305f\u300d\u3063\u3066\u66f8\u3044\u3066\u307e\u3059\u3051\u3069\u3001\u72b6\u6cc1\u8a3c\u62e0\u7684\u306b\u300c\u81ea\u5206\u3067\u304a\u304b\u3057\u304f\u3057\u305f\u306e\u306b\u305d\u306e\u4e8b\u3092\u5fd8\u308c\u3066\u308b\u300d\u3060\u3051\u3063\u307d\u3044\u3067\u3059\u3059\u3044\u307e\u305b\u3093(\uff1b\u00b4\u0414\uff40)<\/p>\n","protected":false},"excerpt":{"rendered":"<p>FreeNAS 8\u304c\u51fa\u305f\u5f8c\u3082FreeNAS Legacy\u3068\u3057\u3066\u958b\u767a\u304c\u7d99\u7d9a\u3057\u3066\u3044\u305fFreeNAS 0.7\u7cfb\u304c\u3001\u6700\u8fd1NAS4Free\u3068\u3044\u3046\u540d\u524d\u306b\u5909\u308f\u308a\u307e\u3057\u305f\u306d\uff08<del datetime=\"2012-12-20T05:13:46+00:00\">\u3082\u3057\u304f\u306f\u30d5\u30a9\u30fc\u30af\u3057\u305f\uff1f<\/del><a href=\"http:\/\/wiki.nas4free.org\/doku.php#history\" target=\"_blank\">FreeNAS 0.7\u7cfb\u306e\u30d7\u30ed\u30b8\u30a7\u30af\u30c8\u3092\u76f4\u63a5\u7684\u306b\u7d99\u627f\u3057\u305f\u3082\u306e\u306e\u3088\u3046\u3067\u3059\u3002<\/a>\uff09\u3002<br \/>\n\u79c1\u3082\u5c11\u3057\u524d\u306bLegacy\u304b\u3089NAS4Free\u306b\u30a2\u30c3\u30d7\u30b0\u30ec\u30fc\u30c9\u3057\u307e\u3057\u305f\u3002<br \/>\nWebGUI\u304b\u3089\u666e\u901a\u306b\u30a2\u30c3\u30d7\u30b0\u30ec\u30fc\u30c9\u51fa\u6765\u305f\u306e\u3067\u672c\u5f53\u306b\u4e2d\u8eab\u306f\u3042\u307e\u308a\u5909\u308f\u3063\u3066\u306a\u3044\u307f\u305f\u3044\u3067\u3059\u3002<\/p>\n<p>\u3067\u3001NAS4Free\u3092\u3057\u3070\u3089\u304f\u4f7f\u3063\u3066\u305f\u3093\u3067\u3059\u304c\u3001\u3042\u308b\u65e5ZFS\u306e\u30d7\u30fc\u30eb\u3092\u78ba\u8a8d\u3057\u3066\u307f\u308b\u30681\u3064\u3060\u3051\u30c7\u30d0\u30a4\u30b9\u540d\u304c\u304a\u304b\u3057\u304f\u306a\u3063\u3066\u308b\u4e8b\u306b\u6c17\u3065\u304d\u307e\u3057\u305f\u3002<br \/>\n\uff08\u5148\u306b\u66f8\u3044\u3066\u304a\u304d\u307e\u3059\u304c\u3001\u3053\u306e\u554f\u984c\u306e\u539f\u56e0\u306fNAS4Free\u3067\u306f\u306a\u3044\u3067\u3059\u3002\uff09<\/p>\n<pre class=\"brush: bash; title: ; notranslate\" title=\"\">\r\nfreenas:~# zpool status tank\r\n  pool: tank\r\n state: ONLINE\r\n  scan: resilvered 44K in 0h0m with 0 errors on Sun Nov 25 22:19:43 2012\r\nconfig:\r\n\r\n\tNAME                     STATE     READ WRITE CKSUM\r\n\ttank                     ONLINE       0     0     0\r\n\t  raidz2-0               ONLINE       0     0     0\r\n\t    ada2                 ONLINE       0     0     0\r\n\t    ada3                 ONLINE       0     0     0\r\n\t    ada5                 ONLINE       0     0     0\r\n\t    ada6                 ONLINE       0     0     0\r\n\t    ada7                 ONLINE       0     0     0\r\n\t    ext2fs\/aaa           ONLINE       0     0     0\r\n\r\nerrors: No known data errors\r\n<\/pre>\n<p>\uff08resilvered\u306e\u6642\u9593\u304c\u304a\u304b\u3057\u3044\u306e\u306f\u3059\u3050\u306b\u30ad\u30e3\u30f3\u30bb\u30eb\u3057\u305f\u304b\u3089\u3002\uff09<\/p>\n<p>\u306a\u3093\u3060\u3088 ext2fs\/aaa \u3063\u3066\uff01<br \/>\n\u4e0a\u306e\u7d50\u679c\u304b\u3089\u4e88\u60f3\u3059\u308b\u306b\u3001 ext2fs\/aaa \u3068\u3044\u3046\u8b0e\u306e\u30c7\u30d0\u30a4\u30b9\u304c ada4 \u306e\u30d5\u30ea\u3092\u3057\u3066\u308b\u307f\u305f\u3044\u3060\u3051\u3069\u3001\u30d7\u30fc\u30eb\u306f\u666e\u901a\u306b\u4f7f\u3048\u3066\u308b\u3068\u3044\u3046\u3002<br \/>\n\u3067\u3082\u3055\u3001ZFS\u306e\u30d7\u30fc\u30eb\u306e\u69cb\u6210\u30c7\u30a3\u30b9\u30af\u306a\u308f\u3051\u3060\u304b\u3089ext2fs\u306a\u8a33\u306a\u3044\u3058\u3083\u3093w<\/p>\n<p>\u3068\u306b\u304b\u304fext2fs\u3068\u3044\u3046\u306e\u306f\u7f6e\u3044\u3068\u3044\u3066\u3001aaa\u3068\u3044\u3046\u306e\u306fGEOM LABEL\u3067\u4ed8\u3051\u305f\u30e9\u30d9\u30eb\u3063\u307d\u3044\u3057\u3001aaa\u3068\u3044\u3046\u9069\u5f53\u306a\u540d\u524d\u304b\u3089\u3082\u81ea\u5206\u3067\u8a2d\u5b9a\u3057\u3066\u5fd8\u308c\u3066\u308b\u53ef\u80fd\u6027\u5927\u3060\u3068\u5224\u65ad\u3057\u307e\u3057\u305f\u3002<\/p>\n<pre class=\"brush: bash; title: ; notranslate\" title=\"\">\r\nfreenas:~# glabel status\r\n                  Name  Status  Components\r\n            ext2fs\/aaa     N\/A  ada4\r\n            (\u4ee5\u4e0b\u7565)\r\n\r\nfreenas:~# glabel list ada4\r\nGeom name: ada4\r\nProviders:\r\n1. Name: ext2fs\/aaa\r\n   Mediasize: 2000398934016 (1.8T)\r\n   Sectorsize: 512\r\n   Stripesize: 4096\r\n   Stripeoffset: 0\r\n   Mode: r0w0e0\r\n   secoffset: 0\r\n   offset: 0\r\n   seclength: 3907029168\r\n   length: 2000398934016\r\n   index: 0\r\nConsumers:\r\n1. Name: ada4\r\n   Mediasize: 2000398934016 (1.8T)\r\n   Sectorsize: 512\r\n   Stripesize: 4096\r\n   Stripeoffset: 0\r\n   Mode: r0w0e0\r\n<\/pre>\n<p>\u3067\u3001\u78ba\u8a8d\u3057\u3066\u307f\u305f\u3089\u6848\u306e\u5b9aGEOM LABEL\u3060\u3063\u305f\u306e\u3067\u6d88\u3057\u3066\u307f\u308b\u3053\u3068\u306b\u3057\u307e\u3057\u305f\u3002<\/p>\n<pre class=\"brush: bash; title: ; notranslate\" title=\"\">\r\nfreenas:~# zpool export tank\r\nfreenas:~# glabel destroy aaa\r\nfreenas:~# glabel status\r\n                  Name  Status  Components\r\n            (\u7565)\r\n<\/pre>\n<p>\u30e9\u30d9\u30eb\u304c\u6d88\u3048\u305f\u3063\u307d\u3044\u306e\u3067\u518d\u8d77\u52d5\u3057\u305f\u304c\u3001\u306a\u3093\u3068 ext2fs\/aaa \u304c\u5fa9\u6d3bw<\/p>\n<p>man\u3067\u8abf\u3079\u305f\u3089 glabel destroy \u306f This command does not touch on-disk metadata! \u3068\u66f8\u3044\u3066\u3042\u308b\u306e\u3067\u6c38\u7d9a\u7684\u306b\u53cd\u6620\u3055\u308c\u306a\u3044\u307f\u305f\u3044\u3067\u3059\u3002<\/p>\n<p>clear \u306a\u3089 \u30c7\u30a3\u30b9\u30af\u306e\u30e1\u30bf\u30c7\u30fc\u30bf\u3092\u5f04\u3063\u3066\u304f\u308c\u308b\u3089\u3057\u3044\u306e\u3067\u4f7f\u3063\u3066\u307f\u307e\u3057\u305f\u3002<\/p>\n<pre class=\"brush: bash; title: ; notranslate\" title=\"\">\r\nfreenas:~# zpool export tank\r\nfreenas:\/# glabel clear ada\uff14\r\nCan't clear metadata on ada4: Invalid argument.\r\nglabel: Not fully done.\r\n<\/pre>\n<p>\u5b9f\u884c\u3067\u304d\u306a\u3044\u3002\u3069\u3086\u3053\u3068\u301c\uff1f<\/p>\n<p>\u691c\u7d22\u3057\u305f\u3089\u3053\u3046\u3044\u3046\u8a18\u4e8b\u3092\u767a\u898b\u3057\u307e\u3057\u305f\u3002<br \/>\n<a href=\"http:\/\/tangerina.jp\/blog\/2012\/05\/220611\/\" target=\"_blank\">\u307b\u3093\u306e\u308a\u6280\u8853\u7cfb\u306e\u30d6\u30ed\u30b0<\/a><\/p>\n<p>\u5c11\u3005\u554f\u984c\u304c\u9055\u3046\u3093\u3067\u3059\u304c\u3001\u305d\u306e\u306a\u304b\u3067GEOM\u306e\u30e1\u30bf\u30c7\u30fc\u30bf\u3092\u6d88\u3059\u65b9\u6cd5\u3068\u3057\u3066\u3001 dd \u3067\u30d1\u30fc\u30c6\u30a3\u30b7\u30e7\u30f3\u306e\u60c5\u5831\u3092\u6d88\u3059\u3002\u306a\u3093\u3066\u5c11\u3005\u8352\u3063\u307d\u3044\u65b9\u6cd5\u304c\u8f09\u3063\u3066\u305f\u3093\u3067\u3059\u304c\u3001\u307e\u3041raidz2\u3060\u3057\u30c7\u30a3\u30b9\u30af1\u53f0\u5206\u30c7\u30fc\u30bf\u304c\u6d88\u3048\u3066\u3082\u554f\u984c\u306a\u3044\u3088\u306d\u3068\u3044\u3046\u3053\u3068\u3067\u3001\u601d\u3044\u5207\u3063\u3066\u5b9f\u884c\u3057\u3066\u307f\u307e\u3057\u305f\u3002<\/p>\n<pre class=\"brush: bash; title: ; notranslate\" title=\"\">\r\nfreenas:~# glabel destroy aaa\r\nfreenas:~# glabel status\r\n                  Name  Status  Components\r\n            (\u7565)\r\nfreenas:~# dd if=\/dev\/zero of=\/dev\/ada4 bs=512 count=1 skip=1\r\n<\/pre>\n<p>\u3057\u304b\u3057\u3053\u308c\u3067\u518d\u8d77\u52d5\u3057\u3066\u3082\u3060\u3081\u3002<br \/>\n\uff08\u3061\u306a\u307f\u306b\u3001\u30ea\u30f3\u30af\u5148\u3068\u540c\u3058\u304fZFS\u306e\u30d7\u30fc\u30eb\u306b\u306f\u5f71\u97ff\u7121\u3044\u307f\u305f\u3044\u3067\u3057\u305f\u3002\uff09<\/p>\n<p>\u8abf\u3079\u3066\u307f\u308b\u3068\u3001\u300cglabel label \u30e9\u30d9\u30eb\u540d \u30c7\u30d0\u30a4\u30b9\u540d\u300d\u3067\u30e9\u30d9\u30eb\u3092\u4ed8\u3051\u305f\u5834\u5408\u306f\u3001 \/dev\/label\/\u30e9\u30d9\u30eb\u540d \u306b\u306a\u308b\u3089\u3057\u304f\u3001\u5143\u3005 aaa \u3068\u3044\u3046\u30e9\u30d9\u30eb\u306f glabel \u3067\u4ed8\u3051\u305f\u308f\u3051\u3058\u3083\u306a\u304b\u3063\u305f\u307f\u305f\u3044\u3067\u3059\u3002<br \/>\n\uff08\u305f\u3060\u3057\u3001\u30e9\u30d9\u30eb\u306e\u4ed5\u7d44\u307f\u81ea\u4f53\u306fGEOM LABEL\u3067\u52d5\u3044\u3066\u308b\u306e\u306f\u9593\u9055\u3044\u306a\u3044\u3067\u3059\u3002\uff09<\/p>\n<p>\u3055\u3089\u306b\u8abf\u3079\u308b\u3068\u3001\u300ctunefs -L \u30e9\u30d9\u30eb\u540d \u30c7\u30d0\u30a4\u30b9\u540d\u300d\u3067UFS\u306a\u30d1\u30fc\u30c6\u30a3\u30b7\u30e7\u30f3\u306b\u30e9\u30d9\u30eb\u3092\u4ed8\u3051\u308b\u3053\u3068\u304c\u3067\u304d\u3001\u305d\u306e\u5834\u5408\u306f \/dev\/ufs\/\u30e9\u30d9\u30eb\u540d \u306b\u306a\u308b\u3089\u3057\u3044\u3002<\/p>\n<p>\u3067\u3001ext2\u7248\u3092\u63a2\u3057\u305f\u3089\u3042\u308a\u307e\u3057\u305f\u3002<\/p>\n<pre class=\"brush: bash; title: ; notranslate\" title=\"\">\r\nfreenas:~# tune2fs -L &quot;&quot; \/dev\/ada4\r\ntune2fs 1.42.6 (21-Sep-2012)\r\n<\/pre>\n<p>\u30b3\u30ec\u3067\u30e9\u30d9\u30eb\u304c\u6d88\u3048\u3001\u518d\u8d77\u52d5\u3057\u305f\u3089ZFS\u30d7\u30fc\u30eb\u306e\u30c7\u30d0\u30a4\u30b9\u540d\u3082\u76f4\u308a\u307e\u3057\u305f\u3002<\/p>\n<p>\u30bf\u30a4\u30c8\u30eb\u306b\u306f\u300cZFS\u306e\u30d7\u30fc\u30eb\u306e\u30c7\u30d0\u30a4\u30b9\u540d\u304c\u304a\u304b\u3057\u304f\u306a\u3063\u305f\u300d\u3063\u3066\u66f8\u3044\u3066\u307e\u3059\u3051\u3069\u3001\u72b6\u6cc1\u8a3c\u62e0\u7684\u306b\u300c\u81ea\u5206\u3067\u304a\u304b\u3057\u304f\u3057\u305f\u306e\u306b\u305d\u306e\u4e8b\u3092\u5fd8\u308c\u3066\u308b\u300d\u3060\u3051\u3063\u307d\u3044\u3067\u3059\u3059\u3044\u307e\u305b\u3093(\uff1b\u00b4\u0414\uff40)<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[32],"tags":[297,431,432,433,368],"class_list":["post-1832","post","type-post","status-publish","format-standard","hentry","category-tech","tag-freenas","tag-geom","tag-glabel","tag-nas4free","tag-zfs"],"_links":{"self":[{"href":"https:\/\/peta.okechan.net\/blog\/wp-json\/wp\/v2\/posts\/1832","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/peta.okechan.net\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/peta.okechan.net\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/peta.okechan.net\/blog\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/peta.okechan.net\/blog\/wp-json\/wp\/v2\/comments?post=1832"}],"version-history":[{"count":0,"href":"https:\/\/peta.okechan.net\/blog\/wp-json\/wp\/v2\/posts\/1832\/revisions"}],"wp:attachment":[{"href":"https:\/\/peta.okechan.net\/blog\/wp-json\/wp\/v2\/media?parent=1832"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/peta.okechan.net\/blog\/wp-json\/wp\/v2\/categories?post=1832"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/peta.okechan.net\/blog\/wp-json\/wp\/v2\/tags?post=1832"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}