LinuxQuestions.org
Visit Jeremy's Blog.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Other *NIX Forums > Solaris / OpenSolaris
User Name
Password
Solaris / OpenSolaris This forum is for the discussion of Solaris, OpenSolaris, OpenIndiana, and illumos.
General Sun, SunOS and Sparc related questions also go here. Any Solaris fork or distribution is welcome.

Notices


Reply
  Search this Thread
Old 10-02-2006, 07:40 AM   #1
unixnerd
LQ Newbie
 
Registered: Jan 2006
Posts: 6

Rep: Reputation: 0
Breaking a mirrored disk for replacement which is under Veritas control


I am just a beginner in vxvm stuff. I just prepared some steps to
replace a mirrored disk which is under veritas control without using
the vxdiskadm menu based command.I want some one to advise whether the
below steps are correct as i am not sure whether it leaves state
information about the disks stale in the vxvm config database if i
proceed like this .

In this scenario disk to be replaced is rootmirror(VM disk)

1.vxprint -ht | grep rootmirror

Disassociate and then remove all of the operating system plexes on the
mirror device "rootmirror":

2.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.vxdg -g rootdg rmdisk rootmirror

4.vxdisk rm c1t1d0s2

After the engg replaces the disk, issue this :

5. vxdctl enable

6./usr/lib/vxvm/bin/vxdisksetup -i c2t8d0 (Initialize the new disk)

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

8./etc/vx/bin/vxrootmir rootmirror

9.vxassist mirror home rootmirror - done
vxassist mirror opt rootmirror - done
vxassist mirror swapvol rootmirror - done
vxassist mirror var rootmirror

10.vxprint -ht

Your comments are really appreciated.

Last edited by unixnerd; 10-02-2006 at 03:02 PM.
 
Old 10-03-2006, 11:30 AM   #2
unixnerd
LQ Newbie
 
Registered: Jan 2006
Posts: 6

Original Poster
Rep: Reputation: 0
An update!

An update - These steps where executed successfully without any issues.
 
  


Reply

Tags
solaris, veritas



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Solaris hard disk mirrored DarReNz Solaris / OpenSolaris 3 06-16-2006 10:14 AM
Hard Disk replacement vsraju Linux - Enterprise 1 06-02-2006 01:36 AM
Install replacement disk with dual boot Schrod Linux - Hardware 4 09-22-2005 02:28 PM
breaking the hardware mirrored disk space pudhiyavan Linux - Hardware 2 08-24-2005 08:39 PM
IBM TP A22m HARD DISK REPLACEMENT!!! zepplin611 Linux - Hardware 3 02-03-2004 02:20 AM

LinuxQuestions.org > Forums > Other *NIX Forums > Solaris / OpenSolaris

All times are GMT -5. The time now is 01:32 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
Open Source Consulting | Domain Registration