Loading... <p>Ubuntu 的存储多路径配置和redhat基本类似,大体如下</p><ol><li><p>安装multipath-tool<br /> apt-get install multipath-tools</p></li><li><p>编辑multipath.conf<br />vim /etc/multipath.conf</p></li></ol><p>修改内容如下<br />defaults {polling_interval 30failback immediateno_path_retry 5rr_min_io 100path_checker turuser_friendly_names yes}<br />3.重启服务</p><p>/etc/init.d/multipath-tools restart</p><ol><li><p>查看路径</p></li><li><p>-l</p></li></ol><p>如下<br />IBM-2145 (360050768019101ca2800000000000031) dm-4 IBM,2145size=2.0T[hwhandler=0]_ round-robin 0 prio=0_ 3:0:0:0 sdb 8:16 failed_ round-robin 0 prio=0_ 3:0:1:0 sdc 8:32 failed</p><ol><li><p>以上完成,就可以在/dev/目录发现dm-0类似的设备,然后就可以使用fdisk或者parted进行分区操作了。<br /> </p></li></ol> Last modification:October 6, 2023 © Allow specification reprint Support Appreciate the author AliPayWeChat Like 如果觉得我的文章对你有用,请随意赞赏
One comment
技术流