1
0
mirror of git://sourceware.org/git/lvm2.git synced 2024-12-21 13:34:40 +03:00

man: lvmcache note dm-cache block size issue

This commit is contained in:
David Teigland 2019-10-08 09:59:38 -05:00
parent b6240c9188
commit 53b97b146d

View File

@ -140,6 +140,21 @@ metadata.) This can be used with dm-cache.
\&
.SS dm-cache block size
\&
A cache pool will have a logical block size of 4096 bytes if it is created
on a device with a logical block size of 4096 bytes.
If a main LV has logical block size 512 (with an existing xfs file system
using that size), then it cannot use a cache pool with a 4096 logical
block size. If the cache pool is attached, the main LV will likely fail
to mount.
To avoid this problem, use a mkfs option to specify a 4096 block size for
the file system, or attach the cache pool before running mkfs.
.SS dm-writecache block size
\&