分页: 1 / 1
DRD - disk removal
发表于 : 2013年 5月 18日 00:25 星期六
由 SYSTEM
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.
Re: DRD - disk removal
发表于 : 2013年 5月 18日 00:27 星期六
由 SYSTEM
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
Re: DRD - disk removal
发表于 : 2013年 5月 18日 00:28 星期六
由 SYSTEM
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.