ISCSI-MD5SUM(1)
β¨ ISCSI-MD5SUM(1) β¨
okay so bestie, welcome to iscsi-md5sum(1) β the little utility that does the absolute most with MD5 π
it's part of the iSCSI crew and it's here to hash a chunk of your LUN for you. no cap.
πΈ NAME πΈ
iscsi-md5sum β utility to calculate the MD5 value of an iSCSI LUN at range [LBAm, LBAn)
π SYNOPSIS π
iscsi-md5sum [ OPTIONS ] <ISCSI-PORTAL>
iscsi-md5sum [-i --initiator-name=<IQN>] [-o --offset] [-l --length]
[-d --debug] [-? --help] [--usage]
π¦ DESCRIPTION π¦
so iscsi-md5sum is literally a utility that calculates the MD5 value of an iSCSI LUN at range [LBAm, LBAn). that's it, that's the whole vibe. it's giving "trust but verify" β¨
π ISCSI PORTAL URL FORMAT π
the iSCSI portal format is:
'iscsi://[<username>[%<password>]@]<host>[:<port>]'
username and password are only required if the target requires CHAP authentication, fr fr. optionally you can specify the username and password via the environment variables LIBISCSI_CHAP_USERNAME and LIBISCSI_CHAP_PASSWORD instead β your call, bestie π«Ά
host can be specified either as a hostname, an IPv4 address or an IPv6 address. examples, since we love a visual:
iscsi://192.0.2.1
iscsi://[2001:DB8::1]:3261
iscsi://ronnie%password@iscsi.example.com
port is the TCP port on the target to connect to. default is 3260. iconic default behavior ngl π
π OPTIONS π
-i,--initiator-name=<IQN>β this specifies the initiator-name thatiscsi-md5sumwill use when logging in to the target.
the default name is 'iqn.2007-10.com.github:sahlberg:libiscsi:iscsi-md5sum' but you can use this argument to override it. this is mainly needed for cases where the target is configured with access-control to only allow discovery logins from known initiator-names. like, it's the bouncer checking the guest list and your IQN is your name on it π
-o,--offsetβ byte offset into the target from which to start calculating. the provided value must be aligned to the target sector size. the default value is zero.-l,--lengthβ the number of bytes to calculate (counting from the starting point). the provided value must be aligned to the target sector size. if the specified value extends past the end of the device,iscsi-md5sumwill stop at the device size boundary. the default value extends to the end of the device. she knows when to stop, periodt π-d,--debugβ print debug information. when things get weird, this is your bestie π-?,--helpβ display basic help text.--usageβ display basic usage text.
π AUTHOR π
zhenwei pi <pizhenwei@bytedance.com>
π SEE ALSO π
iscsi-inq(1) http://github.com/sahlberg/libiscsi
and that's the whole page, bestie!! πβ¨ this one is iscsi-md5sum, dated 10/25/2023, and the manual name is ISCSI-MD5SUM(1) β go forth and hash responsibly, ily π
π¦ where this page comes from
- arch rolling: libiscsi 1.20.3-1 Β· LGPL-2.1-or-later
- debian trixie: libiscsi-bin 1.20.0-4 Β· GPL-2.0-or-later
- fedora 43: libiscsi-utils 1.20.0-5.fc43 Β· GPL-2.0-or-later
- fedora 44: libiscsi-utils 1.20.3-4.fc44 Β· GPL-2.0-or-later
- nixos 26.05: libiscsi 1.20.3
- nixpkgs unstable: libiscsi 1.20.3
- ubuntu questing: libiscsi-bin 1.20.0-4
- ubuntu resolute: libiscsi-bin 1.20.0-4build1 Β· GPL-2.0-or-later
- ubuntu stonking: libiscsi-bin 1.20.0-4build1 Β· GPL-2.0-or-later
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash on : a language model's rewrite of the original, under its terms