Ceph Series--ISCSI Configuration Summary

Source: Internet
Author: User
A 192.168.199.128 (Ceph back-end)------(Ceph client) B 192.168.199.132

A on configuration: Install TGT service, apt-get install TGT-RBD IQN command format: iqn.<yyyy-mm>.< reverse Domain name >.<target names > Verify T GT supports Ceph Rbd:tgtadm--LLD iSCSI--mode system--op Show|grep RBD creating a storage pool Pools ceph OSD Pool Create         Iscsi-pool 128 128 Create an RBD image RBD create iscsi-pool/test-img--size 10240 #单位是 creating iSCSI target, two ways 1. Modify the configuration file:/etc/tgt/target.conf Add the following configuration

2. Command line creation: Tgtadm--lld iSCSI--mode Target--op new--tid 1--targetname iqn.2016-08.com. Example:iscsi

Configuration on B: Install iSCSI client, Apt-get install OPEN-ISCSI discover target iscsiadm-m discovery-t sendtargets-p 192.168.199.128 Mount Target device: iscsiadm-m node-t iqn.2016-08.com. Example:iscsi-l Go Mount command: scsiadm-m node-t iqn.2016- 08.com. Example:iscsi-u Verify that MKFS.EXT4/DEV/SDA #/DEV/SDA is an iSCSI mount to a local disk Mkdir/mnt/block-device -ISCSI Mount/dev/sda/mnt/block-device-iscsi/fio test Reading and writing










Common iSCSI Framework Tgt,scst,lio





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.