In ECX 4.2, you can extend mirror disk data partition size dynamically without stopping application.
This guide shows how to extend mirror disk data partition size dynamically
On Linux, the data partition should be LVM, and its filesystem should be xfs.
On Windows, there is no limitation.
-
On standby server, execute clpmdctrl --resize command
- On Linux
> clpmdctrl --resize [the new size of data paritition] [md resource name] e.g. > clpmdctrl --resize 5G md1- On Windows
> clpmdctrl --resize [md resource name] [the new size of data paritition] e.g. > clpmdctrl --resize md1 5GTips for specifying disk size
- K (Kibi byte)
- M (Mibi byte)
- G (Gibi byte)
- T (Tebi byte)
-
On active server, execute clpmdctrl --resize command
Pleaes execute the same command as Step 1
-
On active server, extend the filesystem of the data partition
-
On Linux
- Extend the filesystem
xfs_growfs [mount point of mirror disk] e.g. xfs_growfs /mnt/md1
- Extend the filesystem
-
On Windows
- Open Command Prompt
- Open diskpart
> diskpart - Confirm the volume number of the data partition
e.g. DISKPART> list volume Volume ### Ltr Label Fs Type Size Status Info ---------- --- ----------- ----- ---------- ------- --------- -------- Volume 0 D SSS_X64FRE_ UDF DVD-ROM 4618 MB Healthy Volume 1 System Rese NTFS Partition 549 MB Healthy System Volume 2 C NTFS Partition 39 GB Healthy Boot Volume 3 E RAW Partition 1024 MB Healthy Volume 4 F New Volume NTFS Partition 5000 MB Healthy - Select the volume number of the data partition
DISKPART> select volume [the volume number] e.g. DISKPART> select volume 4 - Extend the filesystem
DISKPART> extend filesystem - Exit diskpart
DISKPART> exit
-