英文:
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
通过集体智慧和协作来改善编程学习和解决问题的方式。致力于成为全球开发者共同参与的知识库,让每个人都能够通过互相帮助和分享经验来进步。
评论