Home / Adding disk space from non-root-LVM to root-LVM

Adding disk space from non-root-LVM to root-LVM

  • All users should be logged out of server except root.
  • Fsck the filesystem.
  • Reduce the non-root LVM by entering following command on root shell;

lvresize --resizefs --size

lvresize --resizefs --size -200G /dev/VolGroup00/LogVoL-USER

  • After non-root LVM filesystem is reduced, increase the root-LVM filesystem using;

lvresize --resizefs --size +500M /dev/VolGroup00/LogVol-ROOT

  • Mount the filesystem.

Leave a Reply