Files
libiscsi/utils
zhenwei pi 45b274aec8 iscsi-md5sum: Add new tool
The new tool 'iscsi-md5sum' is used to calculate MD5 value of an iSCSI
target. This help users to verify data at range [LBA, Length).

For example, double-write on a RAID1 of 2 iSCSI targets, a daemon
process runs iscsi-md5sum to check data periodically.

Originally, we have to use several steps to achieve:
1, use iscsiadm to login.(root privilege required)
2, use dd(dd if=/dev/sdX of=/TMPPATH bs=4k count=LENGTH skip=LBA)
   to dump data. (root privilege required, additional disk space required)
3, use md5sum to calculate MD5 value
4, remove data.

Instead, a single command iscsi-md5sum without root privilege is enough.

Signed-off-by: zhenwei pi <pizhenwei@bytedance.com>
2023-07-31 15:29:11 +08:00
..
2023-07-21 18:15:45 +08:00
2023-07-08 07:44:16 -07:00
2022-06-07 19:19:39 -07:00
2023-07-31 15:29:11 +08:00
2023-07-08 07:44:16 -07:00
2023-07-08 07:44:16 -07:00
2023-07-08 07:44:16 -07:00
2023-07-31 15:29:11 +08:00