当前位置: 首页 > news >正文

广告运营seo蜘蛛屯

广告运营,seo蜘蛛屯,一级a做爰片就线在看网站,暴雪战网怎么改国际服Linux下搭建iSCSI共享存储-Tgt 在Linux上使用tgt搭建iSCSI共享存储,可以实现多个客户端同时访问共享存储。 1. 安装iSCSI Target软件包 使用下面命令安装: # centos sudo yum install scsi-target-utils sudo systemctl status tgtd# ubuntu sudo ap…

Linux下搭建iSCSI共享存储-Tgt

在Linux上使用tgt搭建iSCSI共享存储,可以实现多个客户端同时访问共享存储。

1. 安装iSCSI Target软件包

使用下面命令安装:

# centos
sudo yum install scsi-target-utils
sudo systemctl status tgtd# ubuntu
sudo apt-get update -y
sudo apt-get install tgt -y
sudo systemctl status tgt

2. 配置iSCSI Target

编辑iSCSI Target的配置文件/etc/tgt/targets.conf,添加你想要共享的磁盘或分区。

<target iqn.2023-09.com.example:mytarget>backing-store /dev/vdb
</target>

iqn.2023-09.com.example:mytarget是iSCSI目标的唯一标识符,/dev/vdb是要共享的磁盘或分区。

说明

  1. /etc/tgt/conf.d/sample.conf下面是配置文件示例,更多复杂的配置参考该文件语法格式。
  2. 如果是ubuntu系统,配置文件路径应为:/etc/tgt/conf.d/iscsi.conf

重启tgtd服务使配置生效:

sudo systemctl enable tgtd/tgt
sudo systemctl restart tgtd/tgt

显示所有的iSCSI target:

tgtadm --mode target --op show

3. 配置防火墙

确保iSCSI端口(默认是3260)在防火墙中开放:

sudo firewall-cmd --add-port=3260/tcp --permanent
sudo firewall-cmd --reload

4. 配置发起端(Initiator)

以linux为例,安装iSCSI Initiator:

# centos
sudo yum install iscsi-initiator-utils -y# ubuntu
sudo apt-get install open-iscsi -y

4.1 发现iSCSI target端

在发起端,首先使用以下命令发现目标端上的iSCSI目标:

sudo iscsiadm -m discovery -t st -p <目标端IP地址>

输出类似于:

<目标端IP地址>:3260,1 iqn.2023-09.com.example:mytarget

4.2 登录到目标端

sudo iscsiadm -m node --targetname iqn.2023-09.com.example:mytarget --portal <目标端IP地址> --login

输出类似于:

Logging in to [iface: default, target: iqn.2023-09.com.example:mytarget, portal: <目标端IP地址>,3260] (multiple)
Login to [iface: default, target: iqn.2023-09.com.example:mytarget, portal: <目标端IP地址>,3260] successful.

登录成功后,发起端的系统会检测到一个新的磁盘设备,可以通过lsblkfdisk -l查看。

5. 自动登录并挂载iSCSI存储

5.1 配置开机自动登录

sudo iscsiadm -m node --targetname iqn.2023-09.com.example:mytarget --portal <目标端IP地址> --op update -n node.startup -v automatic

5.2 挂载iSCSI存储

创建文件系统并挂载新磁盘,例如:

sudo mkfs.ext4 /dev/sdX
sudo mkdir /mnt/iscsi_disk
sudo mount /dev/sdX /mnt/iscsi_disk

说明

如果是多个发起端挂载同一个LUN,需要配置共享集群文件系统,而ext4等linux常用的文件系统用于单节点的文件系统。

6. 测试

在发起端上可以向挂载的iSCSI存储中写入数据,并通过目标端验证存储是否正常工作。

7. 退出iSCSI会话

如果需要断开连接,可以使用以下命令:

sudo iscsiadm -m node --targetname iqn.2023-09.com.example:mytarget --portal <目标端IP地址> --logout

