Powered by eUKhost®

Announcement

Collapse
No announcement yet.

How to extend and cut back the scale for the LVM

Collapse
X
  • Filter
  • Time
  • Show
Clear All
new posts

  • How to extend and cut back the scale for the LVM

    To extend and cut back the scale for the LVM is extremely vital half and it will cause the filing system corruption issue thus whereas running the subsequent commands make certain that you just have elect the proper LVM plotter.

    To decrease the LVM size run the subsequent command as a root user.

    [[email protected] ~]# lvreduce -L1G /dev/testLVM/undertestLVM1

    In on top of example we've got shrivelled the LVM by 1G

    To increase the LVM size run the subsequent command as a root user.

    [[email protected] ~]# lvextend -L1.5G /dev/testLVM/undertestLVM1

    In on top of example we've got augmented the LVM size by one.5G

    Now check the scale of LVM

    lvdisplay /dev/testLVM/undertestLVM1


    Note : don't bit DECREASE MAIN LVM plotter ELSE SERVER filing system can CRASH.
ban-img
Working...
X