1 réponse
- Le plus récent
- Le plus de votes
- La plupart des commentaires
2
Reducing the size of a volume is difficult (something that is inferred from the complexity of the instructions in the other post). That's because the operating system has already allocated the blocks on the disk to whatever file/block index mechanism is being used - so this isn't restricted just to Amazon Linux 2.
In short, to reduce the size of a volume you must create a new volume; copy all of the files across to it; and then (in the case of the boot volume) ensure that whatever boot mechanism is required by the operating system is present.
I think it would be a whole lot easier (and less risky) to create a new instance with a smaller boot volume then copy the files across.
Contenus pertinents
- demandé il y a un an
- demandé il y a 5 mois
- AWS OFFICIELA mis à jour il y a 9 mois
- AWS OFFICIELA mis à jour il y a 6 mois
- AWS OFFICIELA mis à jour il y a 2 ans
- AWS OFFICIELA mis à jour il y a 3 ans
thank you, I agree. 1) the copy part with rsync is OK for me. 2) the boot mechanism with grub-install, device UUID, fstab is not easy.