Resizing the partition
- Log in to Active-Node as root, or as a user with superuser privileges.
- In a separate terminal session, log in to Passive-Node as root, or as a user with superuser privileges.
On both nodes, inform the kernel of the partition table change that occurred when
the size of the serviced thin pool device was increased.
On both nodes, confirm the size increase of the raw device.
lsblk -ap --output=NAME,SIZE,TYPE,FSTYPE,MOUNTPOINTSubordinate device sizes are unchanged.
On both nodes, recreate the partition of the raw device.
The following substeps assume that the raw device has a single partition that contains all of the space in the device. If you are using a different layout, adjust the procedure as required.
Start the disk partition utility.
Replace Raw-Device with the path of the raw device associated with /dev/drbd2 or its equivalent in your environment:
Display the partition table.
Delete the partition table.
Create a new partition table.
nAccept the defaults to create a new primary partition, and for the starting and ending cylinders of the partition. The starting cylinder should match the starting cylinder displayed previously. The ending cylinder should be greater than the ending cylinder displayed previously.
Write the new partition table, and then exit the disk partition utility.
- Start the disk partition utility.
On both nodes, confirm the size increase of the partition.
lsblk -ap --output=NAME,SIZE,TYPE,FSTYPE,MOUNTPOINTThe subordinate device size should be larger.