Simple setup of scsi shared disks in linux

Source: Internet
Author: User
In linux, the simple establishment of a scsi shared disk requires that I have spare partitions, or I can add a disk to the virtual machine. I have added a hard disk to the virtual machine to install the required software, it is divided into a primary partition, sdb11G, which is shared with scsi. Modify the simple setup of scsi shared disk in s... linux

To share a shared Scsi disk, I need to have free partitions first, or I can add a disk to the virtual machine,
Install required software

I added a hard disk to the virtual machine and divided it into a primary partition, sdb1 1G. shared with scsi.
Modify the configuration file of the scsi software:


Service tgtd restart
Client
Use yum list | grep scsi.
Install


Use man to view the help commands of iscsiadm



I found the network hard drive and hung it to my local device.

When I use fdisk to view the disk, I will find the hard disk I mounted from the network.

Mount the sdb to mnt/haha in the root directory and automatically mount the SDK at startup.


Uninstall umount/mnt/haha
Reboot
View
Related Article

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.