[Tutorials] 小白不会挂载ISCSI磁盘
Tofloor
poster avatar
136******28
deepin
2022-03-23 01:19
Author

小白,好奇装了deepin,不会挂载ISCSI磁盘

请指教,谢谢

Reply Favorite View the author
All Replies
doctor
deepin
2022-03-23 03:07
#1

https://zhuanlan.zhihu.com/p/60986068

Reply View the author
doctor
deepin
2022-03-23 03:07
#2

帮你找了一篇知乎的文章,不知道能不能帮到你

Reply View the author
136******28
deepin
2022-03-23 17:31
#3
# iscsiadm -m discovery -t sendtargets -p 192.168.1.1:3260

iscsiadm: Maybe you are not root?
iscsiadm: Could not lock discovery DB: /run/lock/iscsi/lock.write: Permission denied
iscsiadm: Maybe you are not root?
iscsiadm: Could not lock discovery DB: /run/lock/iscsi/lock.write: Permission denied
iscsiadm: Could not add new discovery record.

执行命令后出现这个提示,我不太理解

Reply View the author
136******28
deepin
2022-03-23 17:32
#4

IP是我内网IP,不是1.1,IP我是正确的

Reply View the author
136******28
deepin
2022-03-23 18:37
#5

sudo su

用户权限问题,现在能找到ISCSI磁盘,但是登上不去,加载不了

root@ZSC-PC:/home/ZSC# iscsiadm -m node –T iqn.2012-07.com.lenovoemc:storage.ix2-dl.Z -p 192.168.31.187:3260 -l
iscsiadm: No records found

Reply View the author
136******28
deepin
2022-03-23 20:01
#6

成功了,不知道是什么原因,刚刚又试了一下就可以了,谢谢了朋友@doctor

Reply View the author