深入了解Oracle ASMLIB:操作、故障排除与实例创建
1. 重命名ASM磁盘
在重命名ASM磁盘时,需要注意必须在ASM实例关闭时进行操作,否则有数据损坏的风险。多数管理员首先会使用 renamedisk 选项来尝试重命名磁盘,但该操作通常会失败,并提示使用 force-renamedisk 命令。示例如下:
# /etc/init.d/oracleasm force-renamedisk /dev/raw/raw1 data1
asmtool: Unable to open device "/dev/raw/raw1": Block device required
Renaming disk "/dev/raw/raw1" to "DATA1": [FAILED]
$ sudo /etc/init.d/oracleasm renamedisk /dev/sdc4 FRA_1
WARNING: Changing the label of an disk marked for ASM is a very dangerous
operation. If this is really what you mean to do, you must
ensure that all Oracle and ASM instances have ceased using
this disk. Otherwis
超级会员免费看
订阅专栏 解锁全文
3311

被折叠的 条评论
为什么被折叠?



