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
vxbootsetup(1M) 														   vxbootsetup(1M)

NAME
vxbootsetup - set up system boot information on a Veritas Volume Manager disk SYNOPSIS
/etc/vx/bin/vxbootsetup [-g diskgroup] [medianame ... ] DESCRIPTION
The vxbootsetup utility configures physical disks so that they can be used to boot the system. Before vxbootsetup is called to configure a disk, the required volumes, standvol, rootvol and swapvol (and optionally, dumpvol) must be created on the disk. All of these volumes must be contiguous with only one subdisk. The -g option may be used to specify the boot disk group. If no medianame arguments are specified, all disks that contain usable mirrors of the root, swap, /usr and /var volumes are configured to be bootable. If medianame arguments are given, only the disks that are associated with the specified disk names are configured to be bootable. vxbootsetup requires that: o The root volume must be named rootvol and must have a usage type of root. o The swap volume must be named swapvol and must have a usage type of swap. o The volumes containing /usr and /var (if any) must be named usr and var, respectively. See the chapter "Recovery from Boot Disk Failure" in the Veritas Volume Manager Troubleshooting Guide for detailed information on how the system boots and how VxVM impacts the system boot process. The vxmirror, vxrootmir, and vxresize utilities call vxbootsetup automatically. If you use vxassist, or vxmake and vxplex to create mirrors of the root volume on a disk, you must run vxbootsetup explicitly to make the disk bootable. ARGUMENTS
medianame Specifies the disk name (disk media name) of a VM disk that is to be configured as bootable. SEE ALSO
disksetup(1M), edvtoc(1M), vxassist(1M), vxevac(1M), vxinstall(1M), vxintro(1M), vxmake(1M), vxmirror(1M), vxplex(1M), vxresize(1M), vxrootmir(1M) Veritas Volume Manager Troubleshooting Guide VxVM 5.0.31.1 24 Mar 2008 vxbootsetup(1M)
All times are GMT -4. The time now is 06:48 AM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy