/opt/vmware/support partition on the Site Recovery Manager (SRM) Appliance. This is typically required when the partition reaches 100% capacity, preventing the service from writing logs and initializing correctly.Prerequisites:
Procedure:
Verify Current Usage: Log in to the SRM Appliance via SSH and run the following command to confirm the disk utilization:admin@srm01-dr [ ~ ]$ df -hFilesystem Size Used Avail Use% Mounted ondevtmpfs 4.0M 0 4.0M 0% /devtmpfs 5.9G 40K 5.9G 1% /dev/shmtmpfs 2.4G 744K 2.4G 1% /runtmpfs 4.0M 0 4.0M 0% /sys/fs/cgroup/dev/sda5 14G 2.9G 9.9G 23% /tmpfs 5.9G 128K 5.9G 1% /tmp/dev/sda3 230M 33M 185M 16% /boot/dev/mapper/support_vg-support 17G 113M 16G 1% /opt/vmware/support/dev/sda2 10M 2.1M 8.0M 21% /boot/efi/dev/loop0 365M 49K 345M 1% /opt/vmware/support/logs/srm/SRAstmpfs 1.2G 0 1.2G 0% /run/user/666
Note: Verify that the /opt/vmware/support mount point is at or near 100% capacity.
Identify Disk Mapping: Run the lsblk command to list the disk partitions and identify the mapping for the /opt/vmware/support partition (typically /dev/sdb):admin@srm01-dr [ ~ ]$ lsblkNAME MAJ:MIN RM SIZE RO TYPE MOUNTPOINTSloop0 7:0 0 400M 0 loop /opt/vmware/support/logs/srm/SRAssda 8:0 0 16G 0 disk├─sda1 8:1 0 4M 0 part├─sda2 8:2 0 10M 0 part /boot/efi├─sda3 8:3 0 256M 0 part /boot├─sda4 8:4 0 2G 0 part [SWAP]└─sda5 8:5 0 13.7G 0 part /sdb 8:16 0 17G 0 disk└─support_vg-support 254:0 0 17G 0 lvm /opt/vmware/supportsr0 11:0 1 2.3G 0 rom
Expand the Disk in vCenter: Connect to the vSphere Client, select the SRM Appliance, and increase the size of Hard disk 2 (e.g., from 17 GB to 20 GB).
Resize Physical Volume (PV): Run the following command to inform the operating system of the increased disk size:root [ /home/admin ]# pvresize /dev/sdb Physical volume "/dev/sdb" changed 1 physical volume(s) resized or updated / 0 physical volume(s) not resized
Expected output: "1 physical volume(s) resized or updated"
Reboot the Appliance: Reboot the SRM Appliance to ensure the system recognizes the updated partition table.
Verify Free Space: Run pvs to confirm the free space (PFree) is available:root [ /home/admin ]# pvs PV VG Fmt Attr PSize PFree /dev/sdb support_vg lvm2 a-- <20.00g 3.00g
Extend the Logical Volume (LV): Expand the logical volume to utilize the newly available free space:root [ /home/admin ]# lvextend -l +100%FREE /dev/support_vg/support Size of logical volume support_vg/support changed from <17.00 GiB (4351 extents) to <20.00 GiB (5119 extents). Logical volume support_vg/support successfully resized.
Resize the Filesystem: Finalize the change by resizing the filesystem to match the new logical volume size:root [ /home/admin ]# resize2fs /dev/support_vg/supportresize2fs 1.46.5 (30-Dec-2021)Filesystem at /dev/support_vg/support is mounted on /opt/vmware/support; on-line resizing requiredold_desc_blocks = 2, new_desc_blocks = 2The filesystem on /dev/support_vg/support is now 5241856 (4k) blocks long.
Verification: Run df -h one final time to confirm that the /opt/vmware/support partition size has been updated and is no longer at 100% capacity.root [ /home/admin ]# df -hFilesystem Size Used Avail Use% Mounted ondevtmpfs 4.0M 0 4.0M 0% /devtmpfs 5.9G 40K 5.9G 1% /dev/shmtmpfs 2.4G 752K 2.4G 1% /runtmpfs 4.0M 0 4.0M 0% /sys/fs/cgroup/dev/sda5 14G 2.9G 9.9G 23% /tmpfs 5.9G 128K 5.9G 1% /tmp/dev/sda3 230M 33M 185M 16% /boot/dev/mapper/support_vg-support 20G 106M 19G 1% /opt/vmware/support/dev/sda2 10M 2.1M 8.0M 21% /boot/efi/dev/loop0 365M 49K 345M 1% /opt/vmware/support/logs/srm/SRAstmpfs 1.2G 0 1.2G 0% /run/user/666