All Products
Search
Document Center

Configure iSCSI

Last Updated: Jun 27, 2019

iSCSI

In the left-side navigation pane, click iSCSI Volumes to go to the iSCSI Volumes page. You can create and delete a volume, enable and disable iSCSI, and configure CHAP for a volume on this page.

Create a volume

1、To create a volume, click64 in the upper-right corner.

2、Specify the volume name, capacity, cloud resource, whether to enable iSCSI, cache mode, and cache disk, and distribution unit.

3、After you enter the required information, click OK to create the volume.

Use Recovery Mode: If you select Yes and the corresponding OSS bucket is used as storage for the volume, the system attempts to use the metadata, such as the volume capacity, to restore the volume. If you select No, the system directly uses the corresponding OSS bucket to create a new volume.

Data Access Mode: The Cache mode allows read and write operations to use local cache disks first. The Write-through mode writes files to Alibaba Cloud OSS buckets and directly reads data from Alibaba Cloud. Typically, the Cache mode provides better read and write performance.

65

After the volume is created, it is displayed on the iSCSI Volumes page, as shown in the following figure:

66

You can click 67 to the left of the Name column to view the volume attributes, as shown in the following figure:

68

Configure a volume

1、After a volume is created, you can click 69 to configure CHAP for the volume. The drop-down list includes two options: None and CHAP.

Note: Only one-way CHAP is supported.

70

2、Select None or CHAP, and then click OK.CHAP: The AccessKey Secret must be from 12 to 16 characters in length.

71

Disable a volume

1、After a volume is configured, you can click 72 to disable it. After the volume is disabled, you cannot use it.

2、Click OK to disable the volume, as shown in the following figure:

73

Enable a volume

1、If a volume is disabled, you can click Enable in the Actions column to enable the volume, as shown in the following figure:

74

Delete a volume

1、If you no longer need a volume, you can click 75 to delete it.

2、Click -> to delete the volume, as shown in the following figure:

76

3、When you delete a volume, you can determine whether to delete the data stored in the OSS bucket. If you choose to delete the data stored in the OSS bucket, the volume information is deleted from the iSCSI Volumes page.

77

Note: If you delete a volume that has the Cache mode enabled, data stored in the cache disk is also deleted.

Expand the volume capacity

If the volume capacity cannot meet your requirements, you can expand the volume. You must stop all I/O activities before you expand the volume capacity. After you expand the volume capacity, scan the host to discover the resized volume. Click More in the Actions column and select Expand.

78

79

Note: You must specify a capacity larger than the current capacity.

After you expand the volume capacity, the new capacity is displayed in the Capacity column, as shown in the following figure:

80

Repair a volume

When an error occurs with a volume, you can repair the volume. To repair a volume, click More in the Actions column and select Repair.

81