[linux-lvm] "Data alignment must not exceed device size."

2018-04-10 Thread Richard W.M. Jones
Recently in Fedora something changed that stops us from creating small LVs for testing. An example failure with a 64 MB partitioned disk: # parted -s -- /dev/sda mklabel msdos mkpart primary 128s -128s Warning: The resulting partition is not properly aligned for best performance: 128s % 65535s

Re: [linux-lvm] "Data alignment must not exceed device size."

2018-04-10 Thread Richard W.M. Jones
On Tue, Apr 10, 2018 at 09:47:30AM +0100, Richard W.M. Jones wrote: > Recently in Fedora something changed that stops us from creating small > LVs for testing. > > An example failure with a 64 MB partitioned disk: > > # parted -s -- /dev/sda mklabel msdos mkpart primary 128s -128s > Warning: The

Re: [linux-lvm] "Data alignment must not exceed device size."

2018-04-10 Thread Zdenek Kabelac
Dne 10.4.2018 v 16:00 Richard W.M. Jones napsal(a): On Tue, Apr 10, 2018 at 09:47:30AM +0100, Richard W.M. Jones wrote: Recently in Fedora something changed that stops us from creating small LVs for testing. An example failure with a 64 MB partitioned disk: # parted -s -- /dev/sda mklabel msdo

Re: [linux-lvm] "Data alignment must not exceed device size."

2018-04-10 Thread Richard W.M. Jones
On Tue, Apr 10, 2018 at 04:43:12PM +0200, Zdenek Kabelac wrote: > Dne 10.4.2018 v 16:00 Richard W.M. Jones napsal(a): > >On Tue, Apr 10, 2018 at 09:47:30AM +0100, Richard W.M. Jones wrote: > >>Recently in Fedora something changed that stops us from creating small > >>LVs for testing. > >> > >>An ex

Re: [linux-lvm] "Data alignment must not exceed device size."

2018-04-10 Thread Zdenek Kabelac
Dne 10.4.2018 v 16:49 Richard W.M. Jones napsal(a): On Tue, Apr 10, 2018 at 04:43:12PM +0200, Zdenek Kabelac wrote: Dne 10.4.2018 v 16:00 Richard W.M. Jones napsal(a): On Tue, Apr 10, 2018 at 09:47:30AM +0100, Richard W.M. Jones wrote: Recently in Fedora something changed that stops us from cr

Re: [linux-lvm] "Data alignment must not exceed device size."

2018-04-10 Thread Richard W.M. Jones
This turns out to be a bug in qemu 2.12-rc1. It is fixed by this commit already upstream: commit 37c51741892a89cf5710f5ac231091fb0a6352c7 Author: Fam Zheng Date: Wed Mar 28 00:41:41 2018 +0800 scsi-disk: Don't enlarge min_io_size to max_io_size Some backends report big max_io_se

Re: [linux-lvm] "Data alignment must not exceed device size."

2018-04-10 Thread Zdenek Kabelac
Dne 10.4.2018 v 16:00 Richard W.M. Jones napsal(a): On Tue, Apr 10, 2018 at 09:47:30AM +0100, Richard W.M. Jones wrote: Recently in Fedora something changed that stops us from creating small LVs for testing. An example failure with a 64 MB partitioned disk: # parted -s -- /dev/sda mklabel msdo

Re: [linux-lvm] "Data alignment must not exceed device size."

2018-04-10 Thread Mike Snitzer
On Tue, Apr 10 2018 at 10:43am -0400, Zdenek Kabelac wrote: > Dne 10.4.2018 v 16:00 Richard W.M. Jones napsal(a): > >On Tue, Apr 10, 2018 at 09:47:30AM +0100, Richard W.M. Jones wrote: > >>Recently in Fedora something changed that stops us from creating small > >>LVs for testing. > >> > >>An exam