gcp console, trying to build a project and gives no disp space error

huangapple go评论84阅读模式
英文:

gcp console, trying to build a project and gives no disp space error

问题

我正在尝试在我的GCP控制台上构建一个Golang项目。然而,当我运行构建命令时,我收到以下错误信息:“设备上没有剩余空间”,当我运行df命令时,我看到以下内容。

文件系统                         大小  已用 可用 使用% 挂载点
overlay                             60G   44G   17G  73% /
tmpfs                               64M     0   64M   0% /dev
tmpfs                              7.9G     0  7.9G   0% /sys/fs/cgroup
/dev/sda1                           60G   44G   17G  73% /root
/dev/disk/by-id/google-home-part1  4.8G  4.5G   38M 100% /home
/dev/root                          2.0G  1.2G  820M  59% /lib/modules
shm                                 64M     0   64M   0% /dev/shm
tmpfs                              7.9G  940K  7.9G   1% /google/host/var/run

我不确定如何解释这个错误,是否有什么方法可以释放一些磁盘空间?我假设这是位置/dev/disk/by-id/google-home-part1?我正在尝试在/home/user1/gopath目录中构建Go项目。

英文:

I'm trying to build a golang project on my gcp console. However when I run the build command I get the following error no space left on device, when I run the df command I see the following.

Filesystem                         Size  Used Avail Use% Mounted on
overlay                             60G   44G   17G  73% /
tmpfs                               64M     0   64M   0% /dev
tmpfs                              7.9G     0  7.9G   0% /sys/fs/cgroup
/dev/sda1                           60G   44G   17G  73% /root
/dev/disk/by-id/google-home-part1  4.8G  4.5G   38M 100% /home
/dev/root                          2.0G  1.2G  820M  59% /lib/modules
shm                                 64M     0   64M   0% /dev/shm
tmpfs                              7.9G  940K  7.9G   1% /google/host/var/run

I'm not sure how to interpret this, and is there something I can do to free up some disk space? I assume this is the location /dev/disk/by-id/google-home-part1? I am trying to build the go project in the /home/user1/gopath directory.

答案1

得分: 2

df命令显示你的/home目录已满。你必须释放一些空间才能使用它。

文件系统 使用% 挂载点

/dev/disk/by-id/google-home-part1 100% /home

英文:

The df command is showing that you have the /home directory full. You must free some space to use it.

Filesystem                         Use%  Mounted on

/dev/disk/by-id/google-home-part1  100%  /home

huangapple
  • 本文由 发表于 2021年6月18日 07:35:15
  • 转载请务必保留本文链接:https://go.coder-hub.com/68027667.html
匿名

发表评论

匿名网友

:?: :razz: :sad: :evil: :!: :smile: :oops: :grin: :eek: :shock: :???: :cool: :lol: :mad: :twisted: :roll: :wink: :idea: :arrow: :neutral: :cry: :mrgreen:

确定