linux下san存储多路径软件的配置
更新时间:2023-12-16 06:01: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存储多路径软件的配置12-16
最新2018年环境监察大队工作总结和2019年工作计划12-16
关于以家庭为单位征收个人所得税问题之分析05-11
福师18春《高级英语(三)》在线作业二11-16
泰安市雪阜山养殖公司千头奶牛养殖场建设项目可行性研究报告10-09
运营隧道结构监测技术以及健康安全评价体系 - 图文01-18
情境式默写11-28
- exercise2
- 铅锌矿详查地质设计 - 图文
- 厨余垃圾、餐厨垃圾堆肥系统设计方案
- 陈明珠开题报告
- 化工原理精选例题
- 政府形象宣传册营销案例
- 小学一至三年级语文阅读专项练习题
- 2014.民诉 期末考试 复习题
- 巅峰智业 - 做好顶层设计对建设城市的重要意义
- (三起)冀教版三年级英语上册Unit4 Lesson24练习题及答案
- 2017年实心轮胎现状及发展趋势分析(目录)
- 基于GIS的农用地定级技术研究定稿
- 2017-2022年中国医疗保健市场调查与市场前景预测报告(目录) - 图文
- 作业
- OFDM技术仿真(MATLAB代码) - 图文
- Android工程师笔试题及答案
- 生命密码联合密码
- 空间地上权若干法律问题探究
- 江苏学业水平测试《机械基础》模拟试题
- 选课走班实施方案
- 路径
- 存储
- 配置
- linux
- 软件
- san
- 游戏扫雷的玩法技巧详解(附图)
- 《手术台就是阵地》教学设计
- 高中物理:光电效应与光的波粒二象性单元测试 教科版选修3-5
- 注册表各项详解
- 2014高考数学复习二次函数测试题(带答案)
- 揭阳市中小学音乐、美术教师优秀论文、优秀 教学案例评选活动获奖
- 新版教科版四年级下册科学全册整套教案
- 预科班语文小卷子
- 业务员年度工作总结模板学习与计划
- 职位说明书--质量工程师工作内容描述及任职资格要求
- 小学数学教学中学生情感、态度与价值观的培养
- 小学数学学科教学质量分析报告
- 支座铸造工艺设计
- 高压旋喷桩施工安全技术交底 - 图文
- 精编2007年一级建造师《房屋建筑工程管理实务》真题及答案资料
- 世界现代艺术设计简史个人复习总结
- 饮用水消毒副产物
- MATLAB 课后实验答案
- MPLS协议基础
- 创新与标准化(仅适用于2016年公需课)