Follow these steps to expand the size of a data disk when the log partition is the last partition on the system disk.
Steps
Perform the following steps from the
vSphere Web Client:
Right-click the
VM Direct appliance and select
Shut Down Guest OS.
After the power off completes, right-click the appliance and select
Edit Settings.
The
Edit Settings window appears with the
Virtual Hardware button selected.
Increase the provisioned size of Hard disk 1 to the desired size, and then click
OK.
NOTE You cannot decrease the provisioned size of the disk.
Right-click the
VM Direct appliance and select
Power On.
Boot from a SuSE Linux Enterprise Server (SLES) version 12 CD.
Start the partition utility, by typing
parted, and then perform the following tasks.
Type
select /dev/sdx.
Type
print. If you are prompted to fix issues, type
fix at each prompt. The output displays the new disk size in the
Size field and the current size in the table.
Type
quit.
Reboot the
VM Direct appliance by typing
systemctl reboot.
Log in to the console as the root user.
NOTE If you use
ssh protocol to connect to the
VM Direct appliance, log in with the admin account, and then use the
su command to change to the root account.
Grow the xfs file system by typing
xfs_growfs -d /data01.
Confirm the new partition size by typing
df -h.
Data is not available for the Topic
Please provide ratings (1-5 stars).
Please provide ratings (1-5 stars).
Please provide ratings (1-5 stars).
Please select whether the article was helpful or not.
Comments cannot contain these special characters: <>()\