Multipath+UDEV在线扩容ASM

本文详细介绍了在Linux环境下,如何利用Multipath设备管理和UDEV规则进行Oracle Automatic Storage Management (ASM)的在线扩容操作。通过调整硬盘配置,确保业务连续性的同时,实现ASM磁盘组的无缝扩展。
摘要由CSDN通过智能技术生成
Multipath+UDEV在线扩容ASM

# 1、两台主机分别扫描SCSI总线,识别添加的磁盘
for h in $( ls /sys/class/scsi_host/ | awk -F"host" '{print $2}'| sort -n); do echo "- - -" >/sys/class/scsi_host/host$h/scan; done

# 2、两台主机分别获取wwid并修改multipath配置
# 获取wwid
/usr/lib/udev/scsi_id -g -u /dev/mapper/XXX
Disk /dev/mapper/mpathp: 536.9 GB, 536870912000 bytes, 1048576000 sectors
wwid:3694b27110033ceef80d733b00000000d
Disk /dev/mapper/mpathq: 536.9 GB, 536870912000 bytes, 1048576000 sectors
wwid:3694b27110033ceef80d95a8f00000010
Disk /dev/mapper/mpathr: 536.9 GB, 536870912000 bytes, 1048576000 sectors
wwid:3694b27110033ceef80d72a7a0000000c

Disk /dev/mapper/mpaths: 536.9 GB, 536870912000 bytes, 1048576000 sectors
wwid:3694b27110033ceef80d964ad00000011

WARNING: fdisk GPT support is currently new, and therefore in an experimental phase. Use at your own discretion.
Disk /dev/mapper/mpathp: 536.9 GB, 536870912000 bytes, 1048576000 sectors
wwid:3694b27110033ceef80d733b00000000d
WARNING: fdisk GPT support is currently new, and therefore in an experimental phase. Use at your own discretion.
Disk /dev/mapper/mpathq: 536.9 GB, 536870912000 bytes, 1048576000 sectors
wwid:3694b27110033ceef80d95a8f00000010
WARNING: fdisk GPT support is currently new, and therefore in
  • 0
    点赞
  • 0
    收藏
    觉得还不错? 一键收藏
  • 0
    评论
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值