“Ubah Ubah Disk GCP” Kode Jawaban

Ubah Ukuran Disk VM GCP

$ sudo apt install -y cloud-utils         # Debian jessie
$ sudo apt install -y cloud-guest-utils   # Debian stretch, Ubuntu
$ yum install -y cloud-utils			  # CentOS
$ sudo growpart /dev/sda 1
$ sudo resize2fs /dev/sda1
	if this happen:
    resize2fs: Bad magic number in super-block while trying to open /dev/sda1
	Couldn't find valid filesystem superblock.
run this: $ xfs_growfs /dev/sda1
hirohito

Ubah Ubah Disk GCP

# if you has been resizing disk capacity, try rebooting your server/instance by running:
sudo reboot
hirohito

Jawaban yang mirip dengan “Ubah Ubah Disk GCP”

Pertanyaan yang mirip dengan “Ubah Ubah Disk GCP”

Jelajahi jawaban kode populer menurut bahasa

Jelajahi bahasa kode lainnya