linux下san存储多路径软件的配置
更新时间:2024-02-29 11:21:01 阅读量: 综合文库 文档下载
linux下,san存储多路径软件的配置
linux下,san存储多路径软件的配置
1、使用 ntsysv 命令 将mulitipath服务开启
[*] multipathd
2、启动该服务
[root@mail init.d]# service multipathd start Starting multipathd daemon:
3、修改配置文件/etc/multipath.conf
vi /etc/multipath.conf
# This is a basic configuration file with some examples, for device mapper # multipath.
# For a complete list of the default configuration values, see
# /usr/share/doc/device-mapper-multipath-0.4.7/multipath.conf.defaults # For a list of configuration options with descriptions, see
# /usr/share/doc/device-mapper-multipath-0.4.7/multipath.conf.annotated
# Blacklist all devices by default. Remove this to enable multipathing # on the default devices. blacklist {
[color=Red]# devnode \}
## By default, devices with vendor = \## blacklisted. To enable mulitpathing on these devies, uncomment the ## following lines. #blacklist_exceptions {
4、使用 multipath -F 删除现有路径
5、multipath -v2 格式化路径
6、使用 multipath -ll 查看多路径
[root@mail /]# multipath -ll
mpath0 (3600508b40006ea6e0001a000002a0000) dm-2 HP,HSV210 [size=500G][features=1 queue_if_no_path][hwhandler=0] \\_ round-robin 0 [prio=100][active] \\_ 0:0:2:1 sdc 8:32 [active][ready] \\_ 0:0:3:1 sdd 8:48 [active][ready] \\_ round-robin 0 [prio=20][enabled] \\_ 0:0:0:1 sda 8:0 [active][ready] \\_ 0:0:1:1 sdb 8:16 [active][ready]
7、使用fdisk -l 查看多路径的情况
[root@mail /]# fdisk -l
Disk /dev/cciss/c0d0: 146.7 GB, 146778685440 bytes 255 heads, 63 sectors/track, 17844 cylinders Units = cylinders of 16065 * 512 = 8225280 bytes
Device Boot Start End Blocks Id System /dev/cciss/c0d0p1 * 1 13 104391 83 Linux
/dev/cciss/c0d0p2 14 17844 143227507+ 8e Linux LVM
Disk /dev/cciss/c0d1: 733.9 GB, 733909245952 bytes 255 heads, 63 sectors/track, 89226 cylinders Units = cylinders of 16065 * 512 = 8225280 bytes
Device Boot Start End Blocks Id System /dev/cciss/c0d1p1 * 1 89226 716707813+ 83 Linux
Disk /dev/sda: 536.8 GB, 536870912000 bytes 255 heads, 63 sectors/track, 65270 cylinders Units = cylinders of 16065 * 512 = 8225280 bytes
Disk /dev/sda doesn't contain a valid partition table
Disk /dev/sdb: 536.8 GB, 536870912000 bytes 255 heads, 63 sectors/track, 65270 cylinders Units = cylinders of 16065 * 512 = 8225280 bytes
Disk /dev/sdb doesn't contain a valid partition table
Disk /dev/sdc: 536.8 GB, 536870912000 bytes 255 heads, 63 sectors/track, 65270 cylinders Units = cylinders of 16065 * 512 = 8225280 bytes
Disk /dev/sdc doesn't contain a valid partition table
Disk /dev/sdd: 536.8 GB, 536870912000 bytes 255 heads, 63 sectors/track, 65270 cylinders Units = cylinders of 16065 * 512 = 8225280 bytes
Disk /dev/sdd doesn't contain a valid partition table
Disk /dev/dm-2: 536.8 GB, 536870912000 bytes 255 heads, 63 sectors/track, 65270 cylinders Units = cylinders of 16065 * 512 = 8225280 bytes
Disk /dev/dm-2 doesn't contain a valid partition table
8、格式化
mkfs -t extx /dev/dm-2
9、挂载即可使用
#fdisk /dev/sdc #m #n #p #l #w #fdisk -l
#mkfs -t ext3 /dev/sdc1 5.配置自动挂载 #mkdir /test
#tune2fs -l /dev/sdc1 |grep uuid
正在阅读:
linux下san存储多路径软件的配置02-29
2023年领导干部在下半年党建工作部署会上的讲话范文03-22
林 姓 字 辈10-05
(目录)2017-2022年中国饲料生产专用设备行业市场深度调研与投02-26
半导体物理习题05-13
某道路园林绿化施工05-13
北京理工大学数学专业数理统计期末试题(07000233)10-14
关于鲁迅先生的手抄报作品集02-16
2013年邢台市直事业单位公开招聘工作人员拟聘人员名单11-18
销售高手的成功销售案例06-09
- 多层物业服务方案
- (审判实务)习惯法与少数民族地区民间纠纷解决问题(孙 潋)
- 人教版新课标六年级下册语文全册教案
- 词语打卡
- photoshop实习报告
- 钢结构设计原理综合测试2
- 2014年期末练习题
- 高中数学中的逆向思维解题方法探讨
- 名师原创 全国通用2014-2015学年高二寒假作业 政治(一)Word版
- 北航《建筑结构检测鉴定与加固》在线作业三
- XX县卫生监督所工程建设项目可行性研究报告
- 小学四年级观察作文经典评语
- 浅谈110KV变电站电气一次设计-程泉焱(1)
- 安全员考试题库
- 国家电网公司变电运维管理规定(试行)
- 义务教育课程标准稿征求意见提纲
- 教学秘书面试技巧
- 钢结构工程施工组织设计
- 水利工程概论论文
- 09届九年级数学第四次模拟试卷
- 路径
- 存储
- 配置
- linux
- 软件
- san
- 中医基础理论期末考试重点整理
- 大庆市第四十二中学2010秋季运动会程序册
- 高倍放大镜下各种版别邮票特征 - 图文
- 银行前台柜员心得体会
- 八年级语文上册 第9课纪念白求恩练习 语文版
- 2016通信原理复习题(含答案)
- 管理学原理采访报告(最终版)
- 数学实验报告
- 人教版四年级语文上册教学计划
- 建设项目用地预审申报材料清单
- 小学数学学科教学质量分析报告
- 思维导图在小学语文阅读教学中的应用初探
- 全面推进新农村建设的思考
- 检察机关民行部门提起刑事附带民事诉讼问题研究
- 英语演讲稿The Magic Of Music
- MPLS协议基础
- 精编2007年一级建造师《房屋建筑工程管理实务》真题及答案资料
- 初中英语阅读理解的解题技巧
- 数学文化2018尔雅满分答案
- 真人CS项目方案书 - 图文