Linux主机上挂载SAN资源
在存储设备上配置好SAN资源后,操作Linux主机服务器
1.安装iSCSI驱动程序;
2.Linux主机安装iSCSI Initiator;
3.配置iSCSI Inititor,主要是IP地址和InitiatorName,这一步得重启进程;
#vi /etc/iscsi.conf
DiscoveryAddress=10.0.1.1
:wq!保存退出;
#/etc/init.d/iscsi restart
#vi /etc/initiatorname.iscsi
InitiatorName=iqn.2008-01.com:hostname
:wq!
#service iscsi restart
#iscsi -ls
4.配置存储资源,格式化分区
#iscsi-ls -l
#fdisk -l
#fdisk /dev/sdc
#m
#n
#p
#l
#w
#fdisk -l
#mkfs -t ext3 /dev/sdc1
5.配置自动挂载
#mkdir /test
#tune2fs -l /dev/sdc1 |grep uuid
相关推荐
yunna0 2020-06-08
sapliang 2020-01-11
furongwei 2019-12-20
thlm0 2019-12-20
leodengzx 2019-12-18
lsn0LSN 2008-08-17
Jesuslovesme 2011-04-21
河的第三条岸 2011-05-20
vanturman 2019-10-22
WindowsTao 2013-06-29
onlykg 2010-03-17
enchen 2010-08-08
稻草人的高粱地 2013-06-23
86201746 2019-06-20
yykk 2019-04-03
xiaoqiang 2019-04-07
bingjava 2019-04-01
Lemonlemontree 2015-04-12