2 Risposte
- Più recenti
- Maggior numero di voti
- Maggior numero di commenti
0
OK.
I instead used the command:
sudo resize2fs /dev/xvdf1
And that worked. I don't know why growpart did not work, but I am past that now.
con risposta 6 anni fa
0
I'm not an expert but in my experience, I would say that;
growpart works w/ a volume that has partitions as you must put a partition number.
On the other hand, resize2fs works w/ all the types of volumes.
Note that if you are expanding the size of a root volume you would need to use both of the commands after you modify the instance size on form EBS volumes screen.
Steps are:
Modify the volume size from AWS management console.
Connect to your instance via SSH.
Expand the size on the volume partition eg.
sudo growpart /dev/xvda 1
Resize the volume partition
sudo resize2fs /dev/xvda1
con risposta 5 anni fa
Contenuto pertinente
- AWS UFFICIALEAggiornata 4 anni fa
- AWS UFFICIALEAggiornata 2 anni fa
- AWS UFFICIALEAggiornata 3 anni fa
- AWS UFFICIALEAggiornata 2 anni fa