| Notices |
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
Are you new to LinuxQuestions.org? Visit the following links:
Site Howto |
Site FAQ |
Sitemap |
Register Now
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
|
|
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. 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. For more examples, visit http://unixadmintalk.com
|
|
All times are GMT -5. The time now is 04:12 PM.
|