Centos5.x Mount iscsi practice recently in the production environment, we need to use centos5.x to mount iscsi. To sum up the operation experience, we can download the latest related components from www.2cto.com 1. It is best to use the latest components, using the iscsi component that comes with centos5.5, the machine gets stuck when a bug is found. At first, we only updated the latest iscsi-initiator-utils package. The strange thing is that some machines are stuck and some machines are stuck, finally, update all data to the latest centos5.8, and solve all the problems. Http://mirror.centos.org/centos/5/centosplus/x86_64/RPMS/ iscsi components iscsi-initiator-utils xfs component kmod-xfs xfsprogs 2 install related components yum install binutils iscsi-initiator-utils kmod-xfs xfsprogs 3 iscsi Mount www.2cto.com detect iscsiadm-m discovery- t st-p 10.10.10.10 log on to iscsiadm-m node-p 10.10.10.10-l and you will find that an extra disk ls/dev/sda4 partition fdisk/dev/sda is used to format mkfs. set xfs/dev/sda1 to automatically mount mkdir-p/opt/splunk edit/etc/fstab Add/dev/sda1/opt/splunk xfs _ netdev 0 0 to set netfs to auto start. This step is very important, that is, if this step is not set, it is found that automatic mounting cannot be performed after restart, this problem can be discovered only after one day. Chkconfig netfs on5 restart Test