All of lore.kernel.org
 help / color / mirror / Atom feed
* Need assistance
@ 2023-01-30 12:37 Gk Gk
  2023-01-31 15:55 ` David Teigland
  0 siblings, 1 reply; 2+ messages in thread
From: Gk Gk @ 2023-01-30 12:37 UTC (permalink / raw)
  To: lvm-devel

Hi All,


I have two nvme disks with different sector sizes of 512 and 4096
respectively. When I try
to use them in creating a volume group, it is complaining to set the
'allow_mixed_block_sizes' option in lvm.conf file. But I read elsewhere
that doing this would corrupt data.

Can anyone explain to me under what specific case/cases  will I loose data
if I allow mixed blocked sizes ?


Thanks
Kumar
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://listman.redhat.com/archives/lvm-devel/attachments/20230130/b708f8d0/attachment.htm>

^ permalink raw reply	[flat|nested] 2+ messages in thread

* Need assistance
  2023-01-30 12:37 Need assistance Gk Gk
@ 2023-01-31 15:55 ` David Teigland
  0 siblings, 0 replies; 2+ messages in thread
From: David Teigland @ 2023-01-31 15:55 UTC (permalink / raw)
  To: lvm-devel

On Mon, Jan 30, 2023 at 06:07:03PM +0530, Gk Gk wrote:
> Hi All,
> 
> 
> I have two nvme disks with different sector sizes of 512 and 4096
> respectively. When I try
> to use them in creating a volume group, it is complaining to set the
> 'allow_mixed_block_sizes' option in lvm.conf file. But I read elsewhere
> that doing this would corrupt data.
> 
> Can anyone explain to me under what specific case/cases  will I loose data
> if I allow mixed blocked sizes ?

If an LV is using one disk, then there is clearly no problem.  If an LV is
using both disks, then we don't know all the issues that might appear --
linear/striped will be fine, but we've seen problems with cache,
writecache, snapshot.  Avoid pvmove or something where the disk under a
logical block might change.


^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2023-01-31 15:55 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2023-01-30 12:37 Need assistance Gk Gk
2023-01-31 15:55 ` David Teigland

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.