Skip to content

Commit 76baaaf

Browse files
committed
Add instructions for stripe size, when creating striped volume in HANA SR documentation
1 parent ff61a5d commit 76baaaf

File tree

2 files changed

+11
-5
lines changed

2 files changed

+11
-5
lines changed

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ ms.service: virtual-machines-linux
1212
ms.topic: article
1313
ms.tgt_pltfrm: vm-linux
1414
ms.workload: infrastructure
15-
ms.date: 01/28/2020
15+
ms.date: 03/31/2020
1616
ms.author: radeltch
1717

1818
---

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

Lines changed: 10 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ ms.service: virtual-machines-linux
1212
ms.topic: article
1313
ms.tgt_pltfrm: vm-linux
1414
ms.workload: infrastructure
15-
ms.date: 03/06/2020
15+
ms.date: 03/31/2020
1616
ms.author: radeltch
1717

1818
---
@@ -275,16 +275,22 @@ The steps in this section use the following prefixes:
275275
sudo vgcreate vg_hana_shared_<b>HN1</b> /dev/disk/azure/scsi1/lun3
276276
</code></pre>
277277

278-
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.
278+
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.
279279

280-
<pre><code>sudo lvcreate <b>-i 2</b> -l 100%FREE -n hana_data vg_hana_data_<b>HN1</b>
280+
> [!IMPORTANT]
281+
> 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.
282+
> 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+
285+
286+
<pre><code>sudo lvcreate <b>-i 2</b> <b>-I 256</b> -l 100%FREE -n hana_data vg_hana_data_<b>HN1</b>
281287
sudo lvcreate -l 100%FREE -n hana_log vg_hana_log_<b>HN1</b>
282288
sudo lvcreate -l 100%FREE -n hana_shared vg_hana_shared_<b>HN1</b>
283289
sudo mkfs.xfs /dev/vg_hana_data_<b>HN1</b>/hana_data
284290
sudo mkfs.xfs /dev/vg_hana_log_<b>HN1</b>/hana_log
285291
sudo mkfs.xfs /dev/vg_hana_shared_<b>HN1</b>/hana_shared
286292
</code></pre>
287-
293+
288294
Create the mount directories and copy the UUID of all of the logical volumes:
289295

290296
<pre><code>sudo mkdir -p /hana/data/<b>HN1</b>

0 commit comments

Comments
 (0)