{"id":2235,"date":"2012-01-12T18:44:19","date_gmt":"2012-01-12T16:44:19","guid":{"rendered":"http:\/\/skeletor.org.ua\/?p=2235"},"modified":"2013-05-29T18:16:31","modified_gmt":"2013-05-29T15:16:31","slug":"fibre-channel","status":"publish","type":"post","link":"https:\/\/skeletor.org.ua\/?p=2235","title":{"rendered":"\u041d\u0430\u0441\u0442\u0440\u0430\u0438\u0432\u0430\u0435\u043c \u0440\u0430\u0431\u043e\u0442\u0443 Fibre Channel"},"content":{"rendered":"<p>\u0414\u0430\u043d\u043d\u0430\u044f \u0441\u0442\u0430\u0442\u044c\u044f \u044f\u0432\u043b\u044f\u0435\u0442\u0441\u044f \u0432 \u043d\u0435\u043a\u043e\u0442\u043e\u0440\u043e\u043c \u0441\u043c\u044b\u0441\u043b\u0435 \u0432\u043e\u043b\u044c\u043d\u044b\u043c \u043f\u0435\u0440\u0435\u0432\u043e\u0434\u043e\u043c \u0441\u0442\u0430\u0442\u044c\u0438\u00a0<a rel=\"nofollow\" href=\"http:\/\/blogs.oracle.com\/vreality\/entry\/storage_virtualization_with_comstar\">http:\/\/blogs.oracle.com\/vreality\/entry\/storage_virtualization_with_comstar<\/a>\u00a0+ \u043c\u043e\u0438 \u0434\u043e\u043f\u043e\u043b\u043d\u0435\u043d\u0438\u044f.<\/p>\n<p><strong><span style=\"color: #ff0000;\">1) \u0412\u0432\u0435\u0434\u0435\u043d\u0438\u0435.<\/span><\/strong><\/p>\n<p>\u0421\u0430\u043c \u043f\u043e \u0441\u0435\u0431\u0435 \u043f\u0440\u043e\u0442\u043e\u043a\u043e\u043b <strong>FC<\/strong> \u0438\u043d\u043a\u0430\u043f\u0441\u0443\u043b\u0438\u0440\u0443\u0435\u0442 \u043a\u043e\u043c\u0430\u043d\u0434\u044b <strong>iSCSI<\/strong>, \u043d\u043e \u0432 \u043a\u0430\u0447\u0435\u0441\u0442\u0432\u0435 \u0441\u0440\u0435\u0434\u044b \u043f\u0435\u0440\u0435\u0434\u0430\u0447\u0438 \u0434\u0430\u043d\u043d\u044b\u0445 \u0438\u0441\u043f\u043e\u043b\u044c\u0437\u0443\u0435\u0442 \u043e\u043f\u0442\u0438\u0447\u0435\u0441\u043a\u0438\u0435 \u043a\u0430\u043d\u0430\u043b\u044b. \u0412 \u0441\u0432\u044f\u0437\u0438 \u0441 \u044d\u0442\u0438\u043c, \u0443\u0432\u0435\u043b\u0438\u0447\u0438\u0432\u0430\u0435\u0442\u0441\u044f \u0441\u0442\u043e\u0438\u043c\u043e\u0441\u0442\u044c (\u043d\u0443\u0436\u043d\u044b \u0441\u043e\u043e\u0442\u0432\u0435\u0442\u0441\u0442\u0432\u0435\u043d\u043d\u043e \u043e\u043f\u0442\u0438\u0447\u0435\u0441\u043a\u0438\u0435 \u043a\u043e\u043c\u043c\u0443\u0442\u0430\u0442\u043e\u0440\u044b \u0438 \u043f\u0440\u043e\u0447\u0435\u0435 \u043e\u0431\u043e\u0440\u0443\u0434\u043e\u0432\u0430\u043d\u0438\u0435), \u043d\u043e \u0437\u0430\u0442\u043e \u0443\u0432\u0435\u043b\u0438\u0447\u0438\u0432\u0430\u0435\u0442\u0441\u044f \u0438 \u043d\u0430\u0434\u0451\u0436\u043d\u043e\u0441\u0442\u044c. \u042d\u0442\u043e\u0442 \u043f\u0440\u043e\u0442\u043e\u043a\u043e\u043b, \u0432 \u043e\u0442\u043b\u0438\u0447\u0438\u0438 \u043e\u0442 <strong>iSCSI<\/strong>, \u043b\u0438\u0448\u0451\u043d \u043f\u043e\u0442\u0435\u0440\u0438 \u043f\u0430\u043a\u0435\u0442\u043e\u0432 (\u0442\u0430\u043a \u043a\u0430\u043a \u043d\u0435 \u0438\u0441\u043f\u043e\u043b\u044c\u0437\u0443\u0435\u0442 <strong>TCP\/IP<\/strong>).<\/p>\n<p><!--more--><\/p>\n<p>\u0412 <strong>FC<\/strong> \u0441\u0443\u0449\u0435\u0441\u0442\u0432\u0443\u044e\u0442 2 \u0442\u0438\u043f\u0430 \u043f\u043e\u0440\u0442\u043e\u0432:<strong> initiator<\/strong> \u0438 <strong>target<\/strong>. <strong>Initiator<\/strong> &#8211; \u044d\u0442\u043e \u043f\u043e \u0441\u0443\u0442\u0438 \u043a\u043b\u0438\u0435\u043d\u0442, \u0430 <strong>target<\/strong> &#8211; \u043f\u043e\u0440\u0442 \u0447\u0435\u0440\u0435\u0437 \u043a\u043e\u0442\u043e\u0440\u044b\u0439 \u0434\u043e\u0441\u0442\u0443\u043f\u043d\u043e \u0445\u0440\u0430\u043d\u0438\u043b\u0438\u0449\u0435.<\/p>\n<p>\u0421\u043f\u0438\u0441\u043e\u043a \u043f\u043e\u0440\u0442\u043e\u0432 \u043c\u043e\u0436\u043d\u043e \u043f\u043e\u0441\u043c\u043e\u0442\u0440\u0435\u0442\u044c \u0447\u0435\u0440\u0435\u0437 \u043a\u043e\u043c\u0430\u043d\u0434\u0443:<\/p>\n<p><code># luxadm -e port<br \/>\n\/devices\/pci@0,0\/pci1002,5a1f@b\/pci1077,138@0\/fp@0,0:devctl CONNECTED<br \/>\n\/devices\/pci@0,0\/pci1002,5a1f@b\/pci1077,138@0,1\/fp@0,0:devctl NOT CONNECTED<\/code><\/p>\n<p>\u0415\u0441\u043b\u0438 \u043f\u043e\u0440\u0442 \u043f\u0440\u0438\u0441\u0443\u0442\u0441\u0442\u0432\u0443\u0435\u0442, \u043d\u043e \u043d\u0435 \u043f\u043e\u0434\u043a\u043b\u044e\u0447\u0451\u043d &#8211; \u043c\u044b \u043e\u0431 \u044d\u0442\u043e\u043c \u0443\u0437\u043d\u0430\u0435\u043c.<\/p>\n<p>\u041f\u043e \u0441\u0443\u0442\u0438 \u0434\u0430\u043d\u043d\u0430\u044f \u043a\u043e\u043c\u0430\u043d\u0434\u0430 \u043f\u043e\u043a\u0430\u0437\u044b\u0432\u0430\u0435\u0442 \u0442\u043e\u043b\u044c\u043a\u043e \u043f\u043e\u0440\u0442\u044b <strong>initiator&#8217;\u044b<\/strong>. \u0427\u0442\u043e \u0431\u044b \u043f\u043e\u0441\u043c\u043e\u0442\u0440\u0435\u0442\u044c \u0432\u0441\u0435 \u0434\u043e\u0441\u0442\u0443\u043f\u043d\u044b\u0435 \u043f\u043e\u0440\u0442\u044b, \u043c\u043e\u0436\u043d\u043e \u0438\u0441\u043f\u043e\u043b\u044c\u0437\u043e\u0432\u0430\u0442\u044c \u0442\u0430\u043a\u043e\u0439 \u043c\u0435\u0442\u043e\u0434:<\/p>\n<p><code># mdb -k<br \/>\nLoading modules: [ unix genunix ... ]<br \/>\n&gt; ::devbindings -q qlt<br \/>\n&gt; ::devbindings -q qlc<br \/>\nffffff0908ed7c58 pciex1077,2432, instance #0 (driver name: qlc)<br \/>\nffffff0908ed7988 pciex1077,2432, instance #1 (driver name: qlc)<\/code><\/p>\n<p>\u0417\u0434\u0435\u0441\u044c \u043c\u044b \u0432\u0438\u0434\u0438\u043c \u043f\u0440\u0438\u0441\u0443\u0442\u0441\u0442\u0432\u0438\u0435 2-\u0445 \u043f\u043e\u0440\u0442\u043e\u0432 \u0432 \u0440\u0435\u0436\u0438\u043c\u0435 <strong>initiator<\/strong> (\u0438\u0441\u043f\u043e\u043b\u044c\u0437\u0443\u0435\u0442\u0441\u044f \u0434\u0440\u0430\u0439\u0432\u0435\u0440 <strong>qlc<\/strong>).<\/p>\n<p><strong><span style=\"color: #ff0000;\">2) \u0423\u0441\u0442\u0430\u043d\u043e\u0432\u043a\u0430 \u043f\u043e\u0434\u0434\u0435\u0440\u0436\u043a\u0438 FC<\/span><\/strong><\/p>\n<p>\u0412 <strong>Solaris 11<\/strong>, \u0432 \u043e\u0442\u043b\u0438\u0447\u0438\u0438 \u043e\u0442 10 \u043e\u0447\u0435\u043d\u044c \u043c\u043d\u043e\u0433\u043e \u0441\u0435\u0440\u0432\u0438\u0441\u043e\u0432 (<strong>samba, iscsi, fc<\/strong>, &#8230;) \u0441\u043e\u0431\u0440\u0430\u043d\u044b \u0432 \u0435\u0434\u0438\u043d\u044b\u0439 \u043f\u0430\u043a\u0435\u0442 <strong>storage-server<\/strong>. \u041e\u0442\u0434\u0435\u043b\u044c\u043d\u043e \u043f\u043e\u0441\u0442\u0430\u0432\u0438\u0442\u044c \u043a\u0430\u043a\u043e\u0439-\u043d\u0438\u0431\u0443\u0434\u044c \u043a\u043e\u043c\u043f\u043e\u043d\u0435\u043d\u0442 \u043d\u0438\u043a\u0430\u043a \u043d\u0435\u043b\u044c\u0437\u044f. \u0421\u0442\u0430\u0432\u0438\u043c \u0435\u0433\u043e:<\/p>\n<p><code>#pkg install storage-server<\/code><\/p>\n<p>\u0414\u043b\u044f \u0443\u043f\u0440\u0430\u0432\u043b\u0435\u043d\u0438\u044f \u0448\u0430\u0440\u0430\u043c\u0438 \u0438\u0441\u043f\u043e\u043b\u044c\u0437\u0443\u0435\u0442\u0441\u044f \u0441\u0435\u0440\u0432\u0438\u0441\u00a0<strong>STMF<\/strong>, \u043a\u043e\u0442\u043e\u0440\u044b\u0439 \u043f\u043e \u0443\u043c\u043e\u043b\u0447\u0430\u043d\u0438\u044e \u043e\u0442\u043a\u043b\u044e\u0447\u0451\u043d.<\/p>\n<p><code># svcs stmf<br \/>\ndisabled 15:58:17 svc:\/system\/stmf:default<\/code><\/p>\n<p>\u0412\u043a\u043b\u044e\u0447\u0430\u0435\u043c<\/p>\n<p><code># svcadm enable stmf<\/code><\/p>\n<p>\u041f\u0440\u043e\u0432\u0435\u0440\u044f\u0435\u043c<\/p>\n<p><code># svcs stmf<br \/>\nonline 15:59:53 svc:\/system\/stmf:default <\/code><\/p>\n<p><strong><span style=\"color: #ff0000;\">3) \u0421\u043e\u0437\u0434\u0430\u043d\u0438\u0435 target&#8217;a.<\/span><\/strong><\/p>\n<p>\u0421\u043e\u0437\u0434\u0430\u0451\u043c \u043f\u0443\u043b, \u043d\u0430 \u043a\u043e\u0442\u043e\u0440\u043e\u043c \u0431\u0443\u0434\u0435\u043c \u0441\u043e\u0437\u0434\u0430\u0432\u0430\u0442\u044c \u0424\u0421, \u043a\u043e\u0442\u043e\u0440\u0430\u044f \u0438 \u0431\u0443\u0434\u0435\u0442 \u0432\u044b\u0441\u0442\u0443\u043f\u0430\u0442\u044c \u0432 \u043f\u043e\u0441\u043b\u0435\u0434\u0441\u0442\u0432\u0438\u0438 <strong>LUN&#8217;\u043e\u043c<\/strong> (\u043b\u043e\u0433\u0438\u0447\u0435\u0441\u043a\u043e\u0439 \u0435\u0434\u0438\u043d\u0438\u0446\u0435\u0439 \u0434\u043b\u044f \u0445\u0440\u0430\u043d\u0435\u043d\u0438\u044f \u0434\u0430\u043d\u043d\u044b\u0445). \u0425\u043e\u0447\u0443 \u043e\u0431\u0440\u0430\u0442\u0438\u0442\u044c \u0432\u043d\u0438\u043c\u0430\u043d\u0438\u0435, \u0447\u0442\u043e <strong>zfs<\/strong> \u043d\u0443\u0436\u043d\u043e \u0441\u043e\u0437\u0434\u0430\u0432\u0430\u0442\u044c \u043e\u0431\u044f\u0437\u0430\u0442\u0435\u043b\u044c\u043d\u043e \u0441 \u0443\u043a\u0430\u0437\u0430\u043d\u0438\u0435\u043c \u043e\u0431\u044a\u0451\u043c\u0430, \u0438\u043d\u0430\u0447\u0435 <strong>LUN<\/strong> \u043d\u0435 \u0441\u043e\u0437\u0434\u0430\u0441\u0442\u0441\u044f:<\/p>\n<p><code>#zpool create db mirror\u00a0<strong>c0t0d0 c1t0d0<\/strong><br \/>\n#zfs create -V 100G db\/sharelun<br \/>\n<\/code><br \/>\n\u0422\u0435\u043f\u0435\u0440\u044c \u0441\u043e\u0437\u0434\u0430\u0434\u0438\u043c \u043d\u0435\u043f\u043e\u0441\u0440\u0435\u0434\u0441\u0442\u0432\u0435\u043d\u043d\u043e <strong>LUN<\/strong>:<\/p>\n<p><code># sbdadm create-lu \/dev\/zvol\/rdsk\/tank\/comstar-vol1<br \/>\nCreated the following logical unit :<br \/>\nGUID DATA SIZE SOURCE<br \/>\n--------------------------- ------------------- ----------------<br \/>\n600144f07bb2ca0000004a4c5eda0001 53687025664 \/dev\/zvol\/rdsk\/db\/sharelun<\/code><\/p>\n<p>\u0438 \u043f\u0440\u043e\u0432\u0435\u0440\u0438\u043c \u0441\u043e\u0437\u0434\u0430\u043d\u0438\u0435<\/p>\n<p><code># sbdadm list-lu<br \/>\nFound 1 LU(s)<br \/>\nGUID DATA SIZE SOURCE<br \/>\n-------------------------------- ------------------- ----------------<br \/>\n600144f07bb2ca0000004a4c5eda0001 53687025664 \/dev\/zvol\/rdsk\/db\/sharelun<\/code><\/p>\n<p>\u0421\u043b\u0435\u0434\u0443\u044e\u0449\u0438\u043c \u044d\u0442\u0430\u043f\u043e\u043c \u0441\u0434\u0435\u043b\u0430\u0435\u043c \u043d\u0430\u0448 <strong>LUN<\/strong> \u0432\u0438\u0434\u0438\u043c\u044b\u043c \u0434\u043b\u044f \u0432\u0441\u0435\u0445 <strong>initiator&#8217;\u043e<\/strong>\u0432 \u0432 \u0441\u0435\u0442\u0438:<\/p>\n<p><code># stmfadm add-view 600144f07bb2ca0000004a4c5eda0001<\/code><\/p>\n<p><strong><span style=\"color: #ff0000;\">4) \u0418\u043d\u0444\u043e\u0440\u043c\u0430\u0446\u0438\u044f \u043e \u043f\u043e\u0440\u0442\u0430\u0445<\/span><\/strong><\/p>\n<p>\u041f\u043e\u0441\u043c\u043e\u0442\u0440\u0438\u043c \u0438\u043d\u0444\u043e\u0440\u043c\u0430\u0446\u0438\u044e \u043e \u043f\u043e\u0440\u0442\u0430\u0445:<\/p>\n<pre># fcinfo hba-port\r\nHBA Port WWN: 21000024ff2ec0bc\r\n        Port Mode: Initiator\r\n        Port ID: 10100\r\n        OS Device Name: \/dev\/cfg\/c12\r\n        Manufacturer: QLogic Corp.\r\n        Model: QLE2462\r\n        Firmware Version: 05.04.03\r\n        FCode\/BIOS Version:  BIOS: 3.00; fcode: 3.15; EFI: 2.21;\r\n        Serial Number: RFD1112M68451\r\n        Driver Name: qlc\r\n        Driver Version: 20110321-3.05\r\n        Type: N-port\r\n        State: online\r\n        Supported Speeds: 1Gb 2Gb 4Gb\r\n        Current Speed: 4Gb\r\n        Node WWN: 20000024ff2ec0bc\r\n        Max NPIV Ports: 127\r\n        NPIV port list:\r\nHBA Port WWN: 21000024ff2ec0bd\r\n        Port Mode: Initiator\r\n        Port ID: 0\r\n        OS Device Name: \/dev\/cfg\/c13\r\n        Manufacturer: QLogic Corp.\r\n        Model: QLE2462\r\n        Firmware Version: 05.04.03\r\n        FCode\/BIOS Version:  BIOS: 3.00; fcode: 3.15; EFI: 2.21;\r\n        Serial Number: RFD1112M68451\r\n        Driver Name: qlc\r\n        Driver Version: 20110321-3.05\r\n        Type: unknown\r\n        State: offline\r\n        Supported Speeds: 1Gb 2Gb 4Gb\r\n        Current Speed: not established\r\n        Node WWN: 20000024ff2ec0bd\r\n        Max NPIV Ports: 127\r\n        NPIV port list:<\/pre>\n<p>\u0414\u0435\u0442\u0430\u043b\u044c\u043d\u0430\u044f \u0438\u043d\u0444\u043e\u0440\u043c\u0430\u0446\u0438\u044f \u043e \u043f\u043e\u0440\u0442\u0435:<\/p>\n<pre># fcinfo remote-port -sl -p 21000024ff2ec0bc\r\nRemote Port WWN: 21000024ff2ec110\r\n        Active FC4 Types: SCSI\r\n        SCSI Target: yes\r\n        Port Symbolic Name: qlt0,0\r\n        Node WWN: 20000024ff2ec110\r\n        Link Error Statistics:\r\n                Link Failure Count: 0\r\n                Loss of Sync Count: 0\r\n                Loss of Signal Count: 0\r\n                Primitive Seq Protocol Error Count: 0\r\n                Invalid Tx Word Count: 0\r\n                Invalid CRC Count: 0\r\n        LUN: 0\r\n          Vendor: SUN\r\n          Product: COMSTAR\r\n          OS Device Name: \/dev\/rdsk\/c0t600144F00200000000004EF354850001d0s2\r\nRemote Port WWN: 21000024ff2ec192\r\n        Active FC4 Types: SCSI,IP\r\n        SCSI Target: no\r\n        Port Symbolic Name: qlc(0,0)\r\n        Node WWN: 20000024ff2ec192\r\n        Link Error Statistics:\r\n                Link Failure Count: 0\r\n                Loss of Sync Count: 0\r\n                Loss of Signal Count: 0\r\n                Primitive Seq Protocol Error Count: 0\r\n                Invalid Tx Word Count: 0\r\n                Invalid CRC Count: 0\r\nRemote Port WWN: 21000024ff2ec193\r\n        Active FC4 Types: SCSI,IP\r\n        SCSI Target: no\r\n        Port Symbolic Name: qlc(1,0)\r\n        Node WWN: 20000024ff2ec193\r\n        Link Error Statistics:\r\n                Link Failure Count: 0\r\n                Loss of Sync Count: 0\r\n                Loss of Signal Count: 0\r\n                Primitive Seq Protocol Error Count: 0\r\n                Invalid Tx Word Count: 0\r\n                Invalid CRC Count: 0\r\nRemote Port WWN: 21000024ff2ec03a\r\n        Active FC4 Types: SCSI\r\n        SCSI Target: yes\r\n        Port Symbolic Name: qlt0,0\r\n        Node WWN: 20000024ff2ec03a\r\n        Link Error Statistics:\r\n                Link Failure Count: 0\r\n                Loss of Sync Count: 0\r\n                Loss of Signal Count: 0\r\n                Primitive Seq Protocol Error Count: 0\r\n                Invalid Tx Word Count: 0\r\n                Invalid CRC Count: 0\r\nRemote Port WWN: 21000024ff2ec03a\r\n        Active FC4 Types: SCSI\r\n        SCSI Target: yes\r\n        Port Symbolic Name: qlt0,0\r\n        Node WWN: 20000024ff2ec03a\r\n        Link Error Statistics:\r\n                Link Failure Count: 0\r\n                Loss of Sync Count: 0\r\n                Loss of Signal Count: 0\r\n                Primitive Seq Protocol Error Count: 0\r\n                Invalid Tx Word Count: 0\r\n                Invalid CRC Count: 0\r\n        LUN: 0\r\n          Vendor: SUN\r\n          Product: COMSTAR\r\n          OS Device Name: \/dev\/rdsk\/c0t600144F0D0BEC80000004EF4BC960001d0s2\r\nRemote Port WWN: 21000024ff2ec13c\r\n        Active FC4 Types: SCSI\r\n        SCSI Target: yes\r\n        Port Symbolic Name: qlt0,0\r\n        Node WWN: 20000024ff2ec13c\r\n        Link Error Statistics:\r\n                Link Failure Count: 0\r\n                Loss of Sync Count: 0\r\n                Loss of Signal Count: 0\r\n                Primitive Seq Protocol Error Count: 0\r\n                Invalid Tx Word Count: 0\r\n                Invalid CRC Count: 0\r\n        LUN: 0\r\n          Vendor: SUN\r\n          Product: COMSTAR\r\n          OS Device Name: \/dev\/rdsk\/c0t600144F00200000000004EF2A7E20001d0s2\r\nRemote Port WWN: 21000024ff2ebf48\r\n        Active FC4 Types: SCSI\r\n        SCSI Target: yes\r\n        Port Symbolic Name: qlt0,0\r\n        Node WWN: 20000024ff2ebf48\r\n        Link Error Statistics:\r\n                Link Failure Count: 0\r\n                Loss of Sync Count: 0\r\n                Loss of Signal Count: 0\r\n                Primitive Seq Protocol Error Count: 0\r\n                Invalid Tx Word Count: 0\r\n                Invalid CRC Count: 0\r\n        LUN: 0\r\n          Vendor: SUN\r\n          Product: COMSTAR\r\n          OS Device Name: \/dev\/rdsk\/c0t600144F00200000000004EF48B630001d0s2<\/pre>\n<p>\u0410 \u0442\u0430\u043a \u043c\u043e\u0436\u043d\u043e \u043f\u043e\u0441\u043c\u043e\u0442\u0440\u0435\u0442\u044c \u0438\u043d\u0444\u043e\u0440\u043c\u0430\u0446\u0438\u044e \u043e\u0431 \u0443\u0441\u0442\u0440\u043e\u0439\u0441\u0442\u0432\u0430\u0445 (\u043f\u043e\u0440\u0442\u044b <strong>c12, c13 &#8211; FC<\/strong>-\u043f\u043e\u0440\u0442\u044b)<\/p>\n<pre># cfgadm -al | grep connected\r\nc3                             scsi-sas     connected    configured   unknown\r\nc3::dsk\/c3t31ACB1CC76F5DE6Ad0  disk         connected    configured   unknown\r\nc3::dsk\/c3t35A1051D7AE20B19d0  disk         connected    configured   unknown\r\nc6                             scsi-sas     connected    unconfigured unknown\r\nc7                             scsi-sas     connected    unconfigured unknown\r\nc8                             scsi-sas     connected    unconfigured unknown\r\nc9                             scsi-sas     connected    unconfigured unknown\r\nc10                            scsi-sas     connected    unconfigured unknown\r\nc11                            scsi-sas     connected    unconfigured unknown\r\nc12                            fc-fabric    connected    configured   unknown\r\nc12::21000024ff2ebf48          disk         connected    configured   unknown\r\nc12::21000024ff2ec03a          disk         connected    configured   unknown\r\nc12::21000024ff2ec110          disk         connected    configured   unknown\r\nc12::21000024ff2ec13c          disk         connected    configured   unknown\r\nc12::21000024ff2ec192          unknown      connected    unconfigured unknown\r\nc12::21000024ff2ec193          unknown      connected    unconfigured unknown\r\nc13                            fc           connected    unconfigured unknown\r\nusb4\/5                         usb-storage  connected    configured   ok\r\nusb7\/6                         usb-storage  connected    configured   ok\r\nusb8\/1                         usb-device   connected    configured   ok<\/pre>\n<p><strong><span style=\"color: #ff0000;\">5) \u0418\u0437\u043c\u0435\u043d\u0435\u043d\u0438\u044f \u0440\u0435\u0436\u0438\u043c\u0430 \u0440\u0430\u0431\u043e\u0442\u044b \u043f\u043e\u0440\u0442\u0430.<\/span><\/strong><\/p>\n<p>\u0427\u0442\u043e \u0431\u044b \u043f\u0435\u0440\u0435\u0432\u0435\u0441\u0442\u0438 \u043f\u043e\u0440\u0442 \u0432 \u0440\u0435\u0436\u0438\u043c, \u043d\u0430\u043f\u0440\u0438\u043c\u0435\u0440, <strong>target&#8217;a<\/strong> \u0434\u0435\u043b\u0430\u0435\u043c \u0441\u043b\u0435\u0434\u0443\u044e\u0449\u0435\u0435:<\/p>\n<p><code># update_drv -a -i '\/pci@0,0\/pci1002,5a1f@b\/pci1077,138@0,1\/fp@0,0' qlt<br \/>\ndevfsadm: driver failed to attach: qlt<br \/>\nWarning: Driver (qlt) successfully added to system but failed to attach.<\/code><\/p>\n<p>\u0433\u0434\u0435 \u043f\u0443\u0442\u044c \u0431\u0435\u0440\u0451\u0442\u0441\u044f \u0438\u0437 \u0432\u044b\u0432\u043e\u0434\u0430 <strong>luxadm<\/strong> \u0438 <strong>\/pci@0,0\/pci1002,5a1f@b\/pci1077,138@0,1\/fp@0,0<\/strong> &#8211; \u043f\u0443\u0442\u044c \u043e\u0442\u043d\u043e\u0441\u0438\u0442\u0435\u043b\u044c\u043d\u043e \u043a\u0430\u0442\u0430\u043b\u043e\u0433\u0430 <strong>\/devices<\/strong>. \u041e\u0448\u0438\u0431\u043a\u0430 \u0437\u043d\u0430\u0447\u0438\u0442 \u043b\u0438\u0448\u044c \u0442\u043e, \u0447\u0442\u043e \u0432 \u0434\u0430\u043d\u043d\u044b\u0439 \u043c\u043e\u043c\u0435\u043d\u0442 \u043e\u043d\u043e \u043d\u0435 \u043c\u043e\u0436\u0435\u0442 \u0432\u044b\u0433\u0440\u0443\u0437\u0438\u0442\u044c \u0434\u0440\u0430\u0439\u0432\u0435\u0440 &#8211; \u043e\u043d \u0431\u0443\u0434\u0435\u0442 \u0432\u044b\u0433\u0440\u0443\u0436\u0435\u043d \u043f\u0440\u0438 \u0440\u0435\u0431\u0443\u0442\u0435.<\/p>\n<p>\u041f\u043e\u0441\u043b\u0435 \u0438\u0437\u043c\u0435\u043d\u0435\u043d\u0438\u044f \u0432\u044b\u043f\u043e\u043b\u043d\u0438\u043c<\/p>\n<p><code>#init 6<\/code><\/p>\n<p>\u0414\u0430\u043b\u0435\u0435, \u0437\u0430\u0445\u043e\u0434\u0438\u043c \u0432 <strong>mdb<\/strong> \u0438 \u0441\u043c\u043e\u0442\u0440\u0438\u043c:<\/p>\n<p><code>root@sr602:\/home\/skeletor# mdb -k<br \/>\nLoading modules: [ unix genunix specfs dtrace mac cpu.generic uppc pcplusmp scsi_vhci zfs mpt_sas sd ip hook neti arp usba sockfs qlc fctl kssl stmf stmf_sbd md lofs random idm fcp cpc crypto nfs ufs logindmux ptm sppp ]<br \/>\n&gt; ::devbindings -q ql<br \/>\nmdb: failed to get major number for ql<br \/>\n&gt; ::devbindings -q qlc<br \/>\nffffff114ccce5d0 pciex1077,2432, instance #0 (driver name: qlc)<br \/>\n&gt; ::devbindings -q qlt<br \/>\nffffff114ccce300 \/pci@0,0\/pci1002,5a1f@b\/pci1077,138@0,1, instance #0 (driver name: qlt)<br \/>\n&gt; $q<\/code><\/p>\n<p>\u041a\u0430\u043a \u0432\u0438\u0434\u0438\u043c \u0438\u0437\u043c\u0435\u043d\u0435\u043d\u0438\u044f \u043f\u0440\u043e\u0448\u043b\u0438. \u0422\u0430\u043a \u0436\u0435 \u043c\u043e\u0436\u043d\u043e \u043f\u043e\u0441\u043c\u043e\u0442\u0440\u0435\u0442\u044c \u0438\u043d\u0444\u0443 \u0438 \u0447\u0435\u0440\u0435\u0437 <strong>fcinfo<\/strong>:<\/p>\n<pre># fcinfo hba-port\r\n\r\n        HBA Port WWN: 210000e08b91facd\r\n        Port Mode: Target\r\n        Port ID: 2\r\n        OS Device Name: \/dev\/cfg\/c13\r\n        Manufacturer: QLogic Corp.\r\n        Model: 375-3294-01\r\n        Firmware Version: 04.04.01\r\n        FCode\/BIOS Version: BIOS: 1.4; fcode: 1.11; EFI: 1.0;\r\n        Serial Number: 0402R00-0634175788\r\n        Driver Name: qlt\r\n        Driver Version: 20080617-2.30\r\n        Type: L-port\r\n        State: online\r\n        Supported Speeds: 1Gb 2Gb 4Gb\r\n        Current Speed: 4Gb\r\n        Node WWN: 200000e08b91facd\r\n        Max NPIV Ports: 63\r\n        NPIV port list:<\/pre>\n<p>\u0422\u0430\u043a \u0436\u0435 \u043c\u043e\u0436\u043d\u043e \u043f\u043e\u0441\u043c\u043e\u0442\u0440\u0435\u0442\u044c \u0441\u043f\u0438\u0441\u043e\u043a <strong>target&#8217;\u043e\u0432<\/strong>:<\/p>\n<p><code># stmfadm list-target -v<br \/>\nTarget: wwn.21000024FF2EC0BD<br \/>\nOperational Status: Online<br \/>\nProvider Name : qlt<br \/>\nAlias : qlt0,0<br \/>\nProtocol : Fibre Channel<br \/>\nSessions : 3<br \/>\nInitiator: wwn.21000024FF2EC0BC<br \/>\nAlias: server.com<br \/>\nLogged in since: Wed Jan 25 12:45:46 2012<br \/>\nInitiator: wwn.21000024FF2EC192<br \/>\nAlias: :qlc0<br \/>\nLogged in since: Wed Jan 25 12:45:46 2012<br \/>\nInitiator: wwn.21000024FF2EC193<br \/>\nAlias: :qlc1<br \/>\nLogged in since: Wed Jan 25 12:45:46 2012<br \/>\n<\/code><br \/>\n<strong><span style=\"color: #ff0000;\">6) \u041d\u0430\u0441\u0442\u0440\u043e\u0439\u043a\u0430 Initiator&#8217;a.<\/span><\/strong><\/p>\n<p>\u041f\u043e\u0441\u043b\u0435 \u0442\u043e\u0433\u043e, \u043a\u0430\u043a \u0432\u044b \u043d\u0430\u0441\u0442\u0440\u043e\u0438\u043b\u0438 <strong>target&#8217;\u044b<\/strong>, \u043f\u0435\u0440\u0435\u0445\u043e\u0434\u0438\u043c \u043a <strong>initiator&#8217;\u0430\u043c<\/strong>.<br \/>\n\u0427\u0442\u043e \u0431\u044b \u0437\u0430\u043d\u043e\u0432\u043e \u043f\u0435\u0440\u0435\u0441\u043a\u0430\u043d\u0438\u0440\u043e\u0432\u0430\u0442\u044c \u0432\u0441\u0435 \u0434\u043e\u0441\u0442\u0443\u043f\u043d\u044b\u0435 <strong>target&#8217;\u044b<\/strong>, \u0432\u044b\u043f\u043e\u043b\u043d\u0438\u043c \u043a\u043e\u043c\u0430\u043d\u0434\u0443:<\/p>\n<p><code>luxadm -e forcelip \/dev\/cfg\/c12<\/code><\/p>\n<p>\u0438 \u0442\u0435\u043f\u0435\u0440\u044c \u043d\u043e\u0432\u044b\u0435 \u0434\u0438\u0441\u043a\u0438 \u0441\u0442\u0430\u043d\u0443\u0442 \u0434\u043e\u0441\u0442\u0443\u043f\u043d\u044b\u043c\u0438. \u0427\u0442\u043e \u043f\u043e\u0441\u043c\u043e\u0442\u0440\u0435\u0442\u044c \u0438\u0437\u043c\u0435\u043d\u0435\u043d\u0438\u044f, \u0437\u0430\u043f\u0443\u0441\u0442\u0438\u043c \u043a\u043e\u043c\u0430\u043d\u0434\u0443 <strong>format<\/strong>:<\/p>\n<p><code># format<br \/>\nSearching for disks...<br \/>\nAVAILABLE DISK SELECTIONS:<br \/>\n0. c1t0d0 &lt;SUN72G cyl 14087 alt 2 hd 24 sec 424&gt;<br \/>\n\/pci@7c0\/pci@0\/pci@1\/pci@0,2\/LSILogic,sas@2\/sd@0,0<br \/>\n1. c1t2d0 &lt;FUJITSU-MAV2073RCSUN72G-0301-68.37GB&gt;<br \/>\n\/pci@7c0\/pci@0\/pci@1\/pci@0,2\/LSILogic,sas@2\/sd@2,0<br \/>\n2. c1t3d0 &lt;FUJITSU-MAV2073RCSUN72G-0301-68.37GB&gt;<br \/>\n\/pci@7c0\/pci@0\/pci@1\/pci@0,2\/LSILogic,sas@2\/sd@3,0<br \/>\n3. c2t210000E08B91FACDd0 <span style=\"color: #ff0000;\">&lt;SUN-COMSTAR-1.0\u00a0cyl 65533 alt 2 hd 16 sec 100&gt;<\/span><br \/>\n\/pci@7c0\/pci@0\/pci@9\/SUNW,qlc@0\/fp@0,0\/ssd@w210000e08b91facd,0<br \/>\nSpecify disk (enter its number):<\/code><\/p>\n<p>\u041a\u0430\u043a \u043c\u043e\u0436\u043d\u043e \u0437\u0430\u043c\u0435\u0442\u0438\u0442\u044c, \u0443 \u043d\u0430\u0441 \u043f\u043e\u044f\u0432\u0438\u043b\u0441\u044f \u043d\u043e\u0432\u044b\u0439 \u0434\u0438\u0441\u043a <strong>SUN-COMSTAR<\/strong>. \u0414\u0430\u043b\u0435\u0435 \u0441 \u043d\u0438\u043c \u043c\u043e\u0436\u043d\u043e \u0440\u0430\u0431\u043e\u0442\u0430\u0442\u044c \u043a\u0430\u043a \u0441 \u043e\u0431\u044b\u0447\u043d\u044b\u043c, \u0442\u043e \u0435\u0441\u0442\u044c \u0441\u043e\u0437\u0434\u0430\u0432\u0430\u0442\u044c \u043f\u0443\u043b, \u0424\u0421, &#8230;<\/p>\n<p><em><strong><span style=\"color: #ff6600;\">\u041f\u0440\u0438\u043c\u0435\u0447\u0430\u043d\u0438\u0435.<\/span><\/strong><\/em><\/p>\n<p>\u041f\u043e \u043d\u0435 \u0432\u044b\u044f\u0441\u043d\u0435\u043d\u043d\u044b\u043c \u043f\u0440\u0438\u0447\u0438\u043d\u0430\u043c \u0432\u043e \u0432\u0440\u0435\u043c\u044f \u0437\u0430\u0433\u0440\u0443\u0437\u043a\u0438 \u041e\u0421 <strong>FC<\/strong>-\u043f\u043e\u0440\u0442 \u0434\u043e\u043b\u0433\u043e \u043f\u043e\u0434\u043d\u0438\u043c\u0430\u043b\u0441\u044f, \u0438 \u0432 \u0438\u0442\u043e\u0433\u0435 \u043f\u0443\u043b \u0431\u044b\u043b \u043d\u0435\u0434\u043e\u0441\u0442\u0443\u043f\u0435\u043d \u0438 \u0438\u0437-\u0437\u0430 \u044d\u0442\u043e\u0433\u043e \u041e\u0421 \u0433\u0440\u0443\u0437\u0438\u043b\u0430\u0441\u044c \u0434\u043e\u0441\u0442\u0430\u0442\u043e\u0447\u043d\u043e \u0434\u043e\u043b\u0433\u043e, \u043d\u043e \u043f\u0443\u043b \u0432\u0441\u0451 \u0440\u0430\u0432\u043d\u043e \u043e\u0441\u0442\u0430\u0432\u0430\u043b\u0441\u044f \u043d\u0435\u0434\u043e\u0441\u0442\u0443\u043f\u043d\u044b\u043c. \u0412 \u0438\u0442\u043e\u0433\u0435 \u043f\u0440\u0438\u0448\u043b\u043e\u0441\u044c \u043e\u0442\u043a\u0430\u0437\u0430\u0442\u044c\u0441\u044f \u043e\u0442 <strong>FC<\/strong>.<\/p>\n<p><strong><span style=\"color: #ff0000;\">7) Multipathing<\/span><\/strong><\/p>\n<p>\u041f\u0430\u0440\u0443 \u0441\u043b\u043e\u0432 \u0445\u043e\u0447\u0435\u0442\u0441\u044f \u0441\u043a\u0430\u0437\u0430\u0442\u044c \u043e <strong>multipathing<\/strong>: \u044d\u0442\u043e \u043c\u0435\u0445\u0430\u043d\u0438\u0437\u043c, \u043a\u043e\u0442\u043e\u0440\u044b\u0439 \u043f\u0440\u0435\u0434\u043e\u0441\u0442\u0430\u0432\u043b\u044f\u0435\u0442 \u0441\u0438\u0441\u0442\u0435\u043c\u0435 \u043d\u0435\u0441\u043a\u043e\u043b\u044c\u043a\u043e \u043f\u0443\u0442\u0435\u0439 \u0434\u043e \u0443\u0441\u0442\u0440\u043e\u0439\u0441\u0442\u0432\u0430 \u0441 \u043f\u0440\u0438\u043c\u0435\u043d\u0435\u043d\u0438\u0435\u043c \u0442\u0435\u0445\u043d\u043e\u043b\u043e\u0433\u0438\u0438 \u043e\u0442\u043a\u0430\u0437\u043e\u0443\u0441\u0442\u043e\u0439\u0447\u0438\u0432\u043e\u0441\u0442\u0438 \u0438 \u0431\u0430\u043b\u0430\u043d\u0441\u0438\u0440\u043e\u0432\u043a\u0438 . \u0423\u0441\u0442\u0440\u043e\u0439\u0441\u0442\u0432\u043e\u043c \u043c\u043e\u0436\u0435\u0442 \u0431\u044b\u0442\u044c \u043a\u0430\u043a \u0445\u0440\u0430\u043d\u0438\u043b\u0438\u0449\u0435, \u0442\u0430\u043a \u0438 \u0441\u0435\u0442\u0435\u0432\u043e\u0435 \u0443\u0441\u0442\u0440\u043e\u0439\u0441\u0442\u0432\u043e (\u043d\u0430\u043f\u0440\u0438\u043c\u0435\u0440, \u0443\u0434\u0430\u043b\u0451\u043d\u043d\u044b\u0439 \u0441\u0435\u0440\u0432\u0435\u0440).<\/p>\n<p>\u041f\u0440\u0438 \u043d\u0430\u0441\u0442\u0440\u043e\u0439\u043a\u0435 \u0440\u0430\u0437\u043d\u043e\u0433\u043e \u0440\u043e\u0434\u0430 <strong>FC\/iSCSI<\/strong> \u043e\u0447\u0435\u043d\u044c \u0436\u0435\u043b\u0430\u0442\u0435\u043b\u044c\u043d\u043e \u043d\u0430\u0441\u0442\u0440\u043e\u0438\u0442\u044c \u0438 <strong>multipathing<\/strong>.<\/p>\n<p>\u041e\u0447\u0435\u043d\u044c \u043d\u0435\u043f\u043b\u043e\u0445\u043e\u0439 <strong>tutorial<\/strong> \u043f\u043e <strong>multipathing<\/strong> \u043e\u043f\u0438\u0441\u0430\u043d <a title=\"\u0437\u0434\u0435\u0441\u044c\" rel=\"nofollow\" href=\"http:\/\/www.unixpin.com\/wordpress\/2009\/09\/21\/solaris-multipating-mpxio-stms\/\" target=\"_blank\">\u0437\u0434\u0435\u0441\u044c<\/a><\/p>\n","protected":false},"excerpt":{"rendered":"<p>\u0414\u0430\u043d\u043d\u0430\u044f \u0441\u0442\u0430\u0442\u044c\u044f \u044f\u0432\u043b\u044f\u0435\u0442\u0441\u044f \u0432 \u043d\u0435\u043a\u043e\u0442\u043e\u0440\u043e\u043c \u0441\u043c\u044b\u0441\u043b\u0435 \u0432\u043e\u043b\u044c\u043d\u044b\u043c \u043f\u0435\u0440\u0435\u0432\u043e\u0434\u043e\u043c \u0441\u0442\u0430\u0442\u044c\u0438\u00a0http:\/\/blogs.oracle.com\/vreality\/entry\/storage_virtualization_with_comstar\u00a0+ \u043c\u043e\u0438 \u0434\u043e\u043f\u043e\u043b\u043d\u0435\u043d\u0438\u044f. 1) \u0412\u0432\u0435\u0434\u0435\u043d\u0438\u0435. \u0421\u0430\u043c \u043f\u043e \u0441\u0435\u0431\u0435 \u043f\u0440\u043e\u0442\u043e\u043a\u043e\u043b FC \u0438\u043d\u043a\u0430\u043f\u0441\u0443\u043b\u0438\u0440\u0443\u0435\u0442 \u043a\u043e\u043c\u0430\u043d\u0434\u044b iSCSI, \u043d\u043e \u0432 \u043a\u0430\u0447\u0435\u0441\u0442\u0432\u0435 \u0441\u0440\u0435\u0434\u044b \u043f\u0435\u0440\u0435\u0434\u0430\u0447\u0438 \u0434\u0430\u043d\u043d\u044b\u0445 \u0438\u0441\u043f\u043e\u043b\u044c\u0437\u0443\u0435\u0442 \u043e\u043f\u0442\u0438\u0447\u0435\u0441\u043a\u0438\u0435 \u043a\u0430\u043d\u0430\u043b\u044b. \u0412 \u0441\u0432\u044f\u0437\u0438 \u0441 \u044d\u0442\u0438\u043c, \u0443\u0432\u0435\u043b\u0438\u0447\u0438\u0432\u0430\u0435\u0442\u0441\u044f \u0441\u0442\u043e\u0438\u043c\u043e\u0441\u0442\u044c (\u043d\u0443\u0436\u043d\u044b \u0441\u043e\u043e\u0442\u0432\u0435\u0442\u0441\u0442\u0432\u0435\u043d\u043d\u043e \u043e\u043f\u0442\u0438\u0447\u0435\u0441\u043a\u0438\u0435 \u043a\u043e\u043c\u043c\u0443\u0442\u0430\u0442\u043e\u0440\u044b \u0438 \u043f\u0440\u043e\u0447\u0435\u0435 \u043e\u0431\u043e\u0440\u0443\u0434\u043e\u0432\u0430\u043d\u0438\u0435), \u043d\u043e \u0437\u0430\u0442\u043e \u0443\u0432\u0435\u043b\u0438\u0447\u0438\u0432\u0430\u0435\u0442\u0441\u044f \u0438 \u043d\u0430\u0434\u0451\u0436\u043d\u043e\u0441\u0442\u044c. \u042d\u0442\u043e\u0442 \u043f\u0440\u043e\u0442\u043e\u043a\u043e\u043b, \u0432 \u043e\u0442\u043b\u0438\u0447\u0438\u0438 \u043e\u0442 iSCSI, \u043b\u0438\u0448\u0451\u043d [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[24],"tags":[],"class_list":["post-2235","post","type-post","status-publish","format-standard","hentry","category-solaris"],"_links":{"self":[{"href":"https:\/\/skeletor.org.ua\/index.php?rest_route=\/wp\/v2\/posts\/2235","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/skeletor.org.ua\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/skeletor.org.ua\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/skeletor.org.ua\/index.php?rest_route=\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/skeletor.org.ua\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=2235"}],"version-history":[{"count":21,"href":"https:\/\/skeletor.org.ua\/index.php?rest_route=\/wp\/v2\/posts\/2235\/revisions"}],"predecessor-version":[{"id":3968,"href":"https:\/\/skeletor.org.ua\/index.php?rest_route=\/wp\/v2\/posts\/2235\/revisions\/3968"}],"wp:attachment":[{"href":"https:\/\/skeletor.org.ua\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=2235"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/skeletor.org.ua\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=2235"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/skeletor.org.ua\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=2235"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}