Re: LBS setup

Piergiorgio Sartor <[email protected]>
Newsgroups gmane.linux.raid
Message-ID <[email protected]>
Hi again,

not sure, but has anybody comments
on the topic?

Thanks,

bye,

pg

On Sun, May 24, 2026 at 12:27:27PM +0200, Piergiorgio Sartor wrote:
> Hi all,
> 
> I've some questions about some recent
> report from kernel.
> I assume from 7.x.y, from what I understood.
> Not sure about the <= 6.18 reported.
> 
> In the boot log there is:
> 
> md0: echo current LBS to md/logical_block_size to prevent data loss issues from LBS changes.
>       Note: After setting, array will not be assembled in old kernels (<= 6.18)
> 
> I found the docs stating:
> 
> logical_block_size
> 	... Write the value before starting array. ...
> 
> Now, should we really copy the value from:
> 
> /sys/class/block/md0/queue/logical_block_size
> 
> to:
> 
> /sys/class/block/md0/md/logical_block_size
> 
> ???
> 
> Note, the first in my system is 512, the
> second is 0.
> 
> Second, the docs says "before starting array".
> In case this is due (copy the value), how to do
> for a system array?
> I mean, the array where the whole OS lies.
> 
> If needed, is there any way to do this automatically?
> Using mdadm or something?
> 
> Thanks,
> 
> bye,
> 
> -- 
> 
> piergiorgio
> 

-- 

piergiorgio
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.