DRD - disk removal

HP-UX、Linux、Tru64 UNIX、NonStop、OpenVMS、Windows Server等,数据中心、虚拟化方案等

版主: xyevolve

版面规则
1. 本版是定位于惠普软件系统及解决方案的技术讨论区。
2. 本版鼓励发帖共同讨论技术问题,不鼓励站内信件私下交流,独知知不如众知知。
3. 本版允许转贴或引用他人的作品,但必须声明原作者信息。
4. 本版禁止发表出售、求购、或其他非技术讨论等帖子。
5. 本版禁止灌水,包括但不限于任何与所讨论主题无关的回复,无意义字符,直接复制其他回复等。
6. 本站附件禁止用于商业目的,请在下载后24小时内删除,本站不对其造成的结果负任何责任。
回复
SYSTEM
网站编辑
帖子: 265
注册时间: 2012年 2月 20日 15:45 星期一

DRD - disk removal

帖子 SYSTEM » 2013年 5月 18日 00:25 星期六

Jon 写了:I have a host where the source disk and destination disk for DRD are no longer valid (old array).
Drd status shows the old LUNS.
How can I alter this…..?
I do not want to do a full clone source and target to alter which they are.
If I do a drd clone preview will this alter the source and target shown and most importantly, will this command run quickly.

The manual on drd disk removal talks of VxVM – which is not used only and rehosting – which I don’t want.

Please help.

SYSTEM
网站编辑
帖子: 265
注册时间: 2012年 2月 20日 15:45 星期一

Re: DRD - disk removal

帖子 SYSTEM » 2013年 5月 18日 00:27 星期六

Dennis 写了:If you mean that you want to remove the original DRD configuration then simply:-

代码: 全选

# mv /var/opt/drd/registry/registry.xml /var/opt/drd/registry/registry.xml.orig 

SYSTEM
网站编辑
帖子: 265
注册时间: 2012年 2月 20日 15:45 星期一

Re: DRD - disk removal

帖子 SYSTEM » 2013年 5月 18日 00:28 星期六

Dusan 写了:Hello, one other way to “clean up” is DRD (good to learn new “tricks”):

代码: 全选

# lvrmboot -s drd00
Volume Group configuration for /dev/drd00 has been saved in /etc/lvmconf/drd00.conf

# lvremove -f /dev/drd00/lvol2
Logical volume "/dev/drd00/lvol2" has been successfully removed.
Volume Group configuration for /dev/drd00 has been saved in /etc/lvmconf/drd00.conf

# lvrmboot -d lvol3 /dev/drd00
Volume Group configuration for /dev/drd00 has been saved in /etc/lvmconf/drd00.conf

# lvremove -f /dev/drd00/lvol3
Logical volume "/dev/drd00/lvol3" has been successfully removed.
Volume Group configuration for /dev/drd00 has been saved in /etc/lvmconf/drd00.conf

# lvrmboot -r drd00
Volume Group configuration for /dev/drd00 has been saved in /etc/lvmconf/drd00.conf

# lvremove -f /dev/drd00/lvol4
Logical volume "/dev/drd00/lvol4" has been successfully removed.
Volume Group configuration for /dev/drd00 has been saved in /etc/lvmconf/drd00.conf

…

# vgremove drd00
Volume group "drd00" has been successfully removed.

回复