Re: [linux-lvm] Is TRIM and DISCARD needed for normal HDD ?

2020-11-26 Thread Marek Podmaka
Title: Re: [linux-lvm] Is TRIM and DISCARD needed for normal HDD ? Hi, TRIM is also used on some SMR HDDs. https://superuser.com/questions/1407990/what-does-trim-on-an-hdd-mean Wednesday, November 25, 2020, 16:37:07, you wrote: Hi, I am using thin LVM pools, but I have a normal hard

Re: [linux-lvm] Is TRIM and DISCARD needed for normal HDD ?

2020-11-26 Thread Zdenek Kabelac
Dne 25. 11. 20 v 16:37 Sreyan Chakravarty napsal(a): Hi, I am using thin LVM pools, but I have a normal hard disk and not a SSD. Is there any reason to enable TRIM and/or DISCARD for my HDD ? I have heard it is only useful for a SSD. Will it offer any advantages in my case ? Hi

[linux-lvm] Is TRIM and DISCARD needed for normal HDD ?

2020-11-26 Thread Sreyan Chakravarty
Hi, I am using thin LVM pools, but I have a normal hard disk and not a SSD. Is there any reason to enable TRIM and/or DISCARD for my HDD ? I have heard it is only useful for a SSD. Will it offer any advantages in my case ? -- Regards, Sreyan Chakravarty

Re: [linux-lvm] Unusually long boot times with LVM Snapshots

2020-11-26 Thread Sreyan Chakravarty
On Wed, Nov 25, 2020 at 8:50 PM Bryn M. Reeves wrote: > Most likely you are just missing the dm-thin-pool module in the dracut > initramfs image. > > You can re-build it with the following command: > > # dracut -f /boot/initramfs-$(uname -r).img $(uname -r) > > If the running kernel matches

Re: [linux-lvm] What is the use of thin snapshots if the external origin cannot be set to writable ?

2020-11-26 Thread Sreyan Chakravarty
On Tue, Nov 24, 2020 at 5:29 PM Sreyan Chakravarty wrote: > Do I have to reinstall my system for thin snapshots ? > > Can't I just clone my filesystem and then create a thin pool ? > >> > > Used partclone to restore my backup. Did not have re-install but did have to delete old volumes. --

Re: [linux-lvm] System bricked after moving to thin snapshots

2020-11-26 Thread Sreyan Chakravarty
On Wed, Nov 25, 2020 at 8:50 PM Bryn M. Reeves wrote: > > See my reply to your other message - you need to rebuild your initramfs > image to include the dm-thin-pool module. > Yes I did that. Thanks. -- Regards, Sreyan Chakravarty ___ linux-lvm

Re: [linux-lvm] What is the use of thin snapshots if the external origin cannot be set to writable ?

2020-11-26 Thread Sreyan Chakravarty
On Wed, Nov 25, 2020 at 8:50 PM Bryn M. Reeves wrote: > You can, it's just typically easier for most users to re-install than to > execute the necessary steps to convert the system after the fact. > > If you have sufficient space then you can just create a thin pool, copy > your existing file

Re: [linux-lvm] System bricked after moving to thin snapshots

2020-11-26 Thread Sreyan Chakravarty
Never mind. Had to regenerate my initramfs. On Tue, Nov 24, 2020 at 5:34 PM Sreyan Chakravarty wrote: > Hi, > > I have cloned my original root LVM, and then migrated to the newer thin > LVMs using partclone. > > Both backup and restore went off without causing any problems. > > But when I am

Re: [linux-lvm] Unusually long boot times with LVM Snapshots

2020-11-26 Thread Sreyan Chakravarty
On Tue, Nov 24, 2020 at 5:27 PM Sreyan Chakravarty wrote: > > But I am unable to boot now due to these errors: > > Nov 24 10:44:00 localhost.HPNotebook dracut-initqueue[861]: Scanning > devices dm-0 for LVM logical volumes vgfedora/fedora > Nov 24 10:44:00 localhost.HPNotebook