惯性聚合 高效追踪和阅读你感兴趣的博客、新闻、科技资讯
阅读原文 在惯性聚合中打开

推荐订阅源

Simon Willison's Weblog
Simon Willison's Weblog
P
Privacy International News Feed
www.infosecurity-magazine.com
www.infosecurity-magazine.com
T
Troy Hunt's Blog
Hacker News - Newest:
Hacker News - Newest: "LLM"
Attack and Defense Labs
Attack and Defense Labs
S
Secure Thoughts
V2EX - 技术
V2EX - 技术
cs.AI updates on arXiv.org
cs.AI updates on arXiv.org
O
OpenAI News
Cloudbric
Cloudbric
Google Online Security Blog
Google Online Security Blog
Schneier on Security
Schneier on Security
cs.CV updates on arXiv.org
cs.CV updates on arXiv.org
Help Net Security
Help Net Security
Cyberwarzone
Cyberwarzone
G
GRAHAM CLULEY
L
Lohrmann on Cybersecurity
Threat Intelligence Blog | Flashpoint
Threat Intelligence Blog | Flashpoint
Spread Privacy
Spread Privacy
NISL@THU
NISL@THU
N
News and Events Feed by Topic
T
Tenable Blog
S
Security @ Cisco Blogs
N
News and Events Feed by Topic
The Hacker News
The Hacker News
C
CXSECURITY Database RSS Feed - CXSecurity.com
宝玉的分享
宝玉的分享
月光博客
月光博客
酷 壳 – CoolShell
酷 壳 – CoolShell
美团技术团队
奇客Solidot–传递最新科技情报
奇客Solidot–传递最新科技情报
Google DeepMind News
Google DeepMind News
钛媒体:引领未来商业与生活新知
钛媒体:引领未来商业与生活新知
T
Tailwind CSS Blog
V
Visual Studio Blog
P
Proofpoint News Feed
Webroot Blog
Webroot Blog
让小产品的独立变现更简单 - ezindie.com
让小产品的独立变现更简单 - ezindie.com
博客园 - 三生石上(FineUI控件)
cs.CL updates on arXiv.org
cs.CL updates on arXiv.org
Jina AI
Jina AI
雷峰网
雷峰网
T
The Blog of Author Tim Ferriss
Hugging Face - Blog
Hugging Face - Blog
腾讯CDC
L
LangChain Blog
The Register - Security
The Register - Security
OSCHINA 社区最新新闻
OSCHINA 社区最新新闻
博客园 - 聂微东

博客园 - Shark Xu

我的英雄梦和家国情怀——写于2021年国庆前夕 幻方算法 自己制作的粉碎机批处理程序 Ubuntu 16.10 server 相关 android sdk manager 假如不能从官方下载或者很慢,可以参照下面的网址 HttpModule生命周期示意图 Windows 2012 安装 .net framework 3.5 在Windows 2008/2008 R2 上配置IIS 7.0/7.5 故障转移集群 11G RAC 中 OCR 及Voting Disk 相关操作 RHEL 6 或者 Oracle Linux 6, 不关机识别新添加的scsi硬盘 在Window下安装Oracle 12C Cloud Control Agent 如何修改 EM12c 中 SYSMAN 用户的密码? 在Oracle Linux Server release 6.4下配置ocfs2文件系统 whoami 和 Who am i 手动升级11.2.0.1的rac数据库到11.2.0.4 oracle 11G rac 11.2.0.1 打补丁9413827 oracle 11g 使用物化视图远程增量刷新数据 ORACLE 11.2.0.4 OCR VOTING DISK 模拟恢复场景 Oracle Enterprise Linux 6.4 下配置vncserver
Oracle Enterprise Linux 6.4 下挂载ISCSI 设备
Shark Xu · 2014-02-27 · via 博客园 - Shark Xu

Oracle Enterprise Linux 6.4 下挂载ISCSI 设备
一、发现
① 要求安装iscsi客户端软件
   yum install iscsi-initiator-utils

② 发现ISCSI 服务器上的 TARGET
    iscsiadm -m discover -t sendtargets -p 192.168.139.9
    
    此命令等同于
    iscsiadm --mode discover --type sendtargets --portal 192.168.139.9

    以上命令会输出:
     192.168.139.9:3260,1 iqn.2006-01.com.openfiler:tsn.c6f306d76a34
    某台服务器上,有可能不止一个TARGET
    我的当初就出现了这样的错误:Cannot perform discovery. Invalid Initiatorname.   
    发现是/ets/iscsi/initiatorname.iscsi配置不正确

③ 发现TARGET 上的设备
    iscsiadm -m node -T iqn.2006-01.com.openfiler:tsn.c6f306d76a34 -p 192.168.139.9 -l
    此命令等同于
    iscsiadm --mode node -T iqn.2006-01.com.openfiler:tsn.c6f306d76a34 --portal 192.168.139.9 --login

④ 查看是否有新设备出现
    fdisk -l
    接着可以对磁盘进行分区

二、保证重启后,继续有效
① chkconfig iscsi on
   注意不是iscsid,这个服务是iscsi 服务器端

② 修改 /etc/iscsi/iscsid.conf,找到下面的行,将注释去掉
   # node.startup = automatic

③ 重启服务
   service iscsi stop
   fdisk -l
   (iscsi 磁盘应该没有了)
   service iscsi start
   fdisk -l