Skip to contentSkip to conversation

ubsfs scrubbing ?

DISCUSSION Mainz, Roland 2 participants 2 messages Jul 25, 2019 Memory technology devices (MTD)

lore
Share & tools
lore
#0 lore raw

Hi!

----

Is there a tool to scrub an ubifs filesystem, i.e. that data are read, verified and then written to a new block/leb ?

----

Bye,
Roland

Signature · 14 lines
 Roland Mainz, MAA/CAS
 Eckelmann AG, Berliner Str. 161, 65205 Wiesbaden
 Telefon +49/611/7103-661, Fax +49/611/7103-133
 [email protected]
 
 Eckelmann Group – Source of inspiration
 
 
  
 
    
______________________________________________________
Linux MTD discussion mailing list
http://lists.infradead.org/mailman/listinfo/linux-mtd/
#1 lore raw
Quoted 1 line · Roland

Is there a tool to scrub an ubifs filesystem, i.e. that data are read, verified and then written to a new block/leb ?

ubihealthd is maybe what you want. It constantly scans all PEBs, if bitflips happen, wearleveling will move the block.

If you really want to force re-write, create your own tool which uses the atomic-leb-change ioctl.

Thanks,
//richard

______________________________________________________
Linux MTD discussion mailing list
http://lists.infradead.org/mailman/listinfo/linux-mtd/