dm-integrity target

Request a package to be made here. Make sure you have searched before requesting.

dm-integrity target

Postby erm67 » Sat Nov 04, 2017 4:42 pm

Don't know if it's the right place to ask since it's not exactly a new package request, but anyway:
linux 4.12 introduced dm-integrity: a device-mapper target that emulates per-sector (integrity) tags, that can be used to detect silent corrution (bitrot) on a device.
It would be nice to have the kernel module shipped by default since it might be useful, I use linux-kirkwood-dt.
from the wiki https://gitlab.com/cryptsetup/cryptsetu ... MIntegrity:

$this->bbcode_second_pass_quote('', 'T')o enable dm-integrity support, enable CONFIG_DM_INTEGRITY in Device Drivers/Multi-device support
(RAID and LVM) configuration option.
It will automatically enable CONFIG_BLK_DEV_INTEGRITY kernel option to support integrity tags in IO requests.

To configure you need userspace components: device mapper library
(part of LVM2 package) and integritysetup (part of cryptsetup package).

The dm-integrity target is available since kernel version 4.12.

In the current config it is not enabled:
https://archlinuxarm.org/packages/arm/l ... les/config
$this->bbcode_second_pass_quote('', '.')..
CONFIG_BLK_DEV_INTEGRITY=y
...
# CONFIG_DM_INTEGRITY is not set
...


Additionally the integritysetup tool is not yet released, it is part of master branch of cryptsetup project, but that is not really a problem since the module can be used without the tool or cryptsetup compiled locally or there could be a cryptsetup-git in AUR providing integritysetu.
erm67
 
Posts: 5
Joined: Mon Aug 08, 2016 7:28 pm

Re: dm-integrity target

Postby moonman » Sat Nov 11, 2017 1:44 am

This will be available with linux-kirkwood-dt 4.13.12-2
Pogoplug V4 | GoFlex Home | Raspberry Pi 4 4GB | CuBox-i4 Pro | ClearFog | BeagleBone Black | Odroid U2 | Odroid C1 | Odroid XU4
-----------------------------------------------------------------------------------------------------------------------
[armv5] Updated U-Boot | [armv5] NAND Rescue System
moonman
Developer
 
Posts: 3387
Joined: Sat Jan 15, 2011 3:36 am

Re: dm-integrity target

Postby erm67 » Mon Nov 13, 2017 9:10 pm

Thank you a lot.
erm67
 
Posts: 5
Joined: Mon Aug 08, 2016 7:28 pm

Re: dm-integrity target

Postby erm67 » Tue Nov 14, 2017 10:36 pm

Too bad it uses way too much ram to be useful on the goflex ........... hopefully that will improve.
erm67
 
Posts: 5
Joined: Mon Aug 08, 2016 7:28 pm


Return to Package Requests

Who is online

Users browsing this forum: No registered users and 5 guests