N/APosted on - 07/22/2016
Often while working on production SuSE Linux based virtual servers we need to extend or modify partitions connected to Linux based virtual servers but for the changes to be recognized generally we need a complete reboot. In the real world a reboot means server going offline, how can we get these partition changes recognized without a complete reboot?
Read Partition Changes Without Rebooting
We can try targeted rescan for sectors for partition modifications to be recognized using the following command snippet on the terminal.
The device info in the above command can be changed according to the device we are using for example we have used a scsi device without details in here which you can add. Now we can resize PV using the following command:
If we check the size of volume group using vgs command it would show us the next extended size. Thus using the above commands we can get the resized partition recognized without having to restart the server avoiding a complete shutdown.