Skip to content

Commit b143b1d

Browse files
Merge pull request #78487 from jherrman/CNV-40769-take3
OSDOCS: CNV-40769 - Correcting SCSI type in LUN disk sharing doc (re-redux)
2 parents 813ab96 + b00af20 commit b143b1d

File tree

2 files changed

+11
-4
lines changed

2 files changed

+11
-4
lines changed

modules/virt-configuring-disk-sharing-lun.adoc

Lines changed: 10 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -6,11 +6,14 @@
66
[id="virt-configuring-disk-sharing-lun_{context}"]
77
= Configuring disk sharing by using LUN
88

9-
You can configure a LUN-backed virtual machine (VM) disk to be shared among multiple virtual machines by enabling SCSI persistent reservation. Enabling the shared option allows you to use advanced SCSI commands, such as those required for a Windows failover clustering implementation, against the underlying storage. Any disk to be shared must be in block mode.
9+
To secure data on your VM from outside access, you can enable SCSI persistent reservation and configure a LUN-backed virtual machine disk to be shared among multiple virtual machines. By enabling the shared option, you can use advanced SCSI commands, such as those required for a Windows failover clustering implementation, for managing the underlying storage.
1010

11-
A disk of type `LUN` exposes the volume as a LUN device to the VM. This allows the VM to execute arbitrary iSCSI command passthrough on the disk.
11+
When a storage volume is configured as the `LUN` disk type, a VM can use the volume as a logical unit number (LUN) device. As a result, the VM can deploy and manage the disk by using SCSI commands.
1212

13-
You reserve a LUN through the SCSI persistent reserve options to protect data on the VM from outside access. To enable the reservation, you configure the feature gate option. You then activate the option on the LUN disk to issue SCSI device-specific input and output controls (IOCTLs) that the VM requires.
13+
You reserve a LUN through the SCSI persistent reserve options. To enable the reservation:
14+
15+
. Configure the feature gate option
16+
. Activate the feature gate option on the LUN disk to issue SCSI device-specific input and output controls (IOCTLs) that the VM requires.
1417

1518
You can set an error policy for each LUN disk. The error policy controls how the hypervisor behaves when an input/output error occurs on a disk Read or Write. The default behavior stops the guest and generates a Kubernetes event.
1619

@@ -23,9 +26,13 @@ For a LUN disk with an iSCSi connection and a persistent reservation, as require
2326
* The volume access mode must be `ReadWriteMany` (RWX) if the VMs that are sharing disks are running on different nodes.
2427
+
2528
If the VMs that are sharing disks are running on the same node, `ReadWriteOnce` (RWO) volume access mode is sufficient.
29+
2630
* The storage provider must support a Container Storage Interface (CSI) driver that uses the SCSI protocol.
31+
2732
* If you are a cluster administrator and intend to configure disk sharing by using LUN, you must enable the cluster's feature gate on the `HyperConverged` custom resource (CR).
2833
34+
* Disks that you want to share must be in block mode.
35+
2936
.Procedure
3037

3138
. Edit or create the `VirtualMachine` manifest for your VM to set the required values, as shown in the following example:

virt/virtual_machines/virtual_disks/virt-configuring-shared-volumes-for-vms.adoc

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ You can configure shared disks to allow multiple virtual machines (VMs) to share
1111
You configure disk sharing by exposing the storage as either of these types:
1212

1313
* An ordinary VM disk
14-
* A logical unit number (LUN) disk with an iSCSi connection and raw device mapping, as required for Windows Failover Clustering for shared volumes
14+
* A logical unit number (LUN) disk with an SCSI connection and raw device mapping, as required for Windows Failover Clustering for shared volumes
1515
1616
In addition to configuring disk sharing, you can also set an error policy for each ordinary VM disk or LUN disk. The error policy controls how the hypervisor behaves when an input/output error occurs on a disk Read or Write.
1717

0 commit comments

Comments
 (0)