Last active
June 20, 2022 11:42
-
-
Save phainamikaze/dbc1740f5a658fe37d5a7417b9cb0496 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| echo 1>/sys/class/block/sdd/device/rescan | |
| Run the growpart <DeviceName> <PartionNumber> command to resize the partition. | |
| The following example shows that the first partition /dev/sda1 of the system disk is resized: | |
| [root@ecshost ~]# growpart /dev/sda 1 | |
| CHANGED: partition=1 start=2048 old: size=83883999 end=83886047 new: size=209713119 end=209715167 | |
| [root@ecshost ~]# resize2fs /dev/sda1 |
Author
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
lvresize for lvm