Read Partition Changes Without Rebooting

Asked By 0 points N/A Posted on -
qa-featured

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?

SHARE
Answered By 0 points N/A #180576

Read Partition Changes Without Rebooting

qa-featured

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.

Related Questions