Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion docs/CONFIG-VARS.md
Original file line number Diff line number Diff line change
Expand Up @@ -324,7 +324,7 @@ When `storage_type=standard`, a NFS Server VM is created, only when these variab

**NOTE:** When `node_pools_proximity_placement=true` is set, the NFS VM will be co-located in the proximity group with the additional node pool VMs.

**NOTE:** The 128 default is in GB. With a RAID5 configuration, the default is 4 disks, so [the defaults would yield (N-1) x S(min)](https://superuser.com/questions/272990/how-to-calculate-the-final-raid-size-of-a-raid-5-array), or (4-1) x 128GB = ~384 GB.
**NOTE:** The 128 default is in GB. With a RAID0 configuration, the default is 4 disks.

| Name | Description | Type | Default | Notes |
| :--- | ---: | ---: | ---: | ---: |
Expand Down
4 changes: 2 additions & 2 deletions files/cloud-init/nfs/cloud-config
Original file line number Diff line number Diff line change
Expand Up @@ -39,11 +39,11 @@ runcmd:
- systemctl enable rpc-statd
- systemctl start rpc-statd
#
# Create Raid5 Array
# Create Raid0 Array
#
- pvcreate $(find /dev/disk/azure/scsi1/ -type l | xargs)
- vgcreate data-vg01 $(find /dev/disk/azure/scsi1/ -type l | xargs)
- lvcreate --type raid5 --extents 100%FREE --stripes 3 --name data-lv01 data-vg01
- lvcreate --type raid0 --extents 100%FREE --stripes 4 --stripesize 256 --name data-lv01 data-vg01
- mkfs -t ext4 /dev/data-vg01/data-lv01
#
# Update /etc/fstab
Expand Down
2 changes: 1 addition & 1 deletion variables.tf
Original file line number Diff line number Diff line change
Expand Up @@ -453,7 +453,7 @@ variable "nfs_vm_zone" {
}

variable "nfs_raid_disk_size" {
description = "Size in Gb for each disk of the RAID5 cluster, when storage_type=standard"
description = "Size in Gb for each disk of the RAID0 cluster, when storage_type=standard"
type = number
default = 256
}
Expand Down