標題: [介紹] 在Google GCP 上新增及掛載硬碟(add or mount disk) [打印本頁] 作者: htctouch 時間: 2017-8-31 12:14 標題: 在Google GCP 上新增及掛載硬碟(add or mount disk)
有時因為架構上的關係.需要使用 GCP 來掛載新的空間.這時後可以參考官方的步驟:
(一) Create and attach a persistent disk in the Google Cloud Platform Console:
(1)Go to the VM instances page.=> https://console.cloud.google.com/compute/instances (2)Click the name of the instance where you want to add a disk. (3)At the top of the instance details page, click Edit. (4)Under Additional disks, click Add item. (5)In the Name column for additional lists, click the Select a disk drop down menu and select Create disk. (6)Configure the properties for your new disk. Specify a name for the disk and select the Blank disk option. (7)Click Create to create the disk. (8)At the bottom of the instance details page, click Save to apply your changes to the instance and attach the new disk. (9)After you create and attach a new disk to an instance, you must format and mount the disk so that the operating system can use the available storage space.
(二) Formatting and mounting a persistent disk # lsblk
引用:
NAME MAJ:MIN RM SIZE RO TYPE MOUNTPOINT sda 8:0 0 10G 0 disk └─sda1 8:1 0 10G 0 part / sdb 8:16 0 200G 0 disk