How to mount iscsi in centos5.x

Source: Internet
Author: User

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

Contact Us

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

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.