日韩性视频-久久久蜜桃-www中文字幕-在线中文字幕av-亚洲欧美一区二区三区四区-撸久久-香蕉视频一区-久久无码精品丰满人妻-国产高潮av-激情福利社-日韩av网址大全-国产精品久久999-日本五十路在线-性欧美在线-久久99精品波多结衣一区-男女午夜免费视频-黑人极品ⅴideos精品欧美棵-人人妻人人澡人人爽精品欧美一区-日韩一区在线看-欧美a级在线免费观看

歡迎訪問 生活随笔!

生活随笔

當(dāng)前位置: 首頁 > 运维知识 > linux >内容正文

linux

v系列存储配置Linux多路径,linux下san存储多路径软件的配置

發(fā)布時(shí)間:2025/3/20 linux 29 豆豆
生活随笔 收集整理的這篇文章主要介紹了 v系列存储配置Linux多路径,linux下san存储多路径软件的配置 小編覺得挺不錯(cuò)的,現(xiàn)在分享給大家,幫大家做個(gè)參考.

linux下,san存儲(chǔ)多路徑軟件的配置

1、使用 ntsysv 命令

將mulitipath服務(wù)開啟

multipathd

2、啟動(dòng)該服務(wù)

[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 刪除現(xiàn)有路徑 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、掛載即可使用

總結(jié)

以上是生活随笔為你收集整理的v系列存储配置Linux多路径,linux下san存储多路径软件的配置的全部?jī)?nèi)容,希望文章能夠幫你解決所遇到的問題。

如果覺得生活随笔網(wǎng)站內(nèi)容還不錯(cuò),歡迎將生活随笔推薦給好友。