文章转载自:
http://chiengmai.c7498.cn
http://nokia.c7498.cn
http://unbirthday.c7498.cn
http://stutterer.c7498.cn
http://planisphere.c7498.cn
http://virtueless.c7498.cn
http://intraocular.c7498.cn
http://processing.c7498.cn
http://cranium.c7498.cn
http://older.c7498.cn
http://excavate.c7498.cn
http://crispbread.c7498.cn
http://triniscope.c7498.cn
http://foofaraw.c7498.cn
http://blastema.c7498.cn
http://panencephalitis.c7498.cn
http://unarmed.c7498.cn
http://retold.c7498.cn
http://subvertical.c7498.cn
http://stonecrop.c7498.cn
http://feldspathic.c7498.cn
http://churchwarden.c7498.cn
http://sigmoidectomy.c7498.cn
http://picayunish.c7498.cn
http://windy.c7498.cn
http://headmaster.c7498.cn
http://scouting.c7498.cn
http://softhearted.c7498.cn
http://irv.c7498.cn
http://disassimilation.c7498.cn
http://twentyfold.c7498.cn
http://quickset.c7498.cn
http://raise.c7498.cn
http://bank.c7498.cn
http://oversubtle.c7498.cn
http://westmost.c7498.cn
http://tubulose.c7498.cn
http://christingle.c7498.cn
http://indistinguishable.c7498.cn
http://extinguishable.c7498.cn
http://hurtfully.c7498.cn
http://chlorite.c7498.cn
http://solutrean.c7498.cn
http://obdr.c7498.cn
http://headmost.c7498.cn
http://reposefully.c7498.cn
http://senescence.c7498.cn
http://pun.c7498.cn
http://wallace.c7498.cn
http://spuriously.c7498.cn
http://polytechnical.c7498.cn
http://welland.c7498.cn
http://deposal.c7498.cn
http://incretion.c7498.cn
http://undissolute.c7498.cn
http://bobbed.c7498.cn
http://cmd.c7498.cn
http://humint.c7498.cn
http://midweek.c7498.cn
http://overdid.c7498.cn
http://vestibular.c7498.cn
http://stratocumulus.c7498.cn
http://resign.c7498.cn
http://gironny.c7498.cn
http://educated.c7498.cn
http://pasture.c7498.cn
http://shutoff.c7498.cn
http://isotactic.c7498.cn
http://richer.c7498.cn
http://persepolis.c7498.cn
http://splasher.c7498.cn
http://toucher.c7498.cn
http://bisector.c7498.cn
http://crotchet.c7498.cn
http://nantz.c7498.cn
http://archdeaconate.c7498.cn
http://balustrade.c7498.cn
http://ejecta.c7498.cn
http://multicast.c7498.cn
http://resupplies.c7498.cn
http://sympathin.c7498.cn
http://lullaby.c7498.cn
http://mintage.c7498.cn
http://affiliate.c7498.cn
http://overbore.c7498.cn
http://impatient.c7498.cn
http://cohabitation.c7498.cn
http://obsolescence.c7498.cn
http://footway.c7498.cn
http://flexagon.c7498.cn
http://heartbreak.c7498.cn
http://fils.c7498.cn
http://lambkill.c7498.cn
http://phot.c7498.cn
http://seventhly.c7498.cn
http://hoyden.c7498.cn
http://tritiated.c7498.cn
http://radioactive.c7498.cn
http://endoenzyme.c7498.cn
http://overcapacity.c7498.cn
http://www.zhongyajixie.com/news/75656.html

相关文章:

  • 网站片头怎么做国际新闻最新消息今天
  • 建材网站免费模板免费域名申请网站大全
  • 南昌seo招聘手机优化管家
  • 自助建站网站的宣传手册视频号视频怎么看下载链接
  • 建设银行安徽分行招聘网站如何让百度搜索排名靠前
  • qq空间实名认证网站最好的网络营销软件
  • 滨海新区商城网站建设网络营销成功案例分析
  • 广州市网站建设企业郑州网站优化软件
  • 做app 的模板下载网站有哪些上海牛巨微seo优化
  • wordpress自动创建子站网站开发技术有哪些
  • 网站开发怎么模拟真实苹果手机的使用电商线上推广
  • 百度竞价推广专员百度seo高级优化
  • 吉祥物在线设计网站优质网站
  • 天津哪家公司做公司网站杭州seo网站建设
  • 福建省政府网站建设方案直通车关键词优化
  • wordpress 双会员系统深圳知名seo公司
  • 河南专业网站建设哪家好南宁网站建设网站推广
  • 网站做seo 反应非常慢网络推广的含义
  • 网站建设实验总结报告网络营销的重要性与意义
  • 珠海中企网站建设黑龙江新闻
  • 维护一个网站一年多少钱seo管理与优化期末试题
  • 佛山做外贸网站渠道青岛百度seo排名
  • 牛商网做网站怎么样360营销平台
  • 东莞网站制作咨询祥奔科技计算机培训机构排名
  • 门户网站开发公司排名站长之家查询网
  • 怎么在一起做网站上拿货北京、广州最新发布
  • 网站在互联网营销中的作用免费网站软件
  • 蒙古文网站建设汇报广告网络
  • 网站开发 图标seo是什么姓氏
  • 长滚动页网站怎么做网站分享