Problem in SVM after live upgrade


 
Thread Tools Search this Thread
Operating Systems Solaris Problem in SVM after live upgrade
# 1  
Old 10-17-2012
Problem in SVM after live upgrade

Hi
I am new to live upgrade.
I would like to tell you about my new setup, where my boot disk(c0d0) is mirrored with secondary disk(c0d1). I have remove the secondary whole disk(C0d1) from the mirror, so that I can do live upgrade on this secondary disk.
I have done live upgrade on s0 partition of c0d1 disk & install the latest patch cluster on it for this I have created a new BE called newliveupg-env. I have booted my system from it after implmenting latest patch cluster on it.
My Problem is that after boot from newliveupg-env(c0d1s0). I wanted to mirror secondary disk( having latest kernal patch & New BE) with primary disk ( having old kernal patch set ). After this my c0d1s0(secondary disk's slice0) become primary disk slice & vice versa for S0 partition on c0d0s0 as I have not touch the other two partition(having applications) on c0d0 disk.
After booting from newliveupg-env(c0d1s0), when I run the metastat command, it is showing(c0d0 disk is under SVM control. Please find the output below.
Now please let me know how do I proceed from here to do above process.


Code:
bash-3.2# lustatus
Boot Environment           Is       Active Active    Can    Copy
Name                       Complete Now    On Reboot Delete Status
-------------------------- -------- ------ --------- ------ ----------
c0d0s0                     yes      no     no        yes    -
newliveupg-env             yes      yes    yes       no     -
bash-3.2#
bash-3.2#
bash-3.2# uname -a
SunOS sunvm 5.10 Generic_147441-01 i86pc i386 i86pc
bash-3.2#
bash-3.2# metadb
        flags           first blk       block count
     a m  pc luo        16              8192            /dev/dsk/c0d0s5
     a    pc luo        8208            8192            /dev/dsk/c0d0s5
     a    pc luo        16400           8192            /dev/dsk/c0d0s5
bash-3.2#
bash-3.2# metastat -c
d30              m  5.4GB d31
    d31          s  5.4GB c0d0s7
d20              m  517MB d21
    d21          s  517MB c0d0s1
d10              m  5.9GB d11
    d11          s  5.9GB c0d0s0
bash-3.2#
bash-3.2#
bash-3.2#
bash-3.2# echo|format
Searching for disks...done

AVAILABLE DISK SELECTIONS:
       0. c0d0 <DEFAULT cyl 1563 alt 2 hd 255 sec 63>
          /pci@0,0/pci-ide@7,1/ide@0/cmdk@0,0
       1. c0d1 <DEFAULT cyl 1563 alt 2 hd 255 sec 63>
          /pci@0,0/pci-ide@7,1/ide@0/cmdk@1,0
       2. c2t0d0 <DEFAULT cyl 1171 alt 2 hd 255 sec 63>
          /pci@0,0/pci15ad,1976@10/sd@0,0
Specify disk (enter its number): Specify disk (enter its number):
bash-3.2#
bash-3.2#
bash-3.2#


Last edited by Scott; 10-17-2012 at 10:13 AM.. Reason: Use code tags, please...
# 2  
Old 10-17-2012
Post output of:
Code:
df /

# 3  
Old 10-17-2012
Please find the output

Code:
bash-3.2# uname -a
SunOS sunvm 5.10 Generic_147441-01 i86pc i386 i86pc
bash-3.2#
bash-3.2# df /
/                  (/dev/dsk/c0d1s0   ): 1875718 blocks   545592 files
bash-3.2# df -h
Filesystem             size   used  avail capacity  Mounted on
/dev/dsk/c0d1s0        5.8G   4.9G   857M    86%    /
/devices                 0K     0K     0K     0%    /devices
ctfs                     0K     0K     0K     0%    /system/contract
proc                     0K     0K     0K     0%    /proc
mnttab                   0K     0K     0K     0%    /etc/mnttab
swap                   569M   992K   568M     1%    /etc/svc/volatile
objfs                    0K     0K     0K     0%    /system/object
sharefs                  0K     0K     0K     0%    /etc/dfs/sharetab
/usr/lib/libc/libc_hwcap1.so.1
                       5.8G   4.9G   857M    86%    /lib/libc.so.1
fd                       0K     0K     0K     0%    /dev/fd
swap                   568M    40K   568M     1%    /tmp
swap                   568M    32K   568M     1%    /var/run
bash-3.2#
bash-3.2#
bash-3.2# metastat -c
d30              m  5.4GB d31
    d31          s  5.4GB c0d0s7
d20              m  517MB d21
    d21          s  517MB c0d0s1
d10              m  5.9GB d11
    d11          s  5.9GB c0d0s0
bash-3.2#
bash-3.2# metadb
^[[A    flags           first blk       block count
     a m  pc luo        16              8192            /dev/dsk/c0d0s5
     a    pc luo        8208            8192            /dev/dsk/c0d0s5
     a    pc luo        16400           8192            /dev/dsk/c0d0s5
bash-3.2#


Last edited by Scott; 10-17-2012 at 12:49 PM.. Reason: Code tags...
# 4  
Old 10-17-2012
So you just have to mirror current disk. First remove old boot environment (ludelete), then follow those instructions: Example?Creating a Mirror From root (/) (Solaris Volume Manager Administration Guide)
This User Gave Thanks to bartus11 For This Post:
Login or Register to Ask a Question

Previous Thread | Next Thread

9 More Discussions You Might Find Interesting

1. Solaris

Patching using live upgrade - with non-globalzone

Hi all, I would like to ask what will be the best practice for the following setup / - c0t0d0s0 - current BE (named First) / - c0t0d1s0 - alternate BE (name Second) i have a non-global zone with zonepath in /zones/myzone /mnt/opt - c0t0d2s6 (shared between the 2 BE)... (3 Replies)
Discussion started by: javanoob
3 Replies

2. Solaris

Powerpath upgrade with SVM disksets

Hi all I am running the following hardware: 2 SUN Solaris 10 machines They are connected to EMC clarion LUNs We are running a Sun Cluster 3.2 managing both nodes We are using Solaris Volume Manager to handle the shared storage for the cluster. It is using a number of named disk sets that is... (0 Replies)
Discussion started by: abohmeed
0 Replies

3. Solaris

Live upgrade first steps

Hello Guys, I am a little confused about the first step in the live upgrade process. I will be glad if someone can clarify this for me. The pre-live upgrade patch, when do you add this patch to the OS you want to upgrade? 1. before creating the new boot environment? or 2. after creating... (1 Reply)
Discussion started by: cjashu
1 Replies

4. Solaris

Live upgrade query

Hi All, Is it possible to use external san disk for creating alternate boot environment and boot from it.My root disk is about 70 gb and i want to use external san disk for 272gb to create alternate boot environment.If this is possible can you please redirect me some good documents, i had... (1 Reply)
Discussion started by: sahil_shine
1 Replies

5. Emergency UNIX and Linux Support

Live Upgrade Query

I am upgrading Solaris-9 Update-7 to Solaris-9 Update-9 through live upgrade. I am able to create another boot environment and have OS DVD inside server. But i am confused for, what command/path should I give for luupgrade. OS DVD is mounted on /mnt Boot environments are Solaris9old (Active now)... (2 Replies)
Discussion started by: solaris_1977
2 Replies

6. Solaris

Live Upgrade Issue

I tried a live upgrade for one my solaris 10u8 server which didnt go sucessfull and after that i now have following mounts in memory. df: cannot statvfs /.alt.sol10u8_2/var: No such file or directory df: cannot statvfs /.alt.sol10u8_2/var/run: No such file or directory df: cannot statvfs... (0 Replies)
Discussion started by: fugitive
0 Replies

7. Solaris

Live upgrade question

I want to basically update an ABE that someone created a few months back. I'm sure stuff has changed since it was made, and I was going to delete it and create a new one. But from what I'm looking at, the lumake appears like it would be a faster approach. I want to use live upgrade to... (0 Replies)
Discussion started by: BG_JrAdmin
0 Replies

8. Solaris

Problem with live upgrade creation: Telling me metadevices do not exist

Hi I am having a problem creating my live upgrade environment. Here is the error I get: root@server:/# lucreate -c SOL10_18May -n SOL10_19May -z /lu_excludelist -m /:dev/md/dsk/d0:ufs -m /var:/dev/md/dsk/d4:ufs -m /export/home:/dev/md/dsk/d6:ufs -m -:/dev/md/dsk/d3:swap -C... (0 Replies)
Discussion started by: notreallyhere
0 Replies

9. Solaris

Live upgrade Issue

Hi, I upgraded solaris 10 x86 from update 3 to update 7 with zones installed n UFS file system . The global zone was updated but the non global zone still shows update 3 what could be the reason for this and how can i update the local zones to update 7 (0 Replies)
Discussion started by: fugitive
0 Replies
Login or Register to Ask a Question