{"id":315,"date":"2009-05-10T22:31:37","date_gmt":"2009-05-10T13:31:37","guid":{"rendered":"http:\/\/unos.biz\/blog\/archives\/315"},"modified":"2009-05-10T22:31:37","modified_gmt":"2009-05-10T13:31:37","slug":"zfs%e3%81%af%e3%82%84%e3%81%af%e3%82%8a%e7%b4%a0%e6%99%b4%e3%82%89%e3%81%97%e3%81%84%e3%81%8b%e3%82%82","status":"publish","type":"post","link":"http:\/\/unos.biz\/blog\/archives\/315","title":{"rendered":"zfs\u306f\u3084\u306f\u308a\u7d20\u6674\u3089\u3057\u3044\u304b\u3082"},"content":{"rendered":"<p>\u3053\u308c\u307e\u3067\u306e\u30dd\u30b9\u30c8\u306e\u7d9a\u304d\u3002\u5f15\u304d\u7d9a\u304d\u30c7\u30fc\u30bf\u3092\u5927\u91cf\u306b\u7a81\u3063\u8fbc\u3093\u3060\u308a\u3057\u3066\u30c6\u30b9\u30c8\u3057\u3066\u3044\u308b\u306e\u3060\u304c\u3001\u5927\u91cf\u30c7\u30fc\u30bf\u6295\u5165\u4e2d\u3001\u4e0b\u8a18\u306e\u3088\u3046\u306a\u30a8\u30e9\u30fc\u304c\u9023\u7d9a\u3057\u3066\u767a\u751f\u3057\u305f\u3002<\/p>\n<pre>-\u7565-\nMay 10 07:23:09 melongena       Error for Command: write(10)               Error Level: Retryable\nMay 10 07:23:09 melongena scsi: [ID 107833 kern.notice]         Requested Block: 52263759                  Error Block: 52263807\nMay 10 07:23:09 melongena scsi: [ID 107833 kern.notice]         Vendor: ATA                                Serial Number:\nMay 10 07:23:09 melongena scsi: [ID 107833 kern.notice]         Sense Key: Aborted_Command\nMay 10 07:23:09 melongena scsi: [ID 107833 kern.notice]         ASC: 0x8 (LUN communication failure), ASCQ: 0x0, FRU: 0x0\nMay 10 07:23:10 melongena scsi: [ID 107833 kern.warning] WARNING: \/pci@0,0\/pci8086,244e@1e\/pci1095,3124@0\/disk@0,0 (sd1):\nMay 10 07:23:10 melongena       Error for Command: write(10)               Error Level: Retryable\nMay 10 07:23:10 melongena scsi: [ID 107833 kern.notice]         Requested Block: 52271544                  Error Block: 52271752\nMay 10 07:23:10 melongena scsi: [ID 107833 kern.notice]         Vendor: ATA                                Serial Number:\nMay 10 07:23:10 melongena scsi: [ID 107833 kern.notice]         Sense Key: Aborted_Command\n-\u7565-<\/pre>\n<p>\u3053\u306e\u30a8\u30e9\u30fc\u3092\u8abf\u3079\u308b\u3068\u3001\u4e00\u822c\u7684\u306b\u306f\u30c7\u30a3\u30b9\u30af\u304c\u58ca\u308c\u308b\u524d\u5146\u3068\u3057\u3066\u73fe\u308c\u308b\u3089\u3057\u3044\u306e\u3060\u304c\u3001format\u3067\u30c7\u30a3\u30b9\u30af\u307e\u308b\u3054\u3068\u30b9\u30ad\u30e3\u30f3\u3057\u3066\u3082\u30a8\u30e9\u30fc\u306a\u3057\u3002<\/p>\n<pre>root@melongena:~# format\t\nSearching for disks...done\n\n\nAVAILABLE DISK SELECTIONS:\n       0. c3d0 <default  63 sec 255 hd 2 alt 19926 cyl>\n          \/pci@0,0\/pci-ide@1f,2\/ide@0\/cmdk@0,0\n       1. c5t0d0 <ata-wdc wd10eads-00l-1a01-931.51gb>\n          \/pci@0,0\/pci8086,244e@1e\/pci1095,3124@0\/disk@0,0\n       2. c5t1d0 <ata-wdc wd10eads-00l-1a01-931.51gb>\n          \/pci@0,0\/pci8086,244e@1e\/pci1095,3124@0\/disk@1,0\n       3. c5t2d0 <ata-wdc wd10eads-00l-1a01-931.51gb>\n          \/pci@0,0\/pci8086,244e@1e\/pci1095,3124@0\/disk@2,0\n       4. c5t3d0 <ata-wdc wd10eads-00l-1a01-931.51gb>\n          \/pci@0,0\/pci8086,244e@1e\/pci1095,3124@0\/disk@3,0\n       5. c6t0d0 <ata-wdc wd10eads-00l-1a01-931.51gb>\n          \/pci@0,0\/pci8086,244e@1e\/pci1095,3124@1\/disk@0,0\n       6. c6t1d0 <ata-wdc wd10eads-00l-1a01-931.51gb>\n          \/pci@0,0\/pci8086,244e@1e\/pci1095,3124@1\/disk@1,0\n       7. c6t2d0 <ata-wdc wd10eads-00l-1a01-931.51gb>\n          \/pci@0,0\/pci8086,244e@1e\/pci1095,3124@1\/disk@2,0\n       8. c6t3d0 <ata-wdc wd10eads-00l-1a01-931.51gb>\n          \/pci@0,0\/pci8086,244e@1e\/pci1095,3124@1\/disk@3,0\nSpecify disk (enter its number): 1\nselecting c5t0d0\n[disk formatted]\n\/dev\/dsk\/c5t0d0s0 is part of active ZFS pool tank. Please see zpool(1M).\n\n\nFORMAT MENU:\n        disk       - select a disk\n        type       - select (define) a disk type\n        partition  - select (define) a partition table\n        current    - describe the current disk\n        format     - format and analyze the disk\n        fdisk      - run the fdisk program\n        repair     - repair a defective sector\n        label      - write label to the disk\n        analyze    - surface analysis\n        defect     - defect list management\n        backup     - search for backup labels\n        verify     - read and display labels\n        inquiry    - show vendor, product and revision\n        volname    - set 8-character volume name\n        !<cmd>     - execute <cmd>, then return\n        quit\nformat&gt; analyze\n\n\nANALYZE MENU:\n        read     - read only test   (doesn't harm SunOS)\n        refresh  - read then write  (doesn't harm data)\n        test     - pattern testing  (doesn't harm data)\n        write    - write then read      (corrupts data)\n        compare  - write, read, compare (corrupts data)\n        purge    - write, read, write   (corrupts data)\n        verify   - write entire disk, then verify (corrupts data)\n        print    - display data buffer\n        setup    - set analysis parameters\n        config   - show analysis parameters\n        !<cmd>   - execute <cmd> , then return\n        quit\nanalyze&gt; read\nReady to analyze (won't harm SunOS). This takes a long time,\nbut is interruptable with CTRL-C. Continue? yes\n\n        pass 0\n   1953525042\n\n        pass 1\n   1953525042\n\nTotal of 0 defective blocks repaired.<\/pre>\n<p>\u3082\u3057\u304b\u3059\u308b\u3068\u3044\u304f\u3064\u304b\u524d\u306e\u30dd\u30b9\u30c8\u306b\u66f8\u3044\u305f\u3001si3124\u30c9\u30e9\u30a4\u30d0\u306b\u91cd\u8ca0\u8377\u3092\u304b\u3051\u308b\u3068\u5272\u308a\u8fbc\u307f\u3092\u843d\u3068\u3059\u3001\u3068\u3044\u3046\u554f\u984c\u304c\u9855\u5728\u5316\u3057\u305f\u3060\u3051\u304b\u3082\u3057\u308c\u306a\u3044\u304c\u3001zpool scrub\u3092\u304b\u3051\u3066\u3082\u7570\u5e38\u306f\u691c\u51fa\u3055\u308c\u306a\u304b\u3063\u305f\u306e\u3067\u3068\u308a\u3042\u3048\u305a\u653e\u7f6e\u3059\u308b\u3053\u3068\u306b\u3059\u308b\u3002<\/p>\n<p>\u4f59\u8ac7\u3060\u304c\u3001zfs\u306e\u4f55\u304c\u3044\u3044\u304b\u3063\u3066\u3001zfs\u60c5\u5831\u3092export\u305b\u305a\u306bOS\u305d\u306e\u3082\u306e\u3092\u30af\u30ea\u30fc\u30f3\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb\u3057\u3066\u3084\u3063\u305f\u3042\u3068\u3001zpool import\u4e00\u767a\u3067\u30a2\u30ec\u30a4\u69cb\u6210\u60c5\u5831\u3092\u3059\u3079\u3066\u5fa9\u65e7\u3067\u304d\u308b\u3053\u3068\u3002\u30d5\u30a1\u30a4\u30eb\u3082\u5931\u308f\u308c\u306a\u3044\u3057\u3001\u30a2\u30ec\u30a4\u306e\u8a2d\u5b9a\u60c5\u5831\u3092\u30e1\u30e2\u3059\u308b\u5fc5\u8981\u3082\u306a\u3044\u3002\u7e4b\u304c\u3063\u3066\u3044\u308b\u30c9\u30e9\u30a4\u30d6\u306e\u4f4d\u7f6e\u304c\u5909\u308f\u3063\u3066\u3082\u81ea\u52d5\u7684\u306b\u8a8d\u8b58\u3057\u3066\u304f\u308c\u308b\u3002\u3064\u307e\u308a\u79c1\u306e\u3088\u3046\u306a\u4eba\u9593\u306b\u306f\u5927\u5909\u5411\u3044\u3066\u3044\u308b\u30d5\u30a1\u30a4\u30eb\u30b7\u30b9\u30c6\u30e0\u3060\u3068\u3044\u3046\u3053\u3068\u3060\u3002\u7d20\u6674\u3089\u3057\u3044\u3002<\/p>\n<p>\u7d9a\u304f\u3002<\/p>\n","protected":false},"excerpt":{"rendered":"<p>\u3053\u308c\u307e\u3067\u306e\u30dd\u30b9\u30c8\u306e\u7d9a\u304d\u3002\u5f15\u304d\u7d9a\u304d\u30c7\u30fc\u30bf\u3092\u5927\u91cf\u306b\u7a81\u3063\u8fbc\u3093\u3060\u308a\u3057\u3066\u30c6\u30b9\u30c8\u3057\u3066\u3044\u308b\u306e\u3060\u304c\u3001\u5927\u91cf\u30c7\u30fc\u30bf\u6295\u5165\u4e2d\u3001\u4e0b\u8a18\u306e\u3088\u3046\u306a\u30a8\u30e9\u30fc\u304c\u9023\u7d9a\u3057\u3066\u767a\u751f\u3057\u305f\u3002 -\u7565- May 10 07:23:09 melongena Error for [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":[],"categories":[35,36],"tags":[],"_links":{"self":[{"href":"http:\/\/unos.biz\/blog\/wp-json\/wp\/v2\/posts\/315"}],"collection":[{"href":"http:\/\/unos.biz\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"http:\/\/unos.biz\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"http:\/\/unos.biz\/blog\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"http:\/\/unos.biz\/blog\/wp-json\/wp\/v2\/comments?post=315"}],"version-history":[{"count":0,"href":"http:\/\/unos.biz\/blog\/wp-json\/wp\/v2\/posts\/315\/revisions"}],"wp:attachment":[{"href":"http:\/\/unos.biz\/blog\/wp-json\/wp\/v2\/media?parent=315"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"http:\/\/unos.biz\/blog\/wp-json\/wp\/v2\/categories?post=315"},{"taxonomy":"post_tag","embeddable":true,"href":"http:\/\/unos.biz\/blog\/wp-json\/wp\/v2\/tags?post=315"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}