Linux RAID subsystem development
 help / color / mirror / Atom feed
* LBS setup
@ 2026-05-24 10:27 Piergiorgio Sartor
  0 siblings, 0 replies; only message in thread
From: Piergiorgio Sartor @ 2026-05-24 10:27 UTC (permalink / raw)
  To: linux-raid

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

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2026-05-24 10:35 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2026-05-24 10:27 LBS setup Piergiorgio Sartor

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox