LBS setup
Piergiorgio Sartor <[email protected]>
| Newsgroups | gmane.linux.raid |
|---|---|
| Message-ID | <[email protected]> |
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