Sponsored Content
Operating Systems Solaris Undo the Veritas mirroring and update from Solaris 8 to Solaris 10 Post 302390157 by SmartAntz on Wednesday 27th of January 2010 04:20:31 AM
Old 01-27-2010
Undo the Veritas mirroring and update from Solaris 8 to Solaris 10

Hi all

I wish to undo the mirroring for root and update the Solaris version from 8 to 10. Since i am lack of knowledge and experience on this, hope you all can help me double check the step and correct me.

Existing disk groups details
Code:
root@leo # vxdg list
NAME         STATE           ID
rootdg       enabled              1118297081.6.leo1

root@leo # vxdg list rootdg
Group:     rootdg
dgid:      1118297081.6.leo1
import-id: 0.1
flags:
version:   110
alignment: 512 (bytes)
ssb:            on
detach-policy: global
copies:    nconfig=default nlog=default
config:    seqno=0.1204 permlen=30015 free=30005 templen=7 loglen=4547
config disk c1t0d0s2 copy 1 len=30015 state=clean online
config disk c1t1d0s2 copy 1 len=30015 state=clean online
log disk c1t0d0s2 copy 1 len=4547
log disk c1t1d0s2 copy 1 len=4547


root@leo # vxprint
Disk group: rootdg

TY NAME         ASSOC        KSTATE   LENGTH   PLOFFS   STATE    TUTIL0  PUTIL0
dg rootdg       rootdg       -        -        -        -        -       -

dm rootdg01     c1t0d0s2     -        286698623 -       -        -       -
dm rootdg02     c1t1d0s2     -        286657920 -       -        -       -

sd rootdg01Priv -            ENABLED  40703    -        -        -       PRIVATE

v  rootvol      root         ENABLED  237528192 -       ACTIVE   -       -
pl rootvol-01   rootvol      ENABLED  237528192 -       ACTIVE   -       -
sd rootdg01-B0  rootvol-01   ENABLED  1        0        -        -       Block0
sd rootdg01-02  rootvol-01   ENABLED  237528191 1       -        -       -
pl rootvol-02   rootvol      ENABLED  237528192 -       ACTIVE   -       -
sd rootdg02-01  rootvol-02   ENABLED  237528192 0       -        -       -

v  swapvol      swap         ENABLED  49129728 -        ACTIVE   -       -
pl swapvol-01   swapvol      ENABLED  49129728 -        ACTIVE   -       -
sd rootdg01-01  swapvol-01   ENABLED  49129728 0        -        -       -
pl swapvol-02   swapvol      ENABLED  49129728 -        ACTIVE   -       -
sd rootdg02-02  swapvol-02   ENABLED  49129728 0        -        -       -

If i wish to undo this mirroring, is it the below step correct? Kindly advise
Code:
# vxdg rmdisk rootdg02
# vxdisk rm c1t1d0s2 
# vxdg destroy rootdg

Smilie

Last edited by SmartAntz; 01-27-2010 at 05:26 AM..
 

9 More Discussions You Might Find Interesting

1. Solaris

Solaris mirroring / non-root disk

Hi Guys, Need to add 2 disks into a JBOD array (3310). Does anyone see anything wrong with my Procedure / Doco below? 1> Logon to system, check system logs for abnormal entries. 2> Make backups of related system files: A>cp -p /etc/system /etc/system.backup.081505 B>cp -p /etc/vfstab... (3 Replies)
Discussion started by: BG_JrAdmin
3 Replies

2. UNIX for Advanced & Expert Users

Solaris 8 disk/mirroring issue

Hello! I recently inherited system administration duties for a SUN v880 box. The system has 6 physical hard disks.. In doing some basic maintenance, I found they're configured for mirroring. I ran the metastat and metadb commands, and many of the mirrors are showing they are in need of... (5 Replies)
Discussion started by: ghuber
5 Replies

3. Solaris

Disk Mirroring for Solaris 10 x86

I am having an issue with setting up disk mirroring for Solaris 10 on an x86 server. My main problem is that the volumes and slices have already been setup and our proprietary software has already been installed and configured. The entire drive has been allocated in this configuration and the... (2 Replies)
Discussion started by: chuck43
2 Replies

4. Solaris

Solaris 10 Disk Mirroring

Has anyone managed to set up disk mirroring in Solaris 10 yet? If so can you point me in the direction of some useful documentation please. Cheers (25 Replies)
Discussion started by: korfnz
25 Replies

5. Solaris

Disk Mirroring on solaris 5.8

Hi Friends, I am having Sun Solaris 5.8 OS installed having 2 different size hard disk, sizes are c0t0d0s0(160 GB) and c0t2d0s0 (40GB). I have installed Sun Solaris 5.8 OS in c0t0d0s0 (160GB) harddisk. I have configured all the parameters required for disk mirroring. But when executing... (4 Replies)
Discussion started by: Vijayakumarpc
4 Replies

6. Solaris

Mirroring Solaris

Hi, I'm trying to setup mirroring, but i get an error. what have done is. prtvtoc /dev/rdsk/c1t0d0s2 | fmthard -s - /dev/rdsk/c1t1d0s2 Then i created the metadb. metadb -a -f c1t0d0s7 c1t1d0s7 now i wan't to metainit. metainit -f d11 1 1 c1t0d0s0 metainit -f d12 1 1... (4 Replies)
Discussion started by: jld
4 Replies

7. Solaris

root disk mirroring in solaris volume manager for solaris 10

Need a procedure document to do "root disk mirroring in solaris volume manager for solaris 10". I hope some one will help me asap. I need to do it production environment. Let me know if you need any deatils on this. Thanks, Rama (1 Reply)
Discussion started by: ramareddi16
1 Replies

8. Solaris

Solaris Mirroring/Hotspare Issue

Hi Guys, I have an issue with my Hotspares/Metastat on an x4270m2. I have no hotspares available, when i printed out my metastat i got d21: Concat/Stripe Size: 33559785 blocks (16 GB) Stripe 0: Device Start Block Dbase Reloc ... (0 Replies)
Discussion started by: A-Train
0 Replies

9. Solaris

Root disk mirroring in Solaris 10

I would like to perform root disk mirroring task. Can someone please help me out on this. Thanks !! Regards, Rama (2 Replies)
Discussion started by: ramagore85
2 Replies
vximportdg(1M)															    vximportdg(1M)

NAME
vximportdg - import a disk group into the Veritas Volume Manager configuration SYNOPSIS
vximportdg daname new_dgname DESCRIPTION
The vximportdg utility performs a temporary import of the disk group contained on the disk device specified by daname to the disk group specified by new_dgname. As the persistent disk group information is not changed within the private partition of the affected disk, the import is only valid for the duration of the bootload or until a vxdg deport is performed. ARGUMENTS
daname Specifies the device name (disk access name) of one of the member disks of the disk group to be imported. The other members are imported automatically. new_dgname Specifies the disk group to be imported. USAGE
One reason to use the vximportdg utility is to import a second generation of the rootdg disk group so that its objects are available for use while a system is running on a different rootdg. To prevent volumes on the second generation rootdg from having the same device minor numbers as volumes (such as rootvol) on the active rootdg, the importation assigns temporary non-conflicting device minor numbers. If this occurs, vximportdg outputs warning messages detailing the mapping of the minor numbers. SEE ALSO
vxdg(1M) VxVM 5.0.31.1 24 Mar 2008 vximportdg(1M)
All times are GMT -4. The time now is 11:20 AM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy