Comments on: How to Reduce LVM Partition Size in RHEL and CentOS https://www.linuxtechi.com/reduce-size-lvm-partition/ Sat, 24 Sep 2022 09:49:10 +0000 hourly 1 By: Bill https://www.linuxtechi.com/reduce-size-lvm-partition/#comment-33843 Sun, 15 May 2022 00:02:10 +0000 http://www.linuxtechi.com/?p=2042#comment-33843 The command I was looking for is pvresize. That allows your to resize an lvm parttion.

]]>
By: Bill https://www.linuxtechi.com/reduce-size-lvm-partition/#comment-33535 Thu, 12 May 2022 12:27:09 +0000 http://www.linuxtechi.com/?p=2042#comment-33535 Thanks, but this is directions on how to reduce the size of a logical volume, not a partition (e.g. a physical volume).
BTW. If you want to don’t want the volume unmounted you can create a snapshot, and use that while reducing the partition size. Only you need enough free space in your group so you can allocate the snapshot to have enough space to for the changing of the file system. But with USB sticks of 256G or greater being easily affordable, it is quite practical to put some physical volumes on a USB stick for your snapshot volume.

]]>
By: Hasniuj https://www.linuxtechi.com/reduce-size-lvm-partition/#comment-22458 Fri, 20 Nov 2020 11:25:23 +0000 http://www.linuxtechi.com/?p=2042#comment-22458 I am trying to reduce root partition size. It’s showing below error:

“on-line resizing required resize2fs: On-line shrinking not supported”

]]>
By: Pradeep Kumar https://www.linuxtechi.com/reduce-size-lvm-partition/#comment-19177 Tue, 10 Mar 2020 03:02:24 +0000 http://www.linuxtechi.com/?p=2042#comment-19177 In reply to Lucas.

In the production environment, it is not recommended to reduce files system as it might lead to file system corruption and data destruction but there are some situation where we need to reduce it.

So in Step:4 we will not loose any data as file system usage is 9.2 GB and we are reducing it from 12 GB to 10 GB and before reduction we are doing files system check with e2fsck command and resizing it with resize2fs command and in last we are reducing the file system.

]]>
By: Lucas https://www.linuxtechi.com/reduce-size-lvm-partition/#comment-19169 Mon, 09 Mar 2020 15:04:11 +0000 http://www.linuxtechi.com/?p=2042#comment-19169 Hi, good post!

One question, in step 4 it says “WARNING: Reducing active logical volume to 10.00 GiB
THIS MAY DESTROY YOUR DATA (filesystem etc.)”. So it means that the data in /home are destroyed while de resize is performed?

]]>
By: Alfredo https://www.linuxtechi.com/reduce-size-lvm-partition/#comment-9111 Fri, 12 Apr 2019 17:15:49 +0000 http://www.linuxtechi.com/?p=2042#comment-9111 Thank you so much!!!

]]>
By: Pradeep Kumar https://www.linuxtechi.com/reduce-size-lvm-partition/#comment-3519 Wed, 28 Feb 2018 02:18:14 +0000 http://www.linuxtechi.com/?p=2042#comment-3519 In reply to Guruchandran.

There are chances that your file system might get corrupted if you don’t umount file system during lvm reduce.

]]>
By: Guruchandran https://www.linuxtechi.com/reduce-size-lvm-partition/#comment-3515 Tue, 27 Feb 2018 06:51:47 +0000 http://www.linuxtechi.com/?p=2042#comment-3515 Why have to unmount the file system takes place before reduce size of lvm

]]>
By: Pradeep Kumar https://www.linuxtechi.com/reduce-size-lvm-partition/#comment-2274 Fri, 24 Nov 2017 15:29:58 +0000 http://www.linuxtechi.com/?p=2042#comment-2274 During LVM reduction, It is always recommended to umount file system otherwise there can be corruption on the file system, though you try reducing the LVM partition online without umounting.

]]>
By: Abhishek https://www.linuxtechi.com/reduce-size-lvm-partition/#comment-2272 Fri, 24 Nov 2017 14:51:51 +0000 http://www.linuxtechi.com/?p=2042#comment-2272 Thanks for the article. Is there no way to reduce Linux file system without unmounting i.e. to avoid downtime ?

]]>