LinuxQuestions.org
Share your knowledge at the LQ Wiki.
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 09:11 PM.

Main Menu
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
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration