A RetroSearch Logo

Home - News ( United States | United Kingdom | Italy | Germany ) - Football scores

Search Query:

Showing content from http://cloud.google.com/compute/docs/troubleshooting/troubleshooting-disk-full-resize below:

Troubleshoot full disks and disk resizing | Compute Engine Documentation

Troubleshoot full disks and disk resizing

Stay organized with collections Save and categorize content based on your preferences.

Linux

This page describes common issues that you might run into when resizing a persistent disk or when your persistent disk is full, and how to fix each of them.

Before you begin Rate limited error when modifying a disk

The following are common errors you might encounter when you attempt to modify your Extreme Persistent Disk or Google Cloud Hyperdisk. You might see these errors appear in a number of places, such as in your serial console output or in application logs.

Review the following time limits for modifying disks:

To resolve these errors, wait the required amount of time since your last modification before attempting to modify the disks again.

Disk capacity errors Full disks

The following are common errors you might encounter when your persistent disk reaches full capacity. You might see these errors appear in a number of places, such as in your serial console output or in application logs.

To resolve this issue, do the following:

  1. Create a snapshot of the disk.

  2. Delete files that you don't need on the disk to free up space.

  3. If your disk requires more space after this, resize the disk.

Inaccessible VM due to full boot disk

Your VM might become inaccessible if its boot disk is full. This scenario can be difficult to identify; it's not always obvious when the VM connectivity issue is due to a full boot disk. The following are examples of common errors you might encounter if you cannot access your VM from the Google Cloud CLI because the boot disk is full:

To resolve the above issues, do the following:

  1. Confirm that the VM's SSH failure is due to a full boot disk:

    gcloud compute instances tail-serial-port-output VM_NAME
    

    If the boot disk is full, the resulting output will contain the message No space left on device.

  2. If you have not already done so, create a snapshot of the VM's boot disk.

  3. Try to restart the VM.

  4. If you still can't access the VM, do the following:

    1. Stop the VM:

      gcloud compute instances stop VM_NAME
      

      Replace VM_NAME with the name of your VM.

    2. Increase the size of the boot disk:

      gcloud compute disks resize BOOT_DISK_NAME --size DISK_SIZE
      

      Replace the following:

      • BOOT_DISK_NAME: the name of your VM's boot disk
      • DISK_SIZE: the new larger size, in gigabytes, for the boot disk

      For example, to resize a disk named example-disk-1 to 6GB, run the following command:

      gcloud compute disks resize example-disk-1 --size=6GB
      
    3. Start the VM:

      gcloud compute instances start VM_NAME
      
  5. Reattempt to SSH to the VM. If you still can't access the VM, do one of the following:

File system issues File system resize

After you resize a VM boot disk, most VMs resize the root file system and restart the VM. However, for some VM images types, you might have to resize the file system manually. If your VM does not support automatic root file system resizing, or if you've resized a data (non-boot) persistent disk, you must manually resize the file system and partitions.

To check if your root file system expanded automatically after you resized your VM boot disk, do the following:

  1. Check if your VM resized the boot disk using one of the following methods:

  2. If your VM didn't resize the root file system, manually resize the file system and partitions.

Except as otherwise noted, the content of this page is licensed under the Creative Commons Attribution 4.0 License, and code samples are licensed under the Apache 2.0 License. For details, see the Google Developers Site Policies. Java is a registered trademark of Oracle and/or its affiliates.

Last updated 2025-08-07 UTC.

[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Hard to understand","hardToUnderstand","thumb-down"],["Incorrect information or sample code","incorrectInformationOrSampleCode","thumb-down"],["Missing the information/samples I need","missingTheInformationSamplesINeed","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2025-08-07 UTC."],[[["This document outlines common issues encountered when resizing or managing full persistent disks in Linux environments."],["It provides solutions for rate-limited errors when modifying Extreme Persistent Disks or Hyperdisks, including waiting for specific timeframes."],["The content details how to address disk capacity errors, including full disks and inaccessible VMs due to a full boot disk, by creating snapshots, deleting unnecessary files, or resizing the disk."],["It explains how to determine if a root file system was automatically resized after increasing a VM boot disk's size, and provides instructions for manually resizing the file system if needed."]]],[]]


RetroSearch is an open source project built by @garambo | Open a GitHub Issue

Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo

HTML: 3.2 | Encoding: UTF-8 | Version: 0.7.4