v系列存储配置Linux多路径,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 {
# devnode "*" } ## By default, devices with vendor = "IBM" and product = "S/390.*" are ## 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、挂载即可使用
v系列存储配置Linux多路径,linux下san存储多路径软件的配置相关推荐
- aix ds多路径_AIX连接IBM存储 多路径软件常用命令
1. 查看MPIO的存储盘的路径 # lspath (适用于所有存储的MPIO路径查询) # mpio_get_config -Av (适用于DS3K/DS4K的MPIO路径查询) 2. 查看RDAC ...
- Linux下mpio 多路径,Windows原生MPIO存储多路径软件详解与应用
介绍 在Windows Server 2008和Windows Server 2008 R2中开始支持Native Multipathing(MPIO)软件作为操作系统的一个组件存在.EMC旗下的存储 ...
- Linux mint19系統下安装QQ微信通讯软件
第一步:安装deepin-wine环境 在此網站页面下載zip包(deepin-wine-ubuntu-master.zip) 用unzip 命令解壓下載的文件解压到本地文件夹 unzip deepi ...
- win centos php语法,linux(centos5.5)/windows下nginx开启phpinfo模式功能的配置方法分享
经过志文工作室测试有效的相关配置主要内容如下: location ~ \.php(.*)$ { fastcgi_pass unix:/tmp/php-cgi.sock; fastcgi_index ...
- linux下php的安装路径,Linux下Apache、PHP、MySQL默认安装路径
Apache: 如果采用RPM包安装,安装路径应在 /etc/httpd 目录下 Apache配置文件:/etc/httpd/conf/httpd.conf Apache模块路径:/usr/sbin/ ...
- linux下设定动态库路径的命令-error while loading shared libraries: xxx.so.x错误的原因和解决办法
网站:http://blog.chinaunix.net/uid-26212859-id-3256667.html 一般我们在Linux下执行某些外部程序的时候可能会提示找不到共享库的错误, 比如: ...
- Linux下:文件与路径、用户管理、常用命令、vim
文章目录 第一章: Linux文件与路径 1.1 文件结构 1.2 基本概念 1.3 基本命令信息 1.3.1 查看linux 系统信息(修改主机名) 1.3.2 ls 1.3.3 cd/pwd 1. ...
- linux怎么获取当前路径,linux 下获取当前工作路径的实例
获取工作路径这里介绍两种方法: 1.使用getcwd()函数. 头文件:#include 定义函数:char * getcwd(char * buf, size_t size); 函数说明:getcw ...
- linux看php安装路径,linux下查找php安装路径的方法是什么
linux下查找php安装路径的方法是什么 发布时间:2020-09-01 16:06:19 来源:亿速云 阅读:72 作者:小新 这篇文章主要介绍了linux下查找php安装路径的方法是什么,具有一 ...
最新文章
- How Tomcat works — 四、tomcat启动(3)
- archlinux 开机自动连接wifi
- 【Latex】怎么写中文?
- C++Builder中使用Pas文件
- Git----分支管理之分支管理策略04
- mysql临时表数量_MySQL部分从库上面因为大量的临时表tmp_table造成慢查询
- 为什么vue-loader设置transformasseturls无效_拓展训练中“常见的无效提问”
- 【论文写作】综述论文的六个写作模版
- React Native 运行环境安装:0.6以下/以上版本的 新老项目 都适用
- Kubernetes 小白学习笔记(17)--集群安全-APIServer的安全模型
- 正则修饰符、用敏感词库替换
- Sakai 20.0 部署
- 树莓派使用433Mhz射频无线收发
- js特效--移动的广告窗
- shopnc mysql_(转) shopnc数据库操作
- html显示汉字音调,汉语拼音音调符号标法的规则
- 商户注册和资质申请的业务流程
- 微分中值定理及其应用——(不定式极限洛必达法则)
- 对计算机知识的掌握,计算机操作基本知识
- MyBatis基础学习知识点2