Re: [CentOS] Convert from LVM

2018-06-08 Thread Nataraj
On 06/08/2018 02:36 PM, Nataraj wrote: > On 06/08/2018 12:34 PM, Ulf Volmer wrote: >> On 08.06.2018 19:11, Matt wrote: >>> I have a Centos 7 install using EXT4 on LVM. Its running as a VM >>> inside KVM. Issue I have run into is that fstrim does not work due to >>> the LVM. Without fstrim

Re: [CentOS] Convert from LVM

2018-06-08 Thread Ulf Volmer
On 08.06.2018 23:36, Nataraj wrote: > On 06/08/2018 12:34 PM, Ulf Volmer wrote: >> issue_discards = 1 >> >> in /etc/lvm/lvm.conf. > I  believe that it is possible to use trim on an LVM, but I don't think > that is what that option is.  In my /etc/lvm/lvm.conf file, it describes > that option as

Re: [CentOS] Convert from LVM

2018-06-08 Thread Nataraj
On 06/08/2018 12:34 PM, Ulf Volmer wrote: > On 08.06.2018 19:11, Matt wrote: >> I have a Centos 7 install using EXT4 on LVM. Its running as a VM >> inside KVM. Issue I have run into is that fstrim does not work due to >> the LVM. Without fstrim snapshots have gotten huge. Is there a way >>

Re: [CentOS] Convert from LVM

2018-06-08 Thread Ulf Volmer
On 08.06.2018 22:15, Matt wrote: >> issue_discards = 1 >> >> in /etc/lvm/lvm.conf. > > Does that still work if it is not a THIN LVM? Yes. best regards Ulf ___ CentOS mailing list CentOS@centos.org https://lists.centos.org/mailman/listinfo/centos

Re: [CentOS] Convert from LVM

2018-06-08 Thread Matt
> On 08.06.2018 19:11, Matt wrote: >> I have a Centos 7 install using EXT4 on LVM. Its running as a VM >> inside KVM. Issue I have run into is that fstrim does not work due to >> the LVM. Without fstrim snapshots have gotten huge. Is there a way >> convert it from LVM to non-LVM without a

Re: [CentOS] Convert from LVM

2018-06-08 Thread Ulf Volmer
On 08.06.2018 19:11, Matt wrote: > I have a Centos 7 install using EXT4 on LVM. Its running as a VM > inside KVM. Issue I have run into is that fstrim does not work due to > the LVM. Without fstrim snapshots have gotten huge. Is there a way > convert it from LVM to non-LVM without a complete

Re: [CentOS] Convert from LVM

2018-06-08 Thread Jon Pruente
On Fri, Jun 8, 2018 at 1:00 PM, Robert Heller wrote: > > Unlike MS-Windows, Linux is (generally) perfectly happy to disk > "transplants", > so long as you are careful about re-installing grub and making sure the > grub > config has the right "magic". Also update /etc/fstab and anything else

Re: [CentOS] Convert from LVM

2018-06-08 Thread Robert Heller
Do you mean you have a CentOS 7 VM which has partitioned is virtual disk (eg /dev/vda) to have a LVM partition, which in turn has a logical volume for root? It should be possible create a fresh virtual disk, add it to the VM as /dev/vdb (say), and then inside the CentOS 7 VM, partition the new

[CentOS] Convert from LVM

2018-06-08 Thread Matt
I have a Centos 7 install using EXT4 on LVM. Its running as a VM inside KVM. Issue I have run into is that fstrim does not work due to the LVM. Without fstrim snapshots have gotten huge. Is there a way convert it from LVM to non-LVM without a complete reinstall?