Add a data area to a Linux instance in IaaS.
Keep it independently retained through instance recreation until it is explicitly deleted.
Which resource is most appropriate?
IaaS commonly separates compute, networking, and block storage. A persistent volume can be attached to the guest and used as a disk.
Detailed explanation
Incorrect. vCPU is a compute resource, not persistent storage.
Incorrect. vCPU is a compute resource, not persistent storage.
Correct. An attachable block-storage volume provides an independent persistent disk resource.
Correct. An attachable block-storage volume provides an independent persistent disk resource.
Incorrect. A console session is temporary access, not storage.
Incorrect. A console session is temporary access, not storage.
Incorrect. A virtual network interface provides connectivity, not a disk.
Incorrect. A virtual network interface provides connectivity, not a disk.
Try it yourself
An example you can run in a temporary verification environment.
lsblk -o NAME,TYPE,SIZE,MOUNTPOINTSExpected result
現在ゲストに見えるディスク・パーティション・マウント先。クラウド側の保持方針は別途確認するKey points
- Separate compute from storage
- The guest sees a block device
- Confirm the deletion policy
Notes
- Environment: 一般的なIaaS構成/util-linux 2.39
- Command output formatting can vary slightly by distribution or tool version.
- Run the example in a temporary directory or process when possible.
Foundation review
Read the scope first
Check whether the command acts on the current shell, a new process, an existing process, or a file.
Verify the observable result
Use the supplied command and compare the output with the expected result.