LinuxQuestions.org
Visit Jeremy's Blog.
Go Back   LinuxQuestions.org > Linux Answers > Applications / GUI / Multimedia
User Name
Password

Notices


By unixnerd at 2006-10-02 07:59
In this scenario disk to be replaced is rootmirror(VM disk)

1.
Code:
vxprint -ht | grep rootmirror
Disassociate and then remove all of the operating system plexes on the
mirror device "rootmirror":

2.
Code:
vxplex -g rootdg -o rm dis home-02 opt-02 rootvol-02 swapvol-02 var-02
After removing all plexes remove the disk from Veritas control:

3.
Code:
vxdg -g rootdg rmdisk rootmirror
After the engg replaces the disk, issue this :

4.
Code:
vxdctl enable
5.
Code:
/usr/lib/vxvm/bin/vxdisksetup -i c2t8d0
(Initialize the new disk)

6.
Code:
vxdg -g rootdg adddisk rootmirror=c1t1d0
( Put the disk under the VX control)

7.
Code:
/etc/vx/bin/vxrootmir rootmirror
8.
Code:
vxassist mirror home rootmirror - done
    vxassist mirror opt rootmirror - done
    vxassist mirror swapvol rootmirror - done
    vxassist mirror var rootmirror
9.
Code:
vxprint -ht
For more examples, visit http://unixadmintalk.com


  



All times are GMT -5. The time now is 05:20 PM.

Main Menu
Advertisement
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration