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
volrootmir(8)						      System Manager's Manual						     volrootmir(8)

NAME
volrootmir - Mirror areas necessary for booting to a new disk SYNOPSIS
/usr/sbin/volrootmir [-a] [nconfig=count] target_disk [swap=target_partition] OPTIONS
Specifies that all volumes on the system disk be mirrored, not just the root and swap volumes, rootvol and swapvol. DESCRIPTION
The volrootmir script causes a mirror copy of areas of the root disk involved in booting to be made on the specified target disk. When used without the -a option, volrootmir adds mirrors of the root and swap volumes and allocates them on the new disk. In addition, all disk regions required for booting are set up and partitions for the new volume mirrors are created. When used with the -a option, volrootmir mirrors all in-use partitions on the system disk. To mirror a swap volume that is on a separate disk from the root volume, the swap attribute must be used to specify a separate target for the swap mirror. The target disk(s) must be at least as large as the sum of the sizes of rootvol and swapvol. Also, the physical disk should not have any disk partition in use. This script can be called from the voldiskadm menus by choosing the Mirror volumes on a disk operation. ATTRIBUTES
Specifies the number of log copies and copies of the configuration database, for example, nconfig=2. Specifies that the swap volume, swapvol, be mirrored on a separate disk, as specified by target_partition. EXAMPLES
The following command mirrors the rootvol and swapvol volumes onto the target disk, dsk3. This command will fail if swapvol is on a differ- ent disk from rootvol. # volrootmir dsk3 The following command mirrors rootvol, swapvol, and any other volumes on the root disk onto the target disk, dsk3. This command will fail if swapvol is on a different disk from rootvol. # volrootmir -a dsk3 The following command mirrors rootvol on disk dsk3, swapvol onto partition dsk7d, and any other volumes on the root disk onto disk dsk3. This command will fail if swapvol is on the same disk as rootvol. # volrootmir -a dsk3 swap=dsk7d The following command mirrors rootvol onto disk dsk3 and swapvol onto partition dsk7d. This command will fail if swapvol is on the same disk as rootvol. # volrootmir dsk3 swap=dsk7d SEE ALSO
volintro(8), voldiskadm(8) volrootmir(8)
All times are GMT -4. The time now is 01:44 PM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy