# apt-get install targetcli-fb
Reading package lists... Done
Building dependency tree... Done
Reading state information... Done
The following additional packages will be installed:
python3-configshell-fb python3-pyudev python3-rtslib-fb python3-urwid
Suggested packages:
python-urwid-doc
The following NEW packages will be installed:
python3-configshell-fb python3-pyudev python3-rtslib-fb python3-urwid targetcli-fb
0 upgraded, 5 newly installed, 0 to remove and 0 not upgraded.
Need to get 323 kB of archives.
After this operation, 2,047 kB of additional disk space will be used.
Do you want to continue?
fallocate -l 64T disk_win_64T.img
targetcli
targetcli shell version 2.1.53
cd /backstores/fileio
create name=disk1 file_or_dev=/data/hyang0/disk_win_64T.img
cd /iscsi
create inq.2025-04.vip.it:st-target1
/> cd /iscsi/inq.2025-04.vip.it:st-target1/tpg1
/iscsi/iqn...../tpg1/luns> create /backstores/fileio/disk1
cd acls
create iqn.1991-05.com.microsoft:win-11hxxxx
原文始发于微信公众号(生有可恋):iscsi 存储服务
免责声明:文章中涉及的程序(方法)可能带有攻击性,仅供安全研究与教学之用,读者将其信息做其他用途,由读者承担全部法律及连带责任,本站不承担任何法律及连带责任;如有问题可邮件联系(建议使用企业邮箱或有效邮箱,避免邮件被拦截,联系方式见首页),望知悉。
- 左青龙
- 微信扫一扫
-
- 右白虎
- 微信扫一扫
-
评论