Centos5.x Mount iscsi practice recently in the production environment, we need to use centos5.x to Mount iscsi, and summarize the operation experience www.2cto. com1 downloads the latest related components. it is best to use the latest components. use the iscsi component that comes with centos5.5 to find a bug and restart the machine... 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 component 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 to detect iscsiadm-m discovery-st-p 10.10.10.10 log on to iscsiadm-m node-p 10.10.10.10-l and you will find an extra disk. the ls/dev/sda4 partition fdisk/dev/sda format mkfs. xfs/dev/sda1 settings automatically mount mkdir-p/opt/splunk edit/etc/fstab add the following content:/dev/sda1/opt/splunk xfs _ netdev 0 0 set netfs automatically start, this Step is very important, that is, if you do not set this step, you will find that the system cannot be automatically mounted after restart, and you will find this problem only after one day. Chkconfig netfs on5 restart test
The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion;
products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the
content of the page makes you feel confusing, please write us an email, we will handle the problem
within 5 days after receiving your email.
If you find any instances of plagiarism from the community, please send an email to:
info-contact@alibabacloud.com
and provide relevant evidence. A staff member will contact you within 5 working days.
A Free Trial That Lets You Build Big!
Start building with 50+ products and up to 12 months usage for Elastic Compute Service