Google compute engine 谷歌云连接的磁盘大小不正确

Google compute engine 谷歌云连接的磁盘大小不正确,google-compute-engine,google-cloud-platform,gcloud,Google Compute Engine,Google Cloud Platform,Gcloud,我试图在谷歌云上创建一个连接了20TB磁盘的计算实例,但我看到了一些奇怪的东西。当我在gcloud命令中指定磁盘大小时,我在检查实例大小时没有看到相同的磁盘大小。我也尝试过创建新磁盘并连接它们,调整连接的磁盘的大小,但没有达到2TB左右。2TB是计算实例的最大磁盘大小吗 $ gcloud compute instances create instance --boot-disk-size 10TB --scopes storage-rw Created [https://www.googleap

我试图在谷歌云上创建一个连接了20TB磁盘的计算实例,但我看到了一些奇怪的东西。当我在gcloud命令中指定磁盘大小时,我在检查实例大小时没有看到相同的磁盘大小。我也尝试过创建新磁盘并连接它们,调整连接的磁盘的大小,但没有达到2TB左右。2TB是计算实例的最大磁盘大小吗

$ gcloud compute instances create instance --boot-disk-size 10TB --scopes storage-rw
Created [https://www.googleapis.com/compute/v1/projects/project/zones/us-central1-a/instances/instance].
NAME    ZONE           MACHINE_TYPE   PREEMPTIBLE  INTERNAL_IP  EXTERNAL_IP     STATUS
instance  us-central1-a  n1-standard-1               10.240.0.2   104.154.45.175  RUNNING
$ gcloud compute ssh gm-vcf
Warning: Permanently added 'compute.8994721896014059218' (ECDSA) to the list of known hosts.

The programs included with the Debian GNU/Linux system are free software;
the exact distribution terms for each program are described in the
individual files in /usr/share/doc/*/copyright.

Debian GNU/Linux comes with ABSOLUTELY NO WARRANTY, to the extent
permitted by applicable law.

user@instance:~$ df -h
Filesystem      Size  Used Avail Use% Mounted on
/dev/sda1       2.0T  880M  1.9T   1% /
udev             10M     0   10M   0% /dev
tmpfs           743M  8.3M  735M   2% /run
tmpfs           1.9G     0  1.9G   0% /dev/shm
tmpfs           5.0M     0  5.0M   0% /run/lock
tmpfs           1.9G     0  1.9G   0% /sys/fs/cgroup

我想说的不是磁盘大小,而是分区大小(您可以通过运行
fdisk-l
并检查磁盘大小来确认)。根据磁盘的分区方式,最大大小将为2 TB。也许最好为系统使用一个较小的磁盘,并连接另一个较大的磁盘来存储数据(这个新磁盘可以根据需要进行分区)

对于大多数机器类型,每个VM最多可以连接64 TB的标准永久磁盘,有关详细信息,请参阅。您需要调整文件系统的大小,以便操作系统可以访问磁盘上的额外空间。有关调整磁盘大小的步骤,请参阅。

谢谢。那太完美了。