Record the configuration process.
1. Check the iscsi Software Installation
# cd /cdrom/sol_10_113_x86/Solaris_10/Product# pkginfo SUNWiscsiu SUNWiscsirsystem SUNWiscsir Sun iSCSI Device Driver (root)system SUNWiscsiu Sun iSCSI Management Utilities (usr)
2. Add the iscsi target:
# iscsiadm add discovery-address 192.168.233.143:3260
3. Enable iscsi
# iscsiadm modify discovery --sendtargets enable
4. View iscsi Devices
# iscsiadm list target
Target: iqn.2006-01.com.openfiler:tsn.713bbba5efdbAlias: -TPGT: 1ISID: 4000002a0000Connections: 1
5. Create an iscsi Device connection
# devfsadm -i iscsi
6. Partitioning and formatting
650) this. width = 650; "title =" 1.jpg" alt = "233230879.jpg" src =" http://www.bkjia.com/uploads/allimg/131227/2314492Q7-0.jpg "/>
650) this. width = 650; "title =" 2.jpg" alt = "233617492.jpg" src =" http://www.bkjia.com/uploads/allimg/131227/2314491312-1.jpg "/>
650) this. width = 650; "title =" 3.jpg" alt = "233724706.jpg" src =" http://www.bkjia.com/uploads/allimg/131227/23144a2E-2.jpg "/>
7. mount an iscsi Disk
Manually mount a directory
650) this. width = 650; "title =" 4.jpg" alt = "234258760.jpg" src =" http://www.bkjia.com/uploads/allimg/131227/2314495617-3.jpg "/>
Configure Automatic mounting upon startup
650) this. width = 650; "title =" 5.jpg" alt = "236644636.jpg" src =" http://www.bkjia.com/uploads/allimg/131227/2314491354-4.jpg "/>
Verify after startup
650) this. width = 650; "title =" 6.jpg" alt = "235124711.jpg" src =" http://www.bkjia.com/uploads/allimg/131227/2314493R3-5.jpg "/>
8. Remove other iscsi Devices
(1) iscsiadm modify discovery --sendtargets disable(2) iscsiadm remove discovery-address 192.168.233.143:3260
This article is from the "koumm linux technology blog" blog, please be sure to keep this source http://koumm.blog.51cto.com/703525/1302951