From mboxrd@z Thu Jan 1 00:00:00 1970 Date: Tue, 5 Mar 2019 10:36:31 -0600 From: David Teigland Message-ID: <20190305163631.GD1155@redhat.com> References: <11dcbee0-ec65-d5d2-b07c-9937b99cc5b4@linux.ibm.com> <30346b34-c1e1-f7ba-be4e-a37d8ce8cf03@gmail.com> <1576db4f-1d7c-6894-d9b0-69c51852b11c@linux.ibm.com> <325bbb01-1b67-eafb-025e-4bfde1b16b54@gmail.com> <328b148e-61ff-1099-5362-3e799407580c@linux.ibm.com> <80ee50b6-4d44-90d1-b38e-4072ebbc7cbf@izyk.ru> MIME-Version: 1.0 Content-Disposition: inline In-Reply-To: Subject: Re: [linux-lvm] Filesystem corruption with LVM's pvmove onto a PV with a larger physical block size Reply-To: LVM general discussion and development List-Id: LVM general discussion and development List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , List-Id: Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: Nir Soffer Cc: Ingo Franzki , LVM general discussion and development On Tue, Mar 05, 2019 at 06:29:31PM +0200, Nir Soffer wrote: > I don't this way of thinking is useful. If we go in this way, then write() > should not > let you write data, and later maybe the disk controller should avoid this? > > LVM is not a low level tool like dd. It is high level tool for managing > device mapper, > and providing high level tools to create user level abstractions. We can > expect it > to prevent system administrator from doing the wrong thing. > > Maybe LVM should let you mix PVs with different logical block size, but it > should > require --force. > > David, what do you think? LVM needs to fix this, your solution sounds like the right one.