#619545 pvcreate: man page should list dataalignment default

Package:
lvm2
Source:
lvm2
Description:
Linux Logical Volume Manager
Submitter:
Matt Taggart
Date:
2015-11-11 06:54:04 UTC
Severity:
wishlist
#619545#5
Date:
2011-03-24 22:44:21 UTC
From:
To:
The pvcreate(8) manpage does not list a default for --dataalignment,
could you add it? There is also no default listed for
--dataalignmentoffset (I assume it's zero?) maybe that would be good to
add too.

The vgcreate(8) man page does list a default of 4 MB for
--physicalextentsize but does it really use that as the default always
or is it smart enough to look at what the pv is using for
dataalignment? It might help to add some clarifying text there too.

The reason (for me) that it would be good to have this info is
when trying to ensure that the various levels of the stack (partition,
md,luks,pv,vg,lv) are aligned for optimal performance.

Thanks,

#619545#10
Date:
2015-11-10 17:29:27 UTC
From:
To:
Matt Taggart wrote on 24 Mar 2011:
*t

#619545#15
Date:
2015-11-10 21:32:01 UTC
From:
To:
Tomas Pospisek writes:

OK, so
1) pvcreate(8) still needs to list defaults for --dataalignment and
--dataalignmentoffset

2) without going into too much specifics about tuning, I think the
vgcreate(8) man page should probably mention something like

  "physicalextentsize should be equal to or larger than, and a multiple of
the PV dataalignment setting"

but someone who understands the tuning issues can probably improve on the
above.

Thanks,

#619545#20
Date:
2015-11-11 06:51:29 UTC
From:
To:
Hello Matt,

I *think* if you want to improve lvm's docu the most effective action
would be to take these suggestions upstream [1]: while I am not
sufficiently informed on the state of lvm maintenance in Debian, I see
that there hasn't been any action on various bug reports/patches in its
bug tracker that naively would seem to be easy to act on. Meanwhile from
the few bug reports upstream that I have looked at, I got the impression
that upstream is quite responsive.

@Debian LVM maintainers:

I very much appreciate your effort and am thankful that I am able to use
lvm in Debian. In my above comment I do not want to imply any judgement on
the quality of the maintenance of lvm.

Thanks,
*t

[1] https://www.sourceware.org/lvm2/