1Z0-1072-25 Question 192
Select 2Your team has increased the size of a block volume in the Oracle Cloud Infrastructure console from 1 TB to 2 TB. The volume is iSCSI-attached to a running Linux compute instance that handles real-time data ingestion. Which two actions must you take from within the compute instance to complete the resizing process with minimal downtime?
- A
Extend the disk partition on the compute instance to include the newly available space
- B
Rerun the iSCSI attach script to re-establish connectivity
- C
Reboot the compute instance so that the operating system detects the updated volume size
- D
Resize the file system in the operating system to utilize the expanded partition
Show answer and explanation
Correct answers: A, D
Explanation
To expand a block volume with minimal downtime, you first resize the volume in the OCI console (or CLI), then within your Linux OS, you extend the partition to reflect the new capacity and resize your file system. No reboot or reattaching the iSCSI volume is required. For detailed instructions, refer to Oracle� official documentation: https://docs.oracle.com/en-us/iaas/Content/Block/Tasks/resizingavolume.htm
- A. Correct.
Correct. Even though the volume has been resized at the OCI level, the operating system still sees the original partition size. You must extend the partition table to ensure it recognizes the new capacity.
- B. Incorrect.
Incorrect. Typically, once an iSCSI volume is attached and recognized, you do not need to rerun the attach script unless the connection was lost. Resizing a volume in place does not require reattaching iSCSI targets as long as the volume remains accessible.
- C. Incorrect.
Incorrect. A reboot is not strictly required to detect the new size. Linux OS tools (e.g., parted, growpart, or fdisk) allow you to update partition sizing without shutting down the instance. Reboot is a possible (but not minimal downtime) approach.
- D. Correct.
Correct. After resizing the partition, you must also resize or grow the file system (e.g., using resize2fs for ext4 or xfs_growfs for XFS) so the operating system can access the newly added space.