[linux-lvm] The lvm partiton size is not accurate

2022-05-20 Thread Yu, Mingli
Hi Experts, When use lvcreate to claim 72M partition, but it turns out to be 69M, more details as below, any hints? root@intel-x86-64:~# tmp_dir=`mktemp -d /tmp/XX` root@intel-x86-64:~# dd if=/dev/zero of=${tmp_dir}/p0 bs=1M count=100 100+0 records in 100+0 records out 104857600 bytes (105

[linux-lvm] The size specified by "lvcreate -L" is not accurate

2021-09-02 Thread Yu, Mingli
Per https://git.kernel.org/pub/scm/fs/ext2/e2fsprogs.git/tree/doc/RelNotes/v1.46.4.txt, after e2fsprogs upgrades to 1.46.4, the defaults for mke2fs now call for 256 byte inodes for all file systems (with the exception of file systems for the GNU Hurd, which only supports 128 byte inodes) and us