With iSCSI storage, how can I identify hosts and create lvms?

Source: Internet
Author: User

1. Search
Installation package:
Rpm-IVH iSCSI-initiator-utils
Download the iscsitarget package from sf.net.
Make kernel, USR, install
Enable Service


(0) view the iSCSI discovery record iscsiadm-M Node
(1) iSCSI storage discovered:
Iscsiadm-M discovery-T St-P 192.168.20.100
(2) view the iSCSI discovery record iscsiadm-M Node
(3) Delete the iSCSI discovery record iscsiadm-M node-O Delete-T lun_name-P 192.168.20.100
(4) log on to the iSCSI storage iscsiadm-M node-T lun_name-P 192.168.20.100-l
(5) log out of the iSCSI storage iscsiadm-M node-T lun_name-P 192.168.20.100-u


Iscsiadm-M node-T iqn.2006-01.com. openfiler: TSN. qmx1-P 192.168.20.100-l

2. LVM Management
Pvcreate/dev/sdb1

Vgcreate MMMP/dev/sdb1

Vgdisplay-V MMMP

Lvcreate-L 2G-N Fashi MMMP

Mkfs

Mount

With iSCSI storage, how can I identify hosts and create lvms?

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.