Resize OS disk after azure disk upgrade from portal. #2211
rjshrjndrn
started this conversation in
KnowledgeBase
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Resize upgraded os disk
current disk size (250G)
deployer@dp-redis-2:~$ df -h Filesystem Size Used Avail Use% Mounted on /dev/sda1 248G 159G 90G 64% / ... ... ...
Fix the partition
Resize the partition
root@dp-redis-2:/home/deployer# resize2fs /dev/sda1 resize2fs 1.42.13 (17-May-2015) Filesystem at /dev/sda1 is mounted on /; on-line resizing required old_desc_blocks = 16, new_desc_blocks = 32 The filesystem on /dev/sda1 is now 134189307 (4k) blocks long.
Reboot the machine
Increased disk size (550G)
deployer@dp-redis-2:~$ df -h Filesystem Size Used Avail Use% Mounted on /dev/sda1 497G 159G 339G 32% / ... ...
Beta Was this translation helpful? Give feedback.
All reactions