Skip to content

Commit 5e0fffc

Browse files
committed
Add instructions for stripe size, when creating striped volume in HANA SR documentation
1 parent 725c60a commit 5e0fffc

File tree

2 files changed

+8
-4
lines changed

2 files changed

+8
-4
lines changed

articles/virtual-machines/workloads/sap/sap-hana-high-availability-rhel.md

Lines changed: 7 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -262,9 +262,14 @@ The steps in this section use the following prefixes:
262262
sudo vgcreate vg_hana_shared_<b>HN1</b> /dev/disk/azure/scsi1/lun3
263263
</code></pre>
264264

265-
Create the logical volumes. A linear volume is created when you use `lvcreate` without the `-i` switch. We suggest that you create a striped volume for better I/O performance, where the `-i` argument should be the number of the underlying physical volume. In this document, two physical volumes are used for the data volume, so the `-i` switch argument is set to **2**. One physical volume is used for the log volume, so no `-i` switch is explicitly used. Use the `-i` switch and set it to the number of the underlying physical volume when you use more than one physical volume for each data, log, or shared volumes.
265+
Create the logical volumes. A linear volume is created when you use `lvcreate` without the `-i` switch. We suggest that you create a striped volume for better I/O performance, and align the stripe sizes to the values documented in [SAP HANA VM storage configurations](https://docs.microsoft.com/azure/virtual-machines/workloads/sap/hana-vm-operations-storage). The `-i` argument should be the number of the underlying physical volumes and the `-I` argument is the stripe size. In this document, two physical volumes are used for the data volume, so the `-i` switch argument is set to **2**. The stripe size for the data volume is **256KiB**. One physical volume is used for the log volume, so no `-i` or `-I` switches are explicitly used for the log volume commands.
266266

267-
<pre><code>sudo lvcreate <b>-i 2</b> -l 100%FREE -n hana_data vg_hana_data_<b>HN1</b>
267+
> [!IMPORTANT]
268+
> Use the `-i` switch and set it to the number of the underlying physical volume when you use more than one physical volume for each data, log, or shared volumes.
269+
> Use the `-I` switch to specify the stripe size, when creating a striped volume.
270+
> See [SAP HANA VM storage configurations](https://docs.microsoft.com/azure/virtual-machines/workloads/sap/hana-vm-operations-storage) for recommended storage configurations, including stripe sizes and number of disks.
271+
272+
<pre><code>sudo lvcreate <b>-i 2</b> <b>-I 256</b> -l 100%FREE -n hana_data vg_hana_data_<b>HN1</b>
268273
sudo lvcreate -l 100%FREE -n hana_log vg_hana_log_<b>HN1</b>
269274
sudo lvcreate -l 100%FREE -n hana_shared vg_hana_shared_<b>HN1</b>
270275
sudo mkfs.xfs /dev/vg_hana_data_<b>HN1</b>/hana_data

articles/virtual-machines/workloads/sap/sap-hana-high-availability.md

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -280,8 +280,7 @@ The steps in this section use the following prefixes:
280280
> [!IMPORTANT]
281281
> Use the `-i` switch and set it to the number of the underlying physical volume when you use more than one physical volume for each data, log, or shared volumes.
282282
> Use the `-I` switch to specify the stripe size, when creating a striped volume.
283-
> See [SAP HANA VM storage configurations](https://docs.microsoft.com/azure/virtual-machines/workloads/sap/hana-vm-operations-storage) for recommended storage configurations, including stripe sizes and number of disks.
284-
283+
> See [SAP HANA VM storage configurations](https://docs.microsoft.com/azure/virtual-machines/workloads/sap/hana-vm-operations-storage) for recommended storage configurations, including stripe sizes and number of disks.
285284
286285
<pre><code>sudo lvcreate <b>-i 2</b> <b>-I 256</b> -l 100%FREE -n hana_data vg_hana_data_<b>HN1</b>
287286
sudo lvcreate -l 100%FREE -n hana_log vg_hana_log_<b>HN1</b>

0 commit comments

Comments
 (0